]> git.pld-linux.org Git - packages/gnulib.git/blame - gnulib.spec
- up to 20130521
[packages/gnulib.git] / gnulib.spec
CommitLineData
ff6ec720
AM
1%define snap 20130521
2%define commit 9ceceed274f83094127f9ff0bf061293c9fe1e7f
528354db
AG
3Summary: GNU Portability Library
4Summary(pl.UTF-8): biblioteka przenośności GNU
5Name: gnulib
6Version: 0
7Release: 0.%{snap}.1
8License: GPL
9Group: Development
ff6ec720
AM
10Source0: http://git.savannah.gnu.org/cgit/gnulib.git/snapshot/%{name}-%{commit}.tar.gz
11# Source0-md5: 5d3548c827b7d67c96ac7810cf4e6662
528354db
AG
12Source1: %{name}-tool.1
13Source2: %{name}-check-module.1
14URL: http://www.gnu.org/software/gnulib/
ecb6b0c0 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
528354db
AG
16
17%description
18The GNU portability library is a macro system and C declarations and
19definitions for commonly-used API elements and abstracted system
20behaviors. It can be used to improve portability and other
21functionality in your programs.
22
23%description -l pl.UTF-8
24Biblioteka przenośności GNU to system makr i deklaracji oraz definicji
25C dla często używanych elementów API. Biblioteka ta może być
26wykorzystana w celu ulepszenia przeności oraz funkcjonalności
27programów.
28
29%prep
ff6ec720 30%setup -q -n %{name}-%{commit}
528354db
AG
31sed -ie 's@\(^\| \)gnulib_dir=.*@\1gnulib_dir=%{_datadir}/gnulib@' gnulib-tool
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/gnulib,%{_mandir}/man1}
36cp -a check-module gnulib-tool $RPM_BUILD_ROOT%{_bindir}
37cp -a build-aux config doc lib m4 modules tests $RPM_BUILD_ROOT%{_datadir}/gnulib
38install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
39install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1/check-module.1
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%doc ChangeLog COPYING DEPENDENCIES NEWS
47%attr(755,root,root) %{_bindir}/check-module
48%attr(755,root,root) %{_bindir}/gnulib-tool
49%{_datadir}/gnulib
50%{_mandir}/man1/*.1*
This page took 0.106825 seconds and 4 git commands to generate.