]>
Commit | Line | Data |
---|---|---|
09ce71e9 JB |
1 | Summary: Bruce Guenter's Libraries Collection |
2 | Summary(pl): Zestaw bibliotek Bruce'a Guentera | |
3 | Name: bglibs | |
ac3c0057 | 4 | Version: 1.011 |
09ce71e9 JB |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Development/Libraries | |
35f306de | 8 | Source0: http://untroubled.org/bglibs/%{name}-%{version}.tar.gz |
ac3c0057 | 9 | # Source0-md5: a5272bc7e30c5323e35b4361206309ea |
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 | |
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 | |
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 | ||
32 | rm -f conf_home.c insthier.o installer | |
33 | echo "$RPM_BUILD_ROOT%{_prefix}" > conf-home | |
34 | %{__make} installer | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_prefix} | |
39 | ||
40 | ./installer | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc ChangeLog NEWS README TODO | |
48 | %dir %{_prefix} | |
49 | %{_prefix}/include | |
50 | %{_prefix}/lib |