]>
Commit | Line | Data |
---|---|---|
1 | Summary: A pager designed for blackbox | |
2 | Summary(pl): Pager zaprojektowany dla blackboksa | |
3 | Name: bbpager | |
4 | Version: 0.3.0 | |
5 | Release: 4 | |
6 | License: GPL | |
7 | Group: X11/Applications | |
8 | Source0: http://bbtools.windsofstorm.net/sources/%{name}-%{version}.tar.gz | |
9 | Patch0: %{name}-sysconfdir.patch | |
10 | URL: http://bbtools.windsofstorm.net/ | |
11 | BuildRequires: XFree86-devel | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _prefix /usr/X11R6 | |
17 | %define _mandir %{_prefix}/man | |
18 | ||
19 | %description | |
20 | bbpager is like the name suggests: a pager tool for Blackbox. | |
21 | ||
22 | %description -l pl | |
23 | bbpager jest tym, co nazwa sugeruje: pagerem dla Blackboksa. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | %patch0 -p1 | |
28 | ||
29 | %build | |
30 | aclocal | |
31 | %{__autoconf} | |
32 | %{__automake} | |
33 | %configure | |
34 | %{__make} CXX="%{__cc}" | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %{__make} DESTDIR=$RPM_BUILD_ROOT install | |
40 | ||
41 | gzip -9nf AUTHORS BUGS ChangeLog README NEWS TODO data/README.* | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc *.gz data/*.gz | |
49 | %attr(755,root,root) %{_bindir}/bb* | |
50 | %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/bbtools/%{name}.* |