--- a/gnome-mime-data.spec Mon May 26 14:47:47 2003 +0000
+++ b/gnome-mime-data.spec Mon May 26 15:36:39 2003 +0000
@@ -1,55 +1,47 @@
-#
-# spec file for package gnome-mime-data
-#
-# Copyright (c) 2003 Sun Microsystems Inc.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-
Name: gnome-mime-data
-License: GPL
+License: LGPL
Group: System/GUI/GNOME
-Autoreqprov: on
Version: 2.2.0
Release: 1
Distribution: Mercury
Vendor: Sun Microsystems Inc.
-Summary: MIME-Type and Application database for GNOME 2.0
-Source: ftp://ftp.gnome.org:21/pub/gnome/sources/gnome-mime-data/2.2/%{name}-%{version}.tar.bz2
+Summary: MIME Type and Application Database for the GNOME Desktop
+Source: http://ftp.gnome.org:/pub/GNOME/sources/gnome-mime-data/2.2/%{name}-%{version}.tar.bz2
URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}/%{name}
+Autoreqprov: on
%description
-This module contains the base MIME and Application database for GNOME.
-It is meant to be accessed through the MIME functions in GnomeVFS.
+MIME Type and Application Database for the GNOME Desktop that allows the
+GNOME Virtual Filesystem to associate data files with their icon and
+description, and to launch them with suitable applications.
%prep
-%setup -q
+%setup
%build
-CFLAGS="$RPM_OPT_FLAGS" \
- ./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
-make -s CFLAGS="$RPM_OPT_FLAGS"
+./configure --prefix=%{_prefix} \
+ --sysconfdir=%{_sysconfdir}
+make
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README
-%config %{_sysconfdir}/gnome-vfs-mime-magic
+%{_prefix}/share/locale/*/LC_MESSAGES/*.mo
+%{_sysconfdir}/gnome-vfs-mime-magic
%{_prefix}/share/mime-info/*
%{_prefix}/share/application-registry/*
-%{_prefix}/share/pixmaps/document-icons/*
-%{_prefix}/share/locale/*/LC_MESSAGES/*.mo
-%{_prefix}/man/man5/*
-%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc
+%{_prefix}/share/man/man5/*
+# This package is so small, it's not worth doing a -devel package
+# just for the pkgconfig file.
+%{_prefix}/lib/pkgconfig/gnome-mime-data-2.0.pc
%changelog
* Thu May 13 2003 - [email protected]
- Created new spec file for gnome-mime-data
-