73 lines
1.8 KiB
RPMSpec
73 lines
1.8 KiB
RPMSpec
Name: libxcrypt
|
|
Version: 4.4.36
|
|
Release: 1mamba
|
|
Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/besser82/libxcrypt
|
|
Source: https://github.com/besser82/libxcrypt.git/v%{version}/libxcrypt-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
Extended crypt library for descrypt, md5crypt, bcrypt, and others.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libcrypt.so.*
|
|
%{_libdir}/libowcrypt.so.*
|
|
%doc AUTHORS COPYING.LIB THANKS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/crypt.h
|
|
%{_includedir}/xcrypt.h
|
|
%{_libdir}/libcrypt.a
|
|
%{_libdir}/libcrypt.so
|
|
%{_libdir}/libowcrypt.a
|
|
%{_libdir}/libowcrypt.so
|
|
%{_libdir}/libxcrypt.a
|
|
%{_libdir}/libxcrypt.so
|
|
%{_libdir}/pkgconfig/libcrypt.pc
|
|
%{_libdir}/pkgconfig/libxcrypt.pc
|
|
%{_mandir}/man3/crypt*.3*
|
|
%{_mandir}/man5/crypt.5*
|
|
%doc ChangeLog NEWS README README.md TODO
|
|
|
|
%changelog
|
|
* Thu Aug 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.36-1mamba
|
|
- package created using the webbuild interface
|