]> git.pld-linux.org Git - packages/desktop-file-utils.git/blobdiff - desktop-file-utils.spec
- Up to 0.17
[packages/desktop-file-utils.git] / desktop-file-utils.spec
index 4f7a2a60ea897d2cff2ccdd581dcc90e42ed5ecd..203e24185db6e1ff3ba4230edebc34977e8b6396 100644 (file)
@@ -1,29 +1,30 @@
+# TODO:
+# - Add unpackaged man files?
+#
 Summary:       A couple of command line utilities for working with desktop entries
-Summary(pl):   Kilka narzêdzi do pracy z elementami biurkowymi
+Summary(pl.UTF-8):     Kilka narzędzi do pracy z elementami biurkowymi
 Name:          desktop-file-utils
-Version:       0.10
+Version:       0.17
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Applications
-Source0:       http://freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 8b930e9ad08ac6b8205dd00a1d694b0c
-# don't append / at end of URL
-URL:           http://www.freedesktop.org/software/desktop-file-utils
+Source0:       http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: 758fa842643d2e592d2fccba6e69a991
+URL:           http://www.freedesktop.org/wiki/Software/desktop-file-utils
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: glib2-devel >= 2.0.0
+BuildRequires: glib2-devel >= 1:2.8.0
 BuildRequires: libtool
 BuildRequires: pkgconfig
-BuildRequires: popt-devel >= 1.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 desktop-file-utils contains a couple of command line utilities for
 working with desktop entries.
 
-%description -l pl
-desktop-file-utils zawiera kilka narzêdzi uruchamianych z linii
-poleceñ, s³u¿±cych do pracy z elementami biurkowymi.
+%description -l pl.UTF-8
+desktop-file-utils zawiera kilka narzędzi uruchamianych z linii
+poleceń, służących do pracy z elementami biurkowymi.
 
 %prep
 %setup -q
@@ -31,8 +32,8 @@ polece
 %build
 %{__libtoolize}
 %{__aclocal}
-%{__autoheader}
 %{__automake}
+%{__autoheader}
 %{__autoconf}
 %configure \
        --disable-static
@@ -40,14 +41,20 @@ polece
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/desktop-file-install
+%attr(755,root,root) %{_bindir}/desktop-file-validate
+%attr(755,root,root) %{_bindir}/update-desktop-database
+%ghost %{_desktopdir}/mimeinfo.cache
This page took 0.138778 seconds and 4 git commands to generate.