]>
Commit | Line | Data |
---|---|---|
66c7fa65 ER |
1 | # Conditional build: |
2 | %bcond_with tests # build with tests | |
3 | %bcond_without tests # build without tests | |
e8b9df06 | 4 | Summary: - |
e8b9df06 | 5 | Summary(pl): - |
e8b9df06 SZ |
6 | Name: - |
7 | Version: - | |
c1981b58 ER |
8 | Release: 0.1 |
9 | Epoch: 0 | |
73d26d4a | 10 | License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here) |
352b3a3c | 11 | Vendor: - |
2eed9aca | 12 | Group: - |
e8b9df06 | 13 | Icon: - |
f1b2d418 | 14 | Source0: %{name}-%{version}.tar.gz |
023a0cc4 | 15 | # Source0-md5: - |
e8b9df06 | 16 | Source1: - |
023a0cc4 | 17 | # Source1-md5: - |
24a89e79 | 18 | Patch0: %{name}-what.patch |
e8b9df06 | 19 | URL: - |
19bf1c4b | 20 | BuildRequires: - |
77f7693c | 21 | PreReq: - |
1927f23c | 22 | Requires(pre,post): - |
352b3a3c TP |
23 | Requires(preun): - |
24 | Requires(postun): - | |
6d0960dd | 25 | Requires: - |
9b1ba2b6 JB |
26 | Provides: - |
27 | Obsoletes: - | |
352b3a3c | 28 | Conflicts: - |
c1981b58 | 29 | #BuildArch: noarch |
e8b9df06 SZ |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | ||
e8b9df06 SZ |
34 | %description -l pl |
35 | ||
352b3a3c TP |
36 | %package subpackage |
37 | Summary: - | |
38 | Summary(pl): - | |
39 | Group: - | |
352b3a3c TP |
40 | |
41 | %description subpackage | |
42 | ||
43 | %description subpackage -l pl | |
44 | ||
e8b9df06 | 45 | %prep |
f1b2d418 | 46 | %setup -q -n %{name}-%{version}.orig -a 1 |
e8b9df06 | 47 | %patch0 -p1 |
e8b9df06 SZ |
48 | |
49 | %build | |
c42a30cf JB |
50 | # if ac/am/* rebuilding is necessary, do it in this order and add |
51 | # appropriate BuildRequires | |
37416b6e | 52 | #%%{__gettextize} |
53 | #%%{__aclocal} | |
54 | #%%{__autoconf} | |
55 | #%%{__autoheader} | |
56 | #%%{__automake} | |
19bf1c4b | 57 | %configure |
e8b9df06 SZ |
58 | %{__make} |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
d43856e1 JB |
62 | # create directories if necessary |
63 | #install -d $RPM_BUILD_ROOT | |
e8b9df06 | 64 | |
a984843b SP |
65 | %{__make} install \ |
66 | DESTDIR=$RPM_BUILD_ROOT | |
e8b9df06 | 67 | |
f5bb3874 JB |
68 | %clean |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
e8b9df06 SZ |
71 | %pre |
72 | ||
e8b9df06 SZ |
73 | %post |
74 | ||
b187ef53 JB |
75 | %preun |
76 | ||
e8b9df06 SZ |
77 | %postun |
78 | ||
e8b9df06 SZ |
79 | %files |
80 | %defattr(644,root,root,755) | |
024e628a | 81 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO |
cec32492 | 82 | |
11877175 ER |
83 | # if _sysconfdir != /etc: |
84 | #%%dir %{_sysconfdir} | |
d3e00579 | 85 | %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/* |
cec32492 | 86 | |
0b279ca0 | 87 | %attr(755,root,root) %{_bindir}/* |
cec32492 | 88 | |
0b279ca0 | 89 | %{_datadir}/%{name} |
f1b2d418 | 90 | |
2482ba2c ER |
91 | # initscript and it's config |
92 | %attr(754,root,root) /etc/rc.d/init.d/%{name} | |
93 | %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/%{name} | |
94 | ||
f1b2d418 TP |
95 | %files subpackage |
96 | %defattr(644,root,root,755) | |
97 | %doc extras/*.gz | |
98 | %{_datadir}/%{name}-ext |