2 # - what about files (not included in %files in previous version):
3 # /usr/lib/bglibs/bin/bg-installer
4 # /usr/lib/bglibs/bin/crc-gentab
6 Summary: Bruce Guenter's Libraries Collection
7 Summary(pl): Zestaw bibliotek Bruce'a Guentera
12 Group: Development/Libraries
13 Source0: http://untroubled.org/bglibs/%{name}-%{version}.tar.gz
14 # Source0-md5: 34b04bc84538bf39fef53910b025188e
15 URL: http://untroubled.org/bglibs/
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 # it cannot be installed in /usr/{include,lib} because of filename collisions
19 %define _prefix /usr/%{_lib}/bglibs
22 Bruce Guenter's Libraries Collection.
25 Zestaw bibliotek Bruce'a Guentera.
31 echo '%{__cc} %{rpmcflags} -Wall' > conf-cc
32 echo '%{_prefix}' > conf-home
33 echo '%{__cc} %{rpmldflags}' > conf-ld
38 rm -rf $RPM_BUILD_ROOT
40 echo "$RPM_BUILD_ROOT%{_bindir}" > conf-bin
41 echo "$RPM_BUILD_ROOT%{_prefix}/include" > conf-include
42 echo "$RPM_BUILD_ROOT%{_prefix}/lib" > conf-lib
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc ChangeLog NEWS README TODO