]> git.pld-linux.org Git - packages/bglibs.git/blob - bglibs.spec
- updated to 1.019
[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.019
5 Release:        1
6 License:        GPL
7 Group:          Development/Libraries
8 Source0:        http://untroubled.org/bglibs/%{name}-%{version}.tar.gz
9 # Source0-md5:  1e9e1d716d4527d08ea1dbf076a30c30
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 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
This page took 0.050732 seconds and 3 git commands to generate.