]>
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 |
d97f9fb3 | 4 | Version: 0.27 |
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 |
d97f9fb3 | 9 | # Source0-md5: fdf9215aea91acb6aebc43f770537f2c |
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 |
1343d596 | 15 | BuildRequires: rpm-build >= 4.6 |
eeddde61 | 16 | BuildRequires: rpmbuild(macros) >= 1.736 |
b9068221 ŁK |
17 | BuildRequires: tar >= 1:1.22 |
18 | BuildRequires: xz | |
4de60ac9 | 19 | Requires: glib2 >= 1:2.8.0 |
765e72d9 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | desktop-file-utils contains a couple of command line utilities for | |
24 | working with desktop entries. | |
25 | ||
437866bb | 26 | %description -l pl.UTF-8 |
4de60ac9 JB |
27 | Pakiet desktop-file-utils zawiera kilka narzędzi uruchamianych z linii |
28 | poleceń, służących do pracy z plikami desktop. | |
765e72d9 | 29 | |
3ea74b07 JB |
30 | %package -n emacs-desktop-entry-mode |
31 | Summary: Desktop entry mode for Emacs | |
32 | Summary(pl.UTF-8): Tryb plików desktop dla Emacsa | |
33 | Group: Applications/Editors | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | Requires: emacs | |
3ea74b07 | 36 | BuildArch: noarch |
3ea74b07 JB |
37 | |
38 | %description -n emacs-desktop-entry-mode | |
39 | Desktop entry mode for Emacs. | |
40 | ||
41 | %description -n emacs-desktop-entry-mode -l pl.UTF-8 | |
42 | Tryb plików desktop dla Emacsa. | |
43 | ||
765e72d9 | 44 | %prep |
5d9b2ef0 | 45 | %setup -q |
765e72d9 | 46 | |
47 | %build | |
eeddde61 | 48 | %meson build |
6cce6431 | 49 | |
eeddde61 | 50 | %ninja_build -C build |
765e72d9 | 51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
73787816 | 54 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
765e72d9 | 55 | |
eeddde61 | 56 | %ninja_install -C build |
765e72d9 | 57 | |
f7d742d5 ER |
58 | touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache |
59 | ||
765e72d9 | 60 | %clean |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
4de60ac9 | 65 | %doc AUTHORS ChangeLog NEWS README |
b9068221 | 66 | %attr(755,root,root) %{_bindir}/desktop-file-edit |
73787816 MB |
67 | %attr(755,root,root) %{_bindir}/desktop-file-install |
68 | %attr(755,root,root) %{_bindir}/desktop-file-validate | |
69 | %attr(755,root,root) %{_bindir}/update-desktop-database | |
b9068221 | 70 | %{_mandir}/man1/desktop-file-edit.1* |
4de60ac9 JB |
71 | %{_mandir}/man1/desktop-file-install.1* |
72 | %{_mandir}/man1/desktop-file-validate.1* | |
73 | %{_mandir}/man1/update-desktop-database.1* | |
f7d742d5 | 74 | %ghost %{_desktopdir}/mimeinfo.cache |
3ea74b07 JB |
75 | |
76 | %files -n emacs-desktop-entry-mode | |
77 | %defattr(644,root,root,755) | |
78 | %{_datadir}/emacs/site-lisp/desktop-entry-mode.el |