libbg/libbg.spec

117 lines
3.0 KiB
RPMSpec

Name: libbg
Version: 2.04
Release: 2mamba
Summary: A collection of libraries used by ucspi-unix
Group: Development/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://untroubled.org/bglibs
Source: http://untroubled.org/bglibs/bglibs-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A collection of libraries used by ucspi-unix.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version}-%{release}
Requires: %{name}-tools = %{version}-%{release}
%description devel
A collection of libraries used by ucspi-unix.
This package contains static libraries and header files needed for development.
%package tools
Group: System/Tools
Summary: Tools for %{name}
Requires: %{name} = %{version}-%{release}
%description tools
A collection of libraries used by ucspi-unix.
This package contains static tools provided by %{name}.
%debug_package
%prep
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%setup -q -n bglibs-%{version}
sed -i "s|libtool --mode|libtool --tag=c --mode|" Makefile
echo %{_bindir} > conf-bin
echo %{_mandir} > conf-man
echo %{_includedir}/bglibs > conf-include
echo %{_libdir} > conf-lib
%build
make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#rm -f conf_home.c insthier.o installer instcheck
make install install_prefix=%{buildroot}
rm -f %{buildroot}%{_bindir}/bg-installer
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libbg.so.*
#%{_libdir}/libbg-sysdeps.so.*
#%{_libdir}/crypt.lib
#%{_libdir}/dl.lib
#%{_libdir}/m.lib
#%{_libdir}/net.lib
#%{_libdir}/rt.lib
#%{_libdir}/s.lib
#%{_libdir}/shadow.lib
#%{_libdir}/socket.lib
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/libbg.a
%{_libdir}/libbg.la
%{_libdir}/libbg.so
%{_libdir}/libbg-cli.a
%{_libdir}/libpwcmp-module.a
%{_libdir}/libpwcmp.a
%{_libdir}/libvmailmgr.a
%files tools
%defattr(-,root,root)
%{_bindir}/cli-generate
%{_bindir}/crc-gentab
%{_mandir}/man1/bg-installer.1*
%{_mandir}/man1/cli-generate.1*
%changelog
* Mon Oct 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.04-2mamba
- specfile fixes and rebuild
* Wed Sep 19 2018 Automatic Build System <autodist@mambasoft.it> 2.04-1mamba
- automatic update by autodist
* Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 1.106-2mamba
- automatic rebuild by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.106-1mamba
- automatic update by autodist
* Tue Jan 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.104-1mamba
- automatic update by autodist
* Tue Jul 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.102-1mamba
- update to 1.102
* Tue Apr 20 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.36-1qilnx
- first build