2 Summary: Open source system to enable inter-institutional resource sharing
5 #Copyright: University Corporation for Advanced Internet Development, Inc.
6 Group: System Environment/Libraries
8 URL: http://shibboleth.internet2.edu/
9 Source0: http://wayf.internet2.edu/shibboleth/%{name}-%{version}.tar.gz
10 Source1: http://wayf.internet2.edu/shibboleth/%{name}-%{version}.tar.gz.asc
11 BuildRoot: %{_tmppath}/%{name}-%{version}-root
13 BuildRequires: openssl-devel, curl-devel >= 7.10.6, xerces-c-devel >= 2.6.1
14 BuildRequires: xml-security-c-devel >= 1.1.0, log4cpp-devel >= 0.3.5
15 BuildRequires: zlib-devel, opensaml-devel >= 1.1, httpd-devel
18 Shibboleth, a project of Internet2/MACE, is developing architectures,
19 policy structures, practical technologies, and an open source
20 implementation to support inter-institutional sharing of web resources
21 subject to access controls. In addition, Shibboleth will develop a
22 policy framework that will allow inter-operation within the higher
25 This package contains the shibboleth runtime library and apache module.
28 Summary: Shibboleth development Headers
29 Group: Development/Libraries
30 Requires: %{name} = %{version}
33 Shibboleth, a project of Internet2/MACE, is developing architectures,
34 policy structures, practical technologies, and an open source
35 implementation to support inter-institutional sharing of web resources
36 subject to access controls. In addition, Shibboleth will develop a
37 policy framework that will allow inter-operation within the higher
40 This package contains the headers and other necessary files to build
41 applications that use the shibboleth library.
43 %package selinux-policy-targeted
44 Summary: SELinux policy targeted configuration for Shibboleth SP
45 Group: System Environment/Base
46 Requires: selinux-policy-targeted-sources
48 %description selinux-policy-targeted
49 Shibboleth, a project of Internet2/MACE, is developing architectures,
50 policy structures, practical technologies, and an open source
51 implementation to support inter-institutional sharing of web resources
52 subject to access controls. In addition, Shibboleth will develop a
53 policy framework that will allow inter-operation within the higher
56 This package contains the SELinux Policy (source) Configuration to
57 enable the Shibboleth SP to integrate into Apache HTTPD in Red Hat /
58 Fedora's Policy Targeted SELinux implementation. It requires
59 rebuilding your policy, so you must have the policy-targeted-source
66 %configure --enable-apache-20
71 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
74 make install DESTDIR=$RPM_BUILD_ROOT
75 make -C selinux install DESTDIR=$RPM_BUILD_ROOT
76 mv $RPM_BUILD_ROOT/usr/doc/shibboleth _docs
78 find $RPM_BUILD_ROOT/%{_libexecdir} -type f -or -type l | grep \.so |
79 sed -e "s|$RPM_BUILD_ROOT||" | sort > rpm.filelist
85 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
90 # Plug the shibboleth SP into Apache2 on a Red Hat system.
91 [ -d %{_sysconfdir}/httpd/conf.d ] || exit 0
92 [ -f %{_sysconfdir}/httpd/conf.d/shib.conf ] && exit 0
93 cp -p %{_sysconfdir}/shibboleth/apache2.config \
94 %{_sysconfdir}/httpd/conf.d/shib.conf
99 # delete the shibboleth apache configuration if we're being removed
100 [ "$0" = 0 ] || exit 0
101 [ -f %{_sysconfdir}/httpd/conf.d/shib.conf ] && \
102 rm -f %{_sysconfdir}/httpd/conf.d/shib.conf
104 %triggerin selinux-policy-targeted -- %{name}
105 restorecon %{_sbindir}/shibd
107 %triggerin selinux-policy-targeted -- selinux-policy-targeted-sources
108 cd %{_sysconfdir}/selinux/targeted/src/policy || exit 1
112 %files -f rpm.filelist
113 %defattr(-,root,root,-)
114 %doc _docs/CREDITS.txt _docs/InQueue.html _docs/NEWS.txt _docs/logo.jpg
115 %doc _docs/DEPLOY-GUIDE-ORIGIN.html _docs/main.css _docs/README.txt
116 %doc _docs/DEPLOY-GUIDE-TARGET.html _docs/LICENSE.txt _docs/mysql-4.0.12.diff
118 %{_sbindir}/siterefresh
120 %{_libdir}/libshib.so.*
121 %{_libdir}/libshib-target.so.*
122 %dir %{_datadir}/xml/shibboleth
123 %{_datadir}/xml/shibboleth/*.xsd
124 %dir %{_sysconfdir}/shibboleth
125 %config %{_sysconfdir}/shibboleth/*.xml
126 %config %{_sysconfdir}/shibboleth/*.html
127 %config %{_sysconfdir}/shibboleth/*.logger
128 %config %{_sysconfdir}/shibboleth/inqueue.pem
129 %config %{_sysconfdir}/shibboleth/example.crt
130 %config %{_sysconfdir}/shibboleth/example.key
131 %{_sysconfdir}/shibboleth/*.dist
132 %{_sysconfdir}/shibboleth/apache*.config
133 %dir %{_logdir}/shibboleth
135 %exclude %{_bindir}/posttest
136 %exclude %{_bindir}/test-client
137 %exclude %{_libexecdir}/*.la
140 %defattr(-,root,root,-)
142 %{_libdir}/libshib.so
143 %{_libdir}/libshib-target.so
145 %files selinux-policy-targeted
146 %defattr(-,root,root,-)
147 %{_sysconfdir}/selinux/targeted/src/policy/file_contexts/program/*.fc
148 %{_sysconfdir}/selinux/targeted/src/policy/domains/program/*.te
151 * Sun Apr 24 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-1
152 - Updated test programs and location of schemas.
153 - move siterefresh to to sbindir
155 * Fri Apr 1 2005 Derek Atkins <derek@ihtfp.com> - 1.3-1
156 - Add selinux-targeted-policy package
157 - move shar to sbindir
159 * Tue Oct 19 2004 Derek Atkins <derek@ihtfp.com> - 1.2-1
160 - Create SPEC file based on various versions in existence.