2 Summary: GNU Portability Library
3 Summary(pl.UTF-8): biblioteka przenośności GNU
9 Source0: %{name}-%{snap}.tar.bz2
10 # Source0-md5: 52857c69c2f671b1e9bdc6bd9acacf84
11 Source1: %{name}-tool.1
12 Source2: %{name}-check-module.1
13 URL: http://www.gnu.org/software/gnulib/
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The GNU portability library is a macro system and C declarations and
18 definitions for commonly-used API elements and abstracted system
19 behaviors. It can be used to improve portability and other
20 functionality in your programs.
22 %description -l pl.UTF-8
23 Biblioteka przenośności GNU to system makr i deklaracji oraz definicji
24 C dla często używanych elementów API. Biblioteka ta może być
25 wykorzystana w celu ulepszenia przeności oraz funkcjonalności
29 %setup -q -n %{name}-%{snap}
30 sed -ie 's@\(^\| \)gnulib_dir=.*@\1gnulib_dir=%{_datadir}/gnulib@' gnulib-tool
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/gnulib,%{_mandir}/man1}
35 cp -a check-module gnulib-tool $RPM_BUILD_ROOT%{_bindir}
36 cp -a build-aux config doc lib m4 modules tests $RPM_BUILD_ROOT%{_datadir}/gnulib
37 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
38 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1/check-module.1
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc ChangeLog COPYING DEPENDENCIES NEWS
46 %attr(755,root,root) %{_bindir}/check-module
47 %attr(755,root,root) %{_bindir}/gnulib-tool