gnome-mime-data.spec revision 13969
12248N/A#
12251N/A# spec file for package gnome-mime-data
12248N/A#
12248N/A# Copyright (c) 2005 Sun Microsystems, Inc.
12248N/A# This file and all modifications and additions to the pristine
12248N/A# package are under the same license as the package itself.
12248N/A#
12248N/A# Owner: padraig
12248N/A#
12248N/AName: gnome-mime-data
12248N/ALicense: LGPL
12248N/AGroup: System/GUI/GNOME
12248N/ABuildArchitectures: noarch
12586N/AVersion: 2.18.0
12248N/ARelease: 2
12248N/ADistribution: Java Desktop System
12248N/AVendor: Sun Microsystems, Inc.
12248N/ASummary: MIME Type and Application Database for the GNOME Desktop
12586N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.18/%{name}-%{version}.tar.bz2
12773N/ASource1: gnome-realplay.keys
12773N/A%if %build_l10n
12773N/ASource2: l10n-configure.sh
12248N/A%endif
12248N/A# owner:padraig date:2004-10-05 type:branding
12248N/APatch1: gnome-mime-data-01-set-mozilla-default.diff
12248N/A# owner:padraig date:2004-10-05 type:branding
12248N/APatch2: gnome-mime-data-02-text-plain-handler.diff
12248N/A# owner:padraig date:2004-10-05 type:branding
12248N/APatch3: gnome-mime-data-03-always-use-app.diff
12248N/A# owner:padraig date:2004-10-05 type:branding
12248N/APatch4: gnome-mime-data-04-swf-handler.diff
12248N/A# owner:padraig date:2004-10-05 type:branding
12248N/APatch5: gnome-mime-data-05-jar-handler.diff
12248N/A# owner:padraig date:2004-09-07 type:branding
12254N/APatch6: gnome-mime-data-06-pdfviewer.diff
12361N/A# owner:padraig date:2004-11-10 type:branding
12397N/APatch7: gnome-mime-data-07-shellscript.diff
12397N/A# owner:padraig date:2005-02-01 type:branding
12984N/APatch8: gnome-mime-data-08-associate-glade-files.diff
12984N/A# owner:padraig date:2005-05-10 type:bug bugster:6267137 bugzilla:303532
12996N/APatch9: gnome-mime-data-09-return-path-pattern.diff
12996N/AURL: http://www.gnome.org
12248N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12248N/ADocdir: %{_defaultdocdir}/%{name}
12248N/AAutoreqprov: on
12248N/A
12248N/A%define gnome_common_version 2.4.0
12248N/A
12248N/ABuildRequires: gnome-common >= %{gnome_common_version}
12248N/ABuildRequires: intltool
12248N/ABuildRequires: glib2
12248N/A
12248N/APreReq: RealPlayer
12248N/APrereq: coreutils
12248N/A
12248N/A%description
12248N/AMIME Type and Application Database for the GNOME Desktop that allows the
12248N/AGNOME Virtual Filesystem to associate data files with their icon and
12248N/Adescription, and to launch them with suitable applications.
12248N/A
12248N/A%prep
12248N/A%setup -q
12248N/A%patch1 -p1
12248N/A%patch2 -p1
12248N/A%patch3 -p1
12248N/A%patch4 -p1
12248N/A%patch5 -p1
12248N/A%patch6 -p1
12248N/A%patch7 -p1
12248N/A%patch8 -p1
12248N/A%patch9 -p1
12248N/A
12248N/A%build
12248N/A%ifos linux
12248N/Aif [ -x /usr/bin/getconf ]; then
12248N/A CPUS=`getconf _NPROCESSORS_ONLN`
12248N/Afi
12248N/A%else
12248N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12248N/A%endif
12248N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12248N/A CPUS=1
12248N/Afi
12248N/A
12248N/Alibtoolize --force
12248N/Aintltoolize --force --copy --automake
12248N/A
12248N/A%if %build_l10n
12248N/Abash -x %SOURCE2 --enable-copyright
12248N/A%endif
12248N/A
12248N/Aaclocal $ACLOCAL_FLAGS
12248N/Aautomake -a -c -f
12248N/Aautoconf
12248N/A./configure --prefix=%{_prefix} \
12248N/A --sysconfdir=%{_sysconfdir} \
12248N/A --mandir=%{_mandir}
12248N/Amake -j $CPUS
12248N/A
12248N/A%install
12248N/Amake DESTDIR=$RPM_BUILD_ROOT install
12248N/Amake DESTDIR=$RPM_BUILD_ROOT install
12248N/A#Copy zh_HK from zh_TW
12248N/A#Fixes bug 4930405
12248N/Ainstall -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
12293N/Ainstall --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo \
12397N/A $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
12984N/Ainstall --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/mime-info
12996N/A
12293N/A
12263N/A%post
12263N/Ainstall -p -m644 "%{_datadir}/mime-info/gnome-realplay.keys" \
12330N/A "%{_datadir}/mime-info/realplay.keys"
12248N/A
12248N/A
12248N/A%clean
12248N/Arm -rf $RPM_BUILD_ROOT
12248N/A
12248N/A%files
12248N/A%defattr(-,root,root)
12248N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
12248N/A%{_sysconfdir}/gnome-vfs-mime-magic
12248N/A%{_datadir}/mime-info/*
12248N/A%{_datadir}/application-registry/*
12248N/A%{_mandir}/man4/*
12248N/A# This package is so small, it's not worth doing a -devel package
12248N/A# just for the pkgconfig file.
12248N/A%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc
12248N/A
12248N/A%changelog
12248N/A* Wed Aug 29 2007 - damien.carbery@sun.com
12248N/A- Add intltoolize call to update intltool scripts.
12248N/A
12248N/A* Wed Apr 04 2007 - damien.carbery@sun.com
12773N/A- Bump to 2.18.0.
12773N/A
12773N/A* Fri Jan 26 2007 - alvaro@sun.com
12773N/A- gnome-mime-data-01-realplay-g11n-keys.diff removed.
12773N/A It was empty. Patches renamed.
12248N/A
12248N/A* Thu Nov 09 2006 - damien.carbery@sun.com
12248N/A- Bump to 2.4.3.
12248N/A
12248N/A* Wed Jul 27 2005 - narayana.pattipati@wipro.com
12248N/A- Removed patch gnome-mime-data-08-add-nfs-mime.diff because its not
12248N/A required anymore after nfs:// method removal from gnome-vfs. Renamed
12248N/A the following patches accordingly.
12248N/A
12248N/A* Tue May 10 2005 - vinay.mandyakoppal@wipro.com
12248N/A- Added patch gnome-mime-data-14-return-path-pattern.diff given by
12248N/A Antonio Xu <Antonio.Xu@Sun.COM> to add pattern "Return-path"
12248N/A for message.rfc822. fixes bug #6267137.
12248N/A
12248N/A* Fri May 06 2005 - glynn.foster@sun.com
12248N/A- Bump to 2.4.2
12248N/A
12248N/A* Wed Apr 06 2005 - dermot.mccluskey@sun.com
12248N/A- 6241631: added gnome-realplay.keys, which overwrites
12248N/A /usr/share/mime-info/realplay.keys in %post. This sets
12248N/A RP as the player for most possible media types.
12248N/A
12248N/A* Thu Mar 31 2005 - glynn.foster@wipro.com
12248N/A- Removed jmplay as default player for many media types in
12248N/A preference of realplayer. It still defaults back to some
12248N/A though. Remove the realplayer patch since it's now bogus.
12248N/A
12248N/A* Fri Mar 11 2005 - dinoop.thomas@wipro.com
12248N/A- Added patch gnome-mime-data-14-associate-java-files.diff to
12248N/A associate java files with netbeans.
12248N/A Fixes bug #6229767.
12397N/A
12397N/A* Thu Feb 03 2005 - dinoop.thomas@wipro.com
12248N/A- Added patch gnome-mime-data-13-associate-glade-files.diff to
12248N/A associate glade files with glade tool.
12248N/A Fixes bug #6222813.
12248N/A
12248N/A* Fri Nov 26 2004 - laca@sun.com
12248N/A- removed patch 13
12248N/A
12248N/A* Thu Nov 18 2004 - laca@sun.com
12248N/A- added patch gnome-mime-data-13-acroread-mozilla-wrappers.diff
12248N/A
12248N/A* Wed Nov 10 2004 - archana.shah@wipro.com
12248N/A- Added patch gnome-mime-data-12-shellscript.diff to add flags for
12248N/A shell scripts' mime types.
12248N/A
12248N/A* Tue Oct 05 2004 - takao.fujiwara@sun.com
12248N/A- Updated gnome-mime-data-02-make-jmplay-default-player.diff to add x-gsm mime
12248N/A Fixed 6173640
12248N/A
12248N/A* Wed Sep 15 2004 - archana.shah@wipro.com
12248N/A- Added patch gnome-mime-data-11-pdfviewer.diff.
12248N/A Fixes bug# 5100997
12248N/A
12248N/A* Wed Jul 14 2004 - narayana.pattipati@wipro.com
12248N/A- Added patch gnome-mime-data-10-add-nfs-mime.diff to add entries for
12248N/A x-directory/nfs-mount and x-directory/nfs-share mime types to enable
12248N/A browsing nfs:// locations. Fixes bugtraq bug#5034725.
12248N/A
12248N/A* Thu Jul 08 2004 - damien.donlon@sun.com
12248N/A- Updated l10n content to gnome-mime-data-l10n-po-1.2.tar.bz2
12248N/A
12248N/A* Wed Jul 07 2004 - dermot.mccluskey@sun.com
12248N/A- added "-j $CPUS" to make to speed up builds
12248N/A
12248N/A* Wed Jun 23 2004 - narayana.pattipati@wipro.com
12248N/A- Added patch gnome-mime-data-09-realplayer-command-change.diff to
12248N/A fix the problem of mime association for realplayer by correcting
12248N/A the command name. Fixes bugtraq bug#5061307
12248N/A
12248N/A* Wed May 12 2004 - damien.donlon@sun.com
12248N/A- Updated l10n content to gnome-mime-data-l10n-po-1.1.tar.bz2
12248N/A
12248N/A* Tue Apr 27 2004 - vijaykumar.patwari@wipro.com
12248N/A- Set mozilla as the default browser for text/html mime type.
12248N/A
12248N/A* Mon Mar 29 2004 - damien.donlon@sun.com
12248N/A- Updated l10n content to gnome-mime-data-l10n-po-1.0.tar.bz2
12248N/A
12248N/A* Mon Mar 22 2004 - <takao.fujiwara@sun.com>
13058N/A- Replaced gnome-mime-data-08-i18n-keys.diff with
13058N/A gnome-mime-data-08-g11n-keys.diff
12996N/A
12996N/A* Mon Feb 23 2004 <ghee.teo@sun.com>
12984N/A- Repatched gnome-mime-data-02-make-jmplay-default-player.diff for
12984N/A cinnabar.
12984N/A
12984N/A* Mon Feb 23 2004 - <stephen.browne@sun.com>
12984N/A- New tarball 2.4.1, ported patches, still two patches to do
12586N/A
12586N/A* Thu Jan 29 2004 - <dermot.mccluskey@sun.com>
12586N/A- Add dependency on intltool
12523N/A
12397N/A* Mon Dec 15 2003 - <glynn.foster@sun.com
12397N/A- Add back the man pages, and some patches.
12361N/A
12361N/A* Mon Oct 20 2003 - <ghee.teo@sun.com
12361N/A- Added patch gnome-mime-data-04-text-plain-handler.diff which was in
12322N/A Mercury so that gedit is lauched instead of text viewer for nautilus
12322N/A on a text/*.
12291N/A
12291N/A* Wed Oct 15 2003 - <markmc@sun.com> 2.4.0-2
12263N/A- Re-add the view-as-webpage diff.
12263N/A
12263N/A* Tue Oct 07 2003 - ghee.teo@sun.com
12263N/A- Updated to use GNOME 2.4 for Quicksilver. Deleted one patch and
12263N/A renumbered the other one.
12251N/A
12251N/A* Thu Aug 21 2003 - ghee.teo@sun.com
12251N/A- Updated gnome-vfs.applications to include all the real formats
12248N/A that realplay itself understand since the current definitions is
12248N/A rather limiting. simply updated the Patch3.
12248N/A
12248N/A* Wed Aug 20 2003 - ghee.teo@sun.com
12248N/A- updated gnome-vfs.applications, gnome-vfs.keys.in and gnome-vfs.mime
to include some of the more obscure mime types that jmplay can
handle including x-gsm, rmf, ogg, mvr, x-jmx.
* Mon Aug 18 2003 - brian.nitz@sun.com
- created a patch to add jmplay as default media player.
* Mon Aug 11 2003 - <stephen.browne@sun.com>
- new tarball, reset release
* Mon Jul 28 2003 - <markmc@sun.com>
- Make pdfs get opened in the gpdf component by default
* Wed Jul 09 2003 - <michael.twomey@sun.com>
- add in sun po files
* Mon Jul 07 2003 - <niall.power@sun.com>
- added patch to shortlist nautilus_audio_view for viewing directory contents.
* Thu May 13 2003 - ghee.teo@Sun.COM
- Created new spec file for gnome-mime-data