]> git.pld-linux.org Git - packages/bglibs.git/blob - bglibs.spec
- updated to 1.022, use lib64-aware libdir
[packages/bglibs.git] / bglibs.spec
1 Summary:        Bruce Guenter's Libraries Collection
2 Summary(pl):    Zestaw bibliotek Bruce'a Guentera
3 Name:           bglibs
4 Version:        1.022
5 Release:        1
6 License:        GPL
7 Group:          Development/Libraries
8 Source0:        http://untroubled.org/bglibs/%{name}-%{version}.tar.gz
9 # Source0-md5:  a6f7ad4d340aa56b375f0205976aad2d
10 URL:            http://untroubled.org/bglibs/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 # it cannot be installed in /usr/{include,lib} because of filename collisions
14 %define         _prefix         /usr/%{_lib}/bglibs
15
16 %description
17 Bruce Guenter's Libraries Collection.
18
19 %description -l pl
20 Zestaw bibliotek Bruce'a Guentera.
21
22 %prep
23 %setup -q
24
25 %build
26 echo '%{__cc} %{rpmcflags} -Wall' > conf-cc
27 echo '%{_prefix}' > conf-home
28 echo '%{__cc} %{rpmldflags}' > conf-ld
29
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 echo "$RPM_BUILD_ROOT%{_bindir}" > conf-bin
36 echo "$RPM_BUILD_ROOT%{_prefix}/include" > conf-include
37 echo "$RPM_BUILD_ROOT%{_prefix}/lib" > conf-lib
38
39 %{__make} install
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc ChangeLog NEWS README TODO
47 %dir %{_prefix}
48 %{_prefix}/include
49 %{_prefix}/lib
This page took 0.046425 seconds and 3 git commands to generate.