]> git.pld-linux.org Git - packages/desktop-file-utils.git/blob - desktop-file-utils.spec
- package man files (why even ask about it?) and NEWS
[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.18
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications
8 Source0:        http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d966b743eb394650f98d5dd56b9aece1
10 URL:            http://www.freedesktop.org/wiki/Software/desktop-file-utils
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  glib2-devel >= 1:2.8.0
14 BuildRequires:  libtool
15 BuildRequires:  pkgconfig
16 Requires:       glib2 >= 1:2.8.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 desktop-file-utils contains a couple of command line utilities for
21 working with desktop entries.
22
23 %description -l pl.UTF-8
24 Pakiet desktop-file-utils zawiera kilka narzędzi uruchamianych z linii
25 poleceń, służących do pracy z plikami desktop.
26
27 %prep
28 %setup -q
29
30 %build
31 %{__libtoolize}
32 %{__aclocal}
33 %{__autoconf}
34 %{__autoheader}
35 %{__automake}
36 %configure \
37         --disable-silent-rules
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_desktopdir}
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog NEWS README
56 %attr(755,root,root) %{_bindir}/desktop-file-install
57 %attr(755,root,root) %{_bindir}/desktop-file-validate
58 %attr(755,root,root) %{_bindir}/update-desktop-database
59 %{_mandir}/man1/desktop-file-install.1*
60 %{_mandir}/man1/desktop-file-validate.1*
61 %{_mandir}/man1/update-desktop-database.1*
62 %ghost %{_desktopdir}/mimeinfo.cache
This page took 0.586038 seconds and 4 git commands to generate.