]> git.pld-linux.org Git - packages/bglibs.git/blob - bglibs.spec
- updated to 1.027
[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.027
5 Release:        1
6 License:        GPL
7 Group:          Development/Libraries
8 Source0:        http://untroubled.org/bglibs/%{name}-%{version}.tar.gz
9 # Source0-md5:  a449d525efab430a00db9415a877252b
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 %define         _bindir         /usr/bin
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
25
26 %build
27 echo '%{__cc} %{rpmcflags} -Wall' > conf-cc
28 echo '%{_prefix}' > conf-home
29 echo '%{__cc} %{rpmldflags}' > conf-ld
30
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 echo "$RPM_BUILD_ROOT%{_bindir}" > conf-bin
37 echo "$RPM_BUILD_ROOT%{_prefix}/include" > conf-include
38 echo "$RPM_BUILD_ROOT%{_prefix}/lib" > conf-lib
39
40 %{__make} install
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 %attr(755,root,root) %{_bindir}/*
49 %dir %{_prefix}
50 %{_prefix}/include
51 %{_prefix}/lib
This page took 0.032219 seconds and 4 git commands to generate.