libgss/libgss.spec

106 lines
2.5 KiB
RPMSpec

Name: libgss
Version: 1.0.3
Release: 3mamba
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: ftp://ftp.gnu.org/pub/gnu/gss/gss-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires(post): %{__install_info}
Provides: liblibgss
Obsoletes: liblibgss
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%description devel
A free implementation of RFC 2743/2744.
This package contains static libraries and header files need for development.
%package tools
Group: Applications/Security
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%prep
%setup -q -n gss-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang gss
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info gss.info
/sbin/ldconfig
exit 0
%preun
%uninstall_info gss.info
/sbin/ldconfig
exit 0
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%dir %{_includedir}/gss
%{_includedir}/gss/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.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.gz
%{_mandir}/man1/gss.1*
%changelog
* 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