]>
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 |
183956f9 | 4 | Version: 0.24 |
893ca13d | 5 | Release: 1 |
73787816 | 6 | License: GPL v2+ |
765e72d9 | 7 | Group: Applications |
893ca13d | 8 | Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz |
183956f9 | 9 | # Source0-md5: 9364b82e14cfcad881161aa7ea5257ae |
893ca13d | 10 | URL: https://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 | |
3ea74b07 JB |
29 | %package -n emacs-desktop-entry-mode |
30 | Summary: Desktop entry mode for Emacs | |
31 | Summary(pl.UTF-8): Tryb plików desktop dla Emacsa | |
32 | Group: Applications/Editors | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | Requires: emacs | |
35 | %if "%{_rpmversion}" >= "5" | |
36 | BuildArch: noarch | |
37 | %endif | |
38 | ||
39 | %description -n emacs-desktop-entry-mode | |
40 | Desktop entry mode for Emacs. | |
41 | ||
42 | %description -n emacs-desktop-entry-mode -l pl.UTF-8 | |
43 | Tryb plików desktop dla Emacsa. | |
44 | ||
765e72d9 | 45 | %prep |
5d9b2ef0 | 46 | %setup -q |
765e72d9 | 47 | |
48 | %build | |
bcbce630 MK |
49 | %{__libtoolize} |
50 | %{__aclocal} | |
bcbce630 | 51 | %{__autoconf} |
4de60ac9 JB |
52 | %{__autoheader} |
53 | %{__automake} | |
93a5ae29 | 54 | %configure \ |
4de60ac9 JB |
55 | --disable-silent-rules |
56 | ||
765e72d9 | 57 | %{__make} |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
73787816 | 61 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
765e72d9 | 62 | |
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
f7d742d5 ER |
66 | touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache |
67 | ||
765e72d9 | 68 | %clean |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
4de60ac9 | 73 | %doc AUTHORS ChangeLog NEWS README |
b9068221 | 74 | %attr(755,root,root) %{_bindir}/desktop-file-edit |
73787816 MB |
75 | %attr(755,root,root) %{_bindir}/desktop-file-install |
76 | %attr(755,root,root) %{_bindir}/desktop-file-validate | |
77 | %attr(755,root,root) %{_bindir}/update-desktop-database | |
b9068221 | 78 | %{_mandir}/man1/desktop-file-edit.1* |
4de60ac9 JB |
79 | %{_mandir}/man1/desktop-file-install.1* |
80 | %{_mandir}/man1/desktop-file-validate.1* | |
81 | %{_mandir}/man1/update-desktop-database.1* | |
f7d742d5 | 82 | %ghost %{_desktopdir}/mimeinfo.cache |
3ea74b07 JB |
83 | |
84 | %files -n emacs-desktop-entry-mode | |
85 | %defattr(644,root,root,755) | |
86 | %{_datadir}/emacs/site-lisp/desktop-entry-mode.el |