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