]>
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 |
eeddde61 | 4 | Version: 0.26 |
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 |
eeddde61 | 9 | # Source0-md5: 29739e005f5887cf41639b8450f3c23f |
893ca13d | 10 | URL: https://www.freedesktop.org/wiki/Software/desktop-file-utils |
e90f4e1b | 11 | BuildRequires: glib2-devel >= 1:2.8.0 |
eeddde61 | 12 | BuildRequires: meson >= 0.49.0 |
6cce6431 | 13 | BuildRequires: ninja >= 1.5 |
e576cb68 | 14 | BuildRequires: pkgconfig |
eeddde61 | 15 | BuildRequires: rpmbuild(macros) >= 1.736 |
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 | |
3ea74b07 | 35 | BuildArch: noarch |
3ea74b07 JB |
36 | |
37 | %description -n emacs-desktop-entry-mode | |
38 | Desktop entry mode for Emacs. | |
39 | ||
40 | %description -n emacs-desktop-entry-mode -l pl.UTF-8 | |
41 | Tryb plików desktop dla Emacsa. | |
42 | ||
765e72d9 | 43 | %prep |
5d9b2ef0 | 44 | %setup -q |
765e72d9 | 45 | |
46 | %build | |
eeddde61 | 47 | %meson build |
6cce6431 | 48 | |
eeddde61 | 49 | %ninja_build -C build |
765e72d9 | 50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
73787816 | 53 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
765e72d9 | 54 | |
eeddde61 | 55 | %ninja_install -C build |
765e72d9 | 56 | |
f7d742d5 ER |
57 | touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache |
58 | ||
765e72d9 | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
4de60ac9 | 64 | %doc AUTHORS ChangeLog NEWS README |
b9068221 | 65 | %attr(755,root,root) %{_bindir}/desktop-file-edit |
73787816 MB |
66 | %attr(755,root,root) %{_bindir}/desktop-file-install |
67 | %attr(755,root,root) %{_bindir}/desktop-file-validate | |
68 | %attr(755,root,root) %{_bindir}/update-desktop-database | |
b9068221 | 69 | %{_mandir}/man1/desktop-file-edit.1* |
4de60ac9 JB |
70 | %{_mandir}/man1/desktop-file-install.1* |
71 | %{_mandir}/man1/desktop-file-validate.1* | |
72 | %{_mandir}/man1/update-desktop-database.1* | |
f7d742d5 | 73 | %ghost %{_desktopdir}/mimeinfo.cache |
3ea74b07 JB |
74 | |
75 | %files -n emacs-desktop-entry-mode | |
76 | %defattr(644,root,root,755) | |
77 | %{_datadir}/emacs/site-lisp/desktop-entry-mode.el |