]>
Commit | Line | Data |
---|---|---|
09ce71e9 JB |
1 | Summary: Bruce Guenter's Libraries Collection |
2 | Summary(pl): Zestaw bibliotek Bruce'a Guentera | |
3 | Name: bglibs | |
a72b9778 | 4 | Version: 1.010 |
09ce71e9 JB |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Development/Libraries | |
35f306de | 8 | Source0: http://untroubled.org/bglibs/%{name}-%{version}.tar.gz |
a72b9778 JB |
9 | # Source0-md5: 2502cb6ee9099cda13e282fe17eb7584 |
10 | Patch0: %{name}-pipe.patch | |
09ce71e9 JB |
11 | URL: http://untroubled.org/bglibs/ |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | # it cannot be installed in /usr/{include,lib} because of filename collisions | |
15 | %define _prefix /usr/lib/bglibs | |
16 | ||
17 | %description | |
18 | Bruce Guenter's Libraries Collection. | |
19 | ||
20 | %description -l pl | |
21 | Zestaw bibliotek Bruce'a Guentera. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
35f306de | 25 | %patch -p1 |
09ce71e9 JB |
26 | |
27 | %build | |
28 | echo '%{__cc} %{rpmcflags} -Wall' > conf-cc | |
29 | echo '%{_prefix}' > conf-home | |
30 | echo '%{__cc} %{rpmldflags}' > conf-ld | |
31 | ||
32 | %{__make} | |
33 | ||
34 | rm -f conf_home.c insthier.o installer | |
35 | echo "$RPM_BUILD_ROOT%{_prefix}" > conf-home | |
36 | %{__make} installer | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{_prefix} | |
41 | ||
42 | ./installer | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc ChangeLog NEWS README TODO | |
50 | %dir %{_prefix} | |
51 | %{_prefix}/include | |
52 | %{_prefix}/lib |