]> git.pld-linux.org Git - packages/desktop-file-utils.git/blob - desktop-file-utils.spec
- package desktop-entry-mode for emacs
[packages/desktop-file-utils.git] / desktop-file-utils.spec
1 Summary:        A couple of command line utilities for working with desktop entries
2 Summary(pl.UTF-8):      Narzędzia linii poleceń do pracy z plikami desktop
3 Name:           desktop-file-utils
4 Version:        0.24
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications
8 Source0:        https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
9 # Source0-md5:  9364b82e14cfcad881161aa7ea5257ae
10 URL:            https://www.freedesktop.org/wiki/Software/desktop-file-utils
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  glib2-devel >= 1:2.8.0
14 BuildRequires:  libtool
15 BuildRequires:  pkgconfig
16 BuildRequires:  tar >= 1:1.22
17 BuildRequires:  xz
18 Requires:       glib2 >= 1:2.8.0
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
25 %description -l pl.UTF-8
26 Pakiet desktop-file-utils zawiera kilka narzędzi uruchamianych z linii
27 poleceń, służących do pracy z plikami desktop.
28
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
45 %prep
46 %setup -q
47
48 %build
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure \
55         --disable-silent-rules
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_desktopdir}
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README
74 %attr(755,root,root) %{_bindir}/desktop-file-edit
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
78 %{_mandir}/man1/desktop-file-edit.1*
79 %{_mandir}/man1/desktop-file-install.1*
80 %{_mandir}/man1/desktop-file-validate.1*
81 %{_mandir}/man1/update-desktop-database.1*
82 %ghost %{_desktopdir}/mimeinfo.cache
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.057888 seconds and 4 git commands to generate.