]>
Commit | Line | Data |
---|---|---|
09ce71e9 JB |
1 | Summary: Bruce Guenter's Libraries Collection |
2 | Summary(pl): Zestaw bibliotek Bruce'a Guentera | |
3 | Name: bglibs | |
98c58996 | 4 | Version: 1.022 |
09ce71e9 JB |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Development/Libraries | |
35f306de | 8 | Source0: http://untroubled.org/bglibs/%{name}-%{version}.tar.gz |
98c58996 | 9 | # Source0-md5: a6f7ad4d340aa56b375f0205976aad2d |
09ce71e9 JB |
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 | |
98c58996 | 14 | %define _prefix /usr/%{_lib}/bglibs |
09ce71e9 JB |
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 | |
09ce71e9 JB |
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 | ||
09ce71e9 JB |
32 | %install |
33 | rm -rf $RPM_BUILD_ROOT | |
09ce71e9 | 34 | |
98c58996 JB |
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 | |
09ce71e9 JB |
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 |