gnome-mime-data.spec
changeset 27 b72adb3a7bb8
child 152 8f0ff1910505
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnome-mime-data.spec	Tue May 13 14:25:17 2003 +0000
@@ -0,0 +1,55 @@
+#
+# 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
+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
+URL:          http://www.gnome.org
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Docdir:       %{_defaultdocdir}/%{name}
+
+%description
+This module contains the base MIME and Application database for GNOME.
+It is meant to be accessed through the MIME functions in GnomeVFS.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" \
+ ./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
+make -s CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%config %{_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
+
+%changelog
+* Thu May 13 2003 - [email protected]
+- Created new spec file for gnome-mime-data
+