90 lines
2.3 KiB
RPMSpec
90 lines
2.3 KiB
RPMSpec
Name: libbg
|
|
Version: 1.106
|
|
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
|
|
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}
|
|
|
|
%description devel
|
|
A collection of libraries used by ucspi-unix.
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%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)
|
|
%{_bindir}/cli-generate
|
|
%{_bindir}/crc-gentab
|
|
%{_includedir}/*
|
|
%{_libdir}/libbg.la
|
|
%{_libdir}/libbg.so
|
|
%{_libdir}/libbg-sysdeps.la
|
|
%{_libdir}/libbg-sysdeps.so
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*/*.a
|
|
%{_mandir}/man1/cli-generate.1.gz
|
|
|
|
%changelog
|
|
* 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
|