Commit 2d18dc86 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add desktop-file-utils

parent 2c8ba1bb
......@@ -40,7 +40,7 @@ PACKAGES = \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts \
gtk2 gnome-themes-standard libproxy gsettings-desktop-schemas glib-networking libsoup \
dconf gvfs \
dconf gvfs desktop-file-utils \
$(NULL)
ALL_SPECS =$(PACKAGES:%=$(SPECS)/%.spec)
......
%global pkg desktop-file-utils
%global pkgname desktop-file-utils
Summary: Utilities for manipulating .desktop files
Name: desktop-file-utils
Version: 0.22
Release: 1%{?dist}
URL: http://www.freedesktop.org/software/desktop-file-utils
Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
License: GPLv2+
Group: Development/Tools
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel
%description
.desktop files are used to describe an application for inclusion in
GNOME or KDE menus. This package contains desktop-file-validate which
checks whether a .desktop file complies with the specification at
http://www.freedesktop.org/standards/, and desktop-file-install
which installs a desktop file to the standard directory, optionally
fixing it up in the process.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%files
%doc AUTHORS COPYING README NEWS
%{_bindir}/*
%{_mandir}/man1/desktop-file-install.1.gz
%{_mandir}/man1/desktop-file-validate.1.gz
%{_mandir}/man1/update-desktop-database.1.gz
%{_mandir}/man1/desktop-file-edit.1.gz
%changelog
* Tue Nov 25 2014 Alexander Larsson <alexl@redhat.com> - 0.22-1
- Initial version, based on F21
......@@ -25,6 +25,7 @@ Requires: gtk2 gnome-themes-standard
Requires: dconf libsoup
Requires: gsettings-desktop-schemas
Requires: gvfs
Requires: desktop-file-utils
%description
......
......@@ -21,9 +21,11 @@ BuildRequires: dbus-glib
BuildRequires: gobject-introspection
BuildRequires: libsoup
BuildRequires: gvfs
BuildRequires: desktop-file-utils
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
Requires: desktop-file-utils
Requires: gvfs-devel
Requires: librsvg2-devel
Requires: hicolor-icon-theme
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment