fix include dir in pkgconfig files
restore pam-doc and move documentation files from main pam package [release 1.5.2-2mamba;Wed Nov 16 2022]
This commit is contained in:
parent
faee1a04c7
commit
ea080b7f97
42
pam.spec
42
pam.spec
@ -10,13 +10,13 @@
|
||||
|
||||
Name: pam
|
||||
Version: 1.5.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Utilities for monitoring your system and processes on your system
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.linux-pam.org
|
||||
URL: https://github.com/linux-pam/linux-pam
|
||||
Source: https://github.com/linux-pam/linux-pam.git/v%{version}/linux-pam-%{version}.tar.bz2
|
||||
#Source1: pam.conf
|
||||
Source2: pam_other
|
||||
@ -67,7 +67,6 @@ Requires: libpwquality
|
||||
Requires(post): pwdutils
|
||||
Requires(post): setup
|
||||
Requires(post): lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: pam-doc
|
||||
|
||||
%description
|
||||
PAM (Pluggable Authentication Modules) is a system security tool which allows system administrators to set authentication policy without having to recompile programs which do authentication.
|
||||
@ -85,7 +84,7 @@ Summary: Development headers and libraries for pam
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: pam-devel
|
||||
Obsoletes: pam-devel
|
||||
Obsoletes: pam-devel < 1.5.2-2mamba
|
||||
|
||||
%description -n libpam-devel
|
||||
PAM (Pluggable Authentication Modules) is a system security tool which allows system administrators to set authentication policy without having to recompile programs which do authentication.
|
||||
@ -108,14 +107,19 @@ This package contains the documentation files in html, pdf and postscript format
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
# FIXME: disable pdf generation until fop is fixed (since 1.5.2-2mamba)
|
||||
sed -i "s|\[fop\]|[fop_does_not_work]|" configure.ac
|
||||
./autogen.sh
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--includedir=%{_includedir}/security \
|
||||
--disable-prelude \
|
||||
--enable-cracklib \
|
||||
--with-mailspool=/var/mail \
|
||||
--with-db-uniquename=db53
|
||||
--disable-db
|
||||
|
||||
# --with-db-uniquename=db53 \
|
||||
# --enable-both-confs
|
||||
|
||||
%if "%{_host}" != "%{_build}"
|
||||
@ -232,14 +236,13 @@ sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-
|
||||
%{_sbindir}/pam_timestamp_check
|
||||
%{_sbindir}/pwhistory_helper
|
||||
%{_sbindir}/mkhomedir_helper
|
||||
%{_mandir}/*/*
|
||||
%{_docdir}/Linux-PAM/*
|
||||
%{_mandir}/man5/*.5*
|
||||
%{_mandir}/man8/*.8*
|
||||
|
||||
%files -n libpam
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libpam*.so.*
|
||||
%dir %{_libdir}/security
|
||||
%{_libdir}/security/pam*.la
|
||||
%{_libdir}/security/pam*.so
|
||||
%{_libdir}/security/pam_filter/upperLOWER
|
||||
%doc Copyright
|
||||
@ -247,26 +250,21 @@ sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-
|
||||
%files -n libpam-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/security/*.h
|
||||
%{_libdir}/libpam*.la
|
||||
%{_libdir}/libpam*.so
|
||||
%{_libdir}/pkgconfig/pam*.pc
|
||||
%{_mandir}/man3/*.3*
|
||||
%doc CHANGELOG README*
|
||||
|
||||
#%if "%{?bootstrap}" != "1"
|
||||
#%files doc
|
||||
#%defattr(-,root,root)
|
||||
#%dir %{_datadir}/doc/pam
|
||||
#%dir %{_docdir}/pam/html
|
||||
#%{_docdir}/pam/html/*
|
||||
#%dir %{_docdir}/pam/pdf
|
||||
#%{_docdir}/pam/pdf/*
|
||||
#%dir %{_docdir}/pam/ps
|
||||
#%{_docdir}/pam/ps/*
|
||||
#%dir %{_docdir}/pam/text
|
||||
#%{_docdir}/pam/text/*
|
||||
#%endif
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%dir %{_docdir}/Linux-PAM
|
||||
%{_docdir}/Linux-PAM/*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-2mamba
|
||||
- fix include dir in pkgconfig files
|
||||
- restore pam-doc and move documentation files from main pam package
|
||||
|
||||
* Mon Sep 13 2021 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user