1 # 2 # spec file for package desktop-file-utils 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner: gman 9 # 10 Name: desktop-file-utils 11 License: GPL 12 Group: Development/Tools/Other 13 Version: 0.11 14 Release: 1 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: Desktop file utilities 18 Source: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.gz 19 URL: http://www.gnome.org 20 BuildRoot: %{_tmppath}/%{name}-%{version}-build 21 Docdir: %{_defaultdocdir}/doc 22 Autoreqprov: on 23 24 %define popt_version 1.6.4 25 %define glib2_version 2.2.1 26 27 Requires: glib2 >= %{glib2_version} 28 BuildRequires: glib2-devel >= %{glib2_version} 29 BuildRequires: popt-devel >= %{popt_version} 30 31 %description 32 desktop-file-utils is a collection of command line tools for working with 33 desktop files. 34 35 %prep 36 %setup -q 37 38 %build 39 ./configure --prefix=%{_prefix} 40 make 41 42 %install 43 make DESTDIR=$RPM_BUILD_ROOT install 44 45 %clean 46 rm -rf $RPM_BUILD_ROOT 47 48 %files 49 %defattr(-, root, root) 50 %{_prefix}/bin 51 %{_datadir} 52 53 %changelog 54 * Web Jul 21 2006 - dermot.mccluskey@sun.com 55 - Bump to 0.11. 56 * Tue May 17 2005 - Laszlo Kovacs <laszlo.kovacs@sun.com> 57 - add %{_datadir} to %files 58 * Fri May 06 2005 - Glynn Foster <glynn.foster@sun.com> 59 - Bump to 0.10 60 * Tue Aug 12 2003 - Glynn Foster <glynn.foster@sun.com> 61 - Initial release 62