libgss/libgss.spec

112 lines
2.8 KiB
RPMSpec
Raw Normal View History

Name: libgss
Version: 1.0.4
Release: 2mamba
Summary: A free implementation of RFC 2743/2744
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/gss/
Source: https://ftp.gnu.org/pub/gnu/gss/gss-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Provides: liblibgss
Obsoletes: liblibgss < 1.0.4
%description
A free implementation of RFC 2743/2744.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: liblibgss-devel
Obsoletes: liblibgss-devel < 1.0.4
%description devel
A free implementation of RFC 2743/2744.
This package contains static libraries and header files needed for development.
%package tools
Group: Applications/Security
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires(post): %{__install_info}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q -n gss-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_infodir}/dir
%find_lang gss
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post tools
%install_info gss.info
:
%preun tools
%uninstall_info gss.info
:
%files
%defattr(-,root,root)
%{_libdir}/libgss.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%dir %{_includedir}/gss
%{_includedir}/gss/*.h
%{_libdir}/libgss.a
%{_libdir}/libgss.so
%{_mandir}/man3/gss*.3*
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README THANKS
%files tools -f gss.lang
%defattr(-,root,root)
%{_bindir}/gss
%{_infodir}/gss.info*
%{_mandir}/man1/gss.1*
%changelog
* Thu Dec 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
- fix for install_info script not being called in -tools subpackage
* Fri Nov 25 2022 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic update by autodist
* Thu Nov 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-3mamba
- added a -tools package and fix previous wrong update shipping liblibgss[-devel]
* Sat Nov 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-2mamba
- moved library to lib* packages
* Mon Oct 27 2014 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
- automatic update by autodist
* Wed Nov 30 2011 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Sun Nov 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- package created by autospec