]> git.pld-linux.org Git - packages/bglibs.git/blame - bglibs.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/bglibs.git] / bglibs.spec
CommitLineData
09ce71e9
JB
1Summary: Bruce Guenter's Libraries Collection
2Summary(pl): Zestaw bibliotek Bruce'a Guentera
3Name: bglibs
4Version: 1.005
5Release: 1
6License: GPL
7Group: Development/Libraries
8Source0: http://untroubled.org/bglibs/%{name}-%{version}.tar.gz
9Patch0: %{name}-nonroot.patch
10URL: http://untroubled.org/bglibs/
11BuildRoot: %{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
17Bruce Guenter's Libraries Collection.
18
19%description -l pl
20Zestaw bibliotek Bruce'a Guentera.
21
22%prep
23%setup -q
24%patch -p1
25
26%build
27echo '%{__cc} %{rpmcflags} -Wall' > conf-cc
28echo '%{_prefix}' > conf-home
29echo '%{__cc} %{rpmldflags}' > conf-ld
30
31%{__make}
32
33rm -f conf_home.c insthier.o installer
34echo "$RPM_BUILD_ROOT%{_prefix}" > conf-home
35%{__make} installer
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT%{_prefix}
40
41./installer
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%doc ChangeLog NEWS README TODO
49%dir %{_prefix}
50%{_prefix}/include
51%{_prefix}/lib
This page took 0.067734 seconds and 4 git commands to generate.