]>
Commit | Line | Data |
---|---|---|
765e72d9 | 1 | Summary: A couple of command line utilities for working with desktop entries |
4de60ac9 | 2 | Summary(pl.UTF-8): Narzędzia linii poleceń do pracy z plikami desktop |
765e72d9 | 3 | Name: desktop-file-utils |
efd54e25 | 4 | Version: 0.21 |
73787816 MB |
5 | Release: 1 |
6 | License: GPL v2+ | |
765e72d9 | 7 | Group: Applications |
b9068221 | 8 | Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz |
efd54e25 | 9 | # Source0-md5: fda5c312c9fb3b8d818fb54f2c34db82 |
f7d742d5 | 10 | URL: http://www.freedesktop.org/wiki/Software/desktop-file-utils |
4de60ac9 | 11 | BuildRequires: autoconf >= 2.50 |
b9068221 | 12 | BuildRequires: automake >= 1:1.11 |
e90f4e1b | 13 | BuildRequires: glib2-devel >= 1:2.8.0 |
418b0ad5 | 14 | BuildRequires: libtool |
e576cb68 | 15 | BuildRequires: pkgconfig |
b9068221 ŁK |
16 | BuildRequires: tar >= 1:1.22 |
17 | BuildRequires: xz | |
4de60ac9 | 18 | Requires: glib2 >= 1:2.8.0 |
765e72d9 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | desktop-file-utils contains a couple of command line utilities for | |
23 | working with desktop entries. | |
24 | ||
437866bb | 25 | %description -l pl.UTF-8 |
4de60ac9 JB |
26 | Pakiet desktop-file-utils zawiera kilka narzędzi uruchamianych z linii |
27 | poleceń, służących do pracy z plikami desktop. | |
765e72d9 | 28 | |
29 | %prep | |
5d9b2ef0 | 30 | %setup -q |
765e72d9 | 31 | |
32 | %build | |
bcbce630 MK |
33 | %{__libtoolize} |
34 | %{__aclocal} | |
bcbce630 | 35 | %{__autoconf} |
4de60ac9 JB |
36 | %{__autoheader} |
37 | %{__automake} | |
93a5ae29 | 38 | %configure \ |
4de60ac9 JB |
39 | --disable-silent-rules |
40 | ||
765e72d9 | 41 | %{__make} |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
73787816 | 45 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
765e72d9 | 46 | |
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
f7d742d5 ER |
50 | touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache |
51 | ||
765e72d9 | 52 | %clean |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
4de60ac9 | 57 | %doc AUTHORS ChangeLog NEWS README |
b9068221 | 58 | %attr(755,root,root) %{_bindir}/desktop-file-edit |
73787816 MB |
59 | %attr(755,root,root) %{_bindir}/desktop-file-install |
60 | %attr(755,root,root) %{_bindir}/desktop-file-validate | |
61 | %attr(755,root,root) %{_bindir}/update-desktop-database | |
b9068221 | 62 | %{_mandir}/man1/desktop-file-edit.1* |
4de60ac9 JB |
63 | %{_mandir}/man1/desktop-file-install.1* |
64 | %{_mandir}/man1/desktop-file-validate.1* | |
65 | %{_mandir}/man1/update-desktop-database.1* | |
f7d742d5 | 66 | %ghost %{_desktopdir}/mimeinfo.cache |