]> git.pld-linux.org Git - packages/desktop-file-utils.git/blame - desktop-file-utils.spec
- package desktop-entry-mode for emacs
[packages/desktop-file-utils.git] / desktop-file-utils.spec
CommitLineData
765e72d9 1Summary: A couple of command line utilities for working with desktop entries
4de60ac9 2Summary(pl.UTF-8): Narzędzia linii poleceń do pracy z plikami desktop
765e72d9 3Name: desktop-file-utils
183956f9 4Version: 0.24
893ca13d 5Release: 1
73787816 6License: GPL v2+
765e72d9 7Group: Applications
893ca13d 8Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
183956f9 9# Source0-md5: 9364b82e14cfcad881161aa7ea5257ae
893ca13d 10URL: https://www.freedesktop.org/wiki/Software/desktop-file-utils
4de60ac9 11BuildRequires: autoconf >= 2.50
b9068221 12BuildRequires: automake >= 1:1.11
e90f4e1b 13BuildRequires: glib2-devel >= 1:2.8.0
418b0ad5 14BuildRequires: libtool
e576cb68 15BuildRequires: pkgconfig
b9068221
ŁK
16BuildRequires: tar >= 1:1.22
17BuildRequires: xz
4de60ac9 18Requires: glib2 >= 1:2.8.0
765e72d9 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22desktop-file-utils contains a couple of command line utilities for
23working with desktop entries.
24
437866bb 25%description -l pl.UTF-8
4de60ac9
JB
26Pakiet desktop-file-utils zawiera kilka narzędzi uruchamianych z linii
27poleceń, służących do pracy z plikami desktop.
765e72d9 28
3ea74b07
JB
29%package -n emacs-desktop-entry-mode
30Summary: Desktop entry mode for Emacs
31Summary(pl.UTF-8): Tryb plików desktop dla Emacsa
32Group: Applications/Editors
33Requires: %{name} = %{version}-%{release}
34Requires: emacs
35%if "%{_rpmversion}" >= "5"
36BuildArch: noarch
37%endif
38
39%description -n emacs-desktop-entry-mode
40Desktop entry mode for Emacs.
41
42%description -n emacs-desktop-entry-mode -l pl.UTF-8
43Tryb 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
60rm -rf $RPM_BUILD_ROOT
73787816 61install -d $RPM_BUILD_ROOT%{_desktopdir}
765e72d9 62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
f7d742d5
ER
66touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache
67
765e72d9 68%clean
69rm -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
This page took 0.078784 seconds and 4 git commands to generate.