# SPEC file overview: # https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/#con_rpm-spec-file-overview # Fedora packaging guidelines: # https://docs.fedoraproject.org/en-US/packaging-guidelines/ Name: simplesamlphp Version: 2.5.0 Release: 1.ndias%{?dist} Summary: Application written in native PHP that deals with authentication License: LGPL-2.1-only URL: https://simplesamlphp.org Source0: https://github.com/simplesamlphp/simplesamlphp/releases/download/v%{version}/simplesamlphp-%{version}-full.tar.gz Source1: simplesamlphp-all.txt BuildArch: noarch Requires: php >= 8.3.0, %description The main focus of SimpleSAMLphp is providing support for: SAML 2.0 as a Service Provider (SP) SAML 2.0 as an Identity Provider (IdP) However, it also supports many other identity protocols and frameworks, such as CAS, OpenID Connect, WS-Federation and OAuth, and is easily extendable, so you can develop your own modules if you like. %prep %setup -q %build %install mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}/log mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}/data mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}/cert install -d $RPM_BUILD_ROOT/var/lib find . -name .gitignore -exec rm -f {} \; rm -f modules/sqlauth/phpstan-baseline.neon vendor/simplesamlphp/composer-xmlprovider-installer/classes/.gitkeep vendor/simplesamlphp/xml-common/resources/xml/domdocument_empty.xml sed -i 's/\#\!\/usr\/bin\/env php/\#\!\/usr\/bin\/php/g' vendor/simplesamlphp/saml2/tests/bin/* sed -i 's/\#\!\/usr\/bin\/env php/\#\!\/usr\/bin\/php/g' vendor/simplesamlphp/xml-security/tests/bin/* tar cf - . | (cd $RPM_BUILD_ROOT/var/lib/%{name}; tar xf -) %files -f %{SOURCE1} %doc %license %dir %attr(0755, root, apache) /var/lib/simplesamlphp/config %dir %attr(0755, root,apache) /var/lib/simplesamlphp/metadata %dir %attr(0755, root, apache) /var/lib/simplesamlphp/cert %dir %attr(0755, apache, root) /var/lib/simplesamlphp/log %dir %attr(0755, apache, root) /var/lib/simplesamlphp/data %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/authnrequest.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/encryptedassertion.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/encryptedattribute.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/encryptedid.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/entityattributes.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/logoutrequest.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/signedAuthnrequest.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/signedassertion.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/signedassertion_tampered.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/signedassertion_with_comments.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/signedresponse_with_signedassertion.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/signedresponse_with_unsignedassertion.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/saml2/tests/bin/unsignedresponse_with_signedassertion.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/xml-security/tests/bin/customSignableSigned.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/xml-security/tests/bin/customSignableSignedTampered.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/xml-security/tests/bin/customSignableSignedWithComments.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/xml-security/tests/bin/customSignableSignedWithCommentsAndId.php %attr(0755, -, -) /var/lib/simplesamlphp/vendor/simplesamlphp/xml-security/tests/bin/customSignableSignedWithId.php %changelog * Thu Apr 30 2026 Nuno Dias - 2.5.0-1.ndias - Version 2.5.0