3 %bcond_with tests # build with tests
4 %bcond_without tests # build without tests
12 License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
16 Source0: %{name}-%{version}.tar.gz
20 Patch0: %{name}-what.patch
32 #ExclusiveArch: %{ix86}
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 %description subpackage
46 %description subpackage -l pl
49 %setup -q -n %{name}-%{version}.orig -a 1
53 # if ac/am/* rebuilding is necessary, do it in this order and add
54 # appropriate BuildRequires
64 rm -rf $RPM_BUILD_ROOT
65 # create directories if necessary
66 #install -d $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
86 # if _sysconfdir != /etc:
88 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
90 %attr(755,root,root) %{_bindir}/*
94 # initscript and its config
95 %attr(754,root,root) /etc/rc.d/init.d/%{name}
96 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
99 %defattr(644,root,root,755)
101 %{_datadir}/%{name}-ext