]>
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: - | |
8 | Release: - | |
9b1ba2b6 | 9 | Epoch: - |
73d26d4a | 10 | License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here) |
e8b9df06 | 11 | Group: - |
352b3a3c | 12 | Vendor: - |
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: - |
e8b9df06 SZ |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | ||
e8b9df06 SZ |
33 | %description -l pl |
34 | ||
352b3a3c TP |
35 | %package subpackage |
36 | Summary: - | |
37 | Summary(pl): - | |
38 | Group: - | |
352b3a3c TP |
39 | |
40 | %description subpackage | |
41 | ||
42 | %description subpackage -l pl | |
43 | ||
e8b9df06 | 44 | %prep |
f1b2d418 | 45 | %setup -q -n %{name}-%{version}.orig -a 1 |
e8b9df06 | 46 | %patch0 -p1 |
e8b9df06 SZ |
47 | |
48 | %build | |
c42a30cf JB |
49 | # if ac/am/* rebuilding is necessary, do it in this order and add |
50 | # appropriate BuildRequires | |
37416b6e | 51 | #%%{__gettextize} |
52 | #%%{__aclocal} | |
53 | #%%{__autoconf} | |
54 | #%%{__autoheader} | |
55 | #%%{__automake} | |
19bf1c4b | 56 | %configure |
e8b9df06 SZ |
57 | %{__make} |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
d43856e1 JB |
61 | # create directories if necessary |
62 | #install -d $RPM_BUILD_ROOT | |
e8b9df06 | 63 | |
a984843b SP |
64 | %{__make} install \ |
65 | DESTDIR=$RPM_BUILD_ROOT | |
e8b9df06 | 66 | |
f5bb3874 JB |
67 | %clean |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
e8b9df06 SZ |
70 | %pre |
71 | ||
e8b9df06 SZ |
72 | %post |
73 | ||
b187ef53 JB |
74 | %preun |
75 | ||
e8b9df06 SZ |
76 | %postun |
77 | ||
e8b9df06 SZ |
78 | %files |
79 | %defattr(644,root,root,755) | |
024e628a | 80 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO |
0b279ca0 | 81 | %attr(755,root,root) %{_bindir}/* |
82 | %{_datadir}/%{name} | |
f1b2d418 TP |
83 | |
84 | %files subpackage | |
85 | %defattr(644,root,root,755) | |
86 | %doc extras/*.gz | |
87 | %{_datadir}/%{name}-ext |