2 %bcond_with tests # build with tests
3 %bcond_without tests # build without tests
10 License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
14 Source0: %{name}-%{version}.tar.gz
18 Patch0: %{name}-what.patch
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 %description subpackage
42 %description subpackage -l pl
45 %setup -q -n %{name}-%{version}.orig -a 1
49 # if ac/am/* rebuilding is necessary, do it in this order and add
50 # appropriate BuildRequires
60 rm -rf $RPM_BUILD_ROOT
61 # create directories if necessary
62 #install -d $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
81 %attr(755,root,root) %{_bindir}/*
85 %defattr(644,root,root,755)
87 %{_datadir}/%{name}-ext