gnome-mime-data.spec
author laca
Sat, 10 Jan 2004 07:59:15 +0000
changeset 1522 c8efb7f0f398
parent 1432 2cea3516467a
child 1543 e1c1e40a5e77
permissions -rw-r--r--
2004-01-10 Laszlo Peter <[email protected]> * GConf.spec, ORBit2.spec, bug-buddy.spec, control-center.spec, eel.spec, eog.spec, gail.spec, gconf-editor.spec, gedit.spec, ggv.spec, gimp.spec, glade.spec, gnome-applets.spec, gnome-audio.spec, gnome-desktop.spec, gnome-games.spec, gnome-icon-theme.spec, gnome-media.spec, gnome-mime-data.spec, gnome-panel.spec, gnome-pilot.spec, gnome-session.spec, gnome-system-monitor.spec, gnome-terminal.spec, gnome-themes.spec, gnome-user-docs.spec, gnome-utils.spec, gnome-vfs.spec, gpdf.spec, gthumb.spec, gtkam.spec, gucharmap.spec, libart_lgpl.spec, libbonobo.spec, libbonoboui.spec, libgnome.spec, libgnomecanvas.spec, libgnomeprint.spec, libgnomeprintui.spec, libgnomeui.spec, libgphoto2.spec, libgtop.spec, libwnck.spec, magicdev.spec, metacity.spec, nautilus.spec, openh323.spec, scrollkeeper.spec, usermode.spec, vino.spec, vte.spec, xscreensaver.spec, yelp.spec, zenity.spec: clean up for the Solaris builds: - s!/usr/share/man!%{_mandir}!g - s!/usr/share!%{_datadir}!g - s!tar jxvf SOURCEn!bzcat SOURCEn | tar xf -! - don't rm -rf $RPM_BUILD_ROOT in %install
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     1
Name:			gnome-mime-data
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     2
License:		LGPL
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     3
Group:			System/GUI/GNOME
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     4
BuildArchitectures:	noarch
1208
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
     5
Version:		2.4.0
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
     6
Release:		4
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     7
Distribution:		Mercury
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 552
diff changeset
     8
Vendor:			Sun Microsystems, Inc.
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     9
Summary:		MIME Type and Application Database for the GNOME Desktop
1208
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    10
Source:			http://ftp.gnome.org/pub/GNOME/sources/gnome-mime-data/2.4/%{name}-%{version}.tar.bz2
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    11
Source1:                gnome-mime-data-l10n-po-0.6.tar.bz2
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    12
Source2:                gnome-vfs.mime.4.gz
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    13
Source3:                gnome-vfs-mime-magic.4.gz
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    14
Source4:                gnome-vfs.applications.4.gz
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    15
Source5:                gnome-vfs.keys.4.gz
839
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
    16
Patch1:                 gnome-mime-data-01-view-as-audio-component.diff
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    17
Patch2:                 gnome-mime-data-02-make-jmplay-default-player.diff
1271
ac86307177b4 2003-10-15 Mark McLoughlin <[email protected]>
markmc
parents: 1210
diff changeset
    18
Patch3:                 gnome-mime-data-03-view-as-webpage.diff
1304
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    19
Patch4:                 gnome-mime-data-04-text-plain-handler.diff
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    20
Patch5:                 gnome-mime-data-05-always-use-app.diff
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    21
URL:			http://www.gnome.org
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    22
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    23
Docdir:			%{_defaultdocdir}/%{name}
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    24
Autoreqprov:		on
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    25
1208
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    26
%define gnome_common_version 2.4.0
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    27
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    28
BuildRequires: gnome-common >= %{gnome_common_version}
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    29
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    30
%description
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    31
MIME Type and Application Database for the GNOME Desktop that allows the
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    32
GNOME Virtual Filesystem to associate data files with their icon and
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    33
description, and to launch them with suitable applications.
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    34
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    35
%prep
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    36
%setup -q
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    37
%patch1 -p1
1208
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    38
%patch2 -p1
1273
f6205dc04161 2003-10-15 Mark McLoughlin <[email protected]>
markmc
parents: 1271
diff changeset
    39
%patch3 -p1
1304
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    40
%patch4 -p1
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    41
%patch5 -p1
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    42
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    43
bzcat %SOURCE1 | tar xvf -
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    44
%build
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    45
./configure --prefix=%{_prefix}			\
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    46
	    --sysconfdir=%{_sysconfdir}		\
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    47
            --mandir=%{_mandir}
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    48
make
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    50
%install
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    51
make DESTDIR=$RPM_BUILD_ROOT install
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    52
make DESTDIR=$RPM_BUILD_ROOT install
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    53
install -d $RPM_BUILD_ROOT%{_mandir}/man4
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    54
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man4
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    55
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man4
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    56
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man4
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    57
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man4
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    58
#Copy zh_HK from zh_TW
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    59
#Fixes bug 4930405
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    60
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    61
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    62
                                                                                                                                                             
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    63
%clean
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    64
rm -rf $RPM_BUILD_ROOT
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    65
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    66
%files
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    67
%defattr(-,root,root)
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    68
%{_datadir}/locale/*/LC_MESSAGES/*.mo
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    69
%{_sysconfdir}/gnome-vfs-mime-magic
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    70
%{_datadir}/mime-info/*
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    71
%{_datadir}/application-registry/*
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    72
%{_mandir}/man4/*
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    73
# This package is so small, it's not worth doing a -devel package
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    74
# just for the pkgconfig file.
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    75
%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    76
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    77
%changelog
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    78
* Mon Dec 15 2003 - <[email protected]
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    79
- Add back the man pages, and some patches.
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    80
1304
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    81
* Mon Oct 20 2003 - <[email protected]
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    82
- Added patch gnome-mime-data-04-text-plain-handler.diff which was in
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    83
  Mercury so that gedit is lauched instead of text viewer for nautilus
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    84
  on a text/*.
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    85
1271
ac86307177b4 2003-10-15 Mark McLoughlin <[email protected]>
markmc
parents: 1210
diff changeset
    86
* Wed Oct 15 2003 - <[email protected]> 2.4.0-2
ac86307177b4 2003-10-15 Mark McLoughlin <[email protected]>
markmc
parents: 1210
diff changeset
    87
- Re-add the view-as-webpage diff.
1274
markmc
parents: 1273
diff changeset
    88
1208
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    89
* Tue Oct 07 2003 - [email protected]
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    90
- Updated to use GNOME 2.4 for Quicksilver. Deleted one patch and
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    91
  renumbered the other one.
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    92
1109
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
    93
* Thu Aug 21 2003 - [email protected]
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
    94
- Updated gnome-vfs.applications to include all the real formats
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
    95
  that realplay itself understand since the current definitions is
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
    96
  rather limiting. simply updated the Patch3.
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
    97
1097
1daf3a1d13f3 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1070
diff changeset
    98
* Wed Aug 20 2003 - [email protected]
1daf3a1d13f3 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1070
diff changeset
    99
- updated gnome-vfs.applications, gnome-vfs.keys.in and gnome-vfs.mime
1daf3a1d13f3 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1070
diff changeset
   100
  to include some of the more obscure mime types that jmplay can 
1daf3a1d13f3 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1070
diff changeset
   101
  handle including x-gsm, rmf, ogg, mvr, x-jmx.
1daf3a1d13f3 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1070
diff changeset
   102
1070
6f6384f76589 2003-08-18 Brian Nitz <[email protected]>
bn128650
parents: 1032
diff changeset
   103
* Mon Aug 18 2003 - [email protected]
6f6384f76589 2003-08-18 Brian Nitz <[email protected]>
bn128650
parents: 1032
diff changeset
   104
- created a patch to add jmplay as default media player.
6f6384f76589 2003-08-18 Brian Nitz <[email protected]>
bn128650
parents: 1032
diff changeset
   105
1032
969abe073fbf *** empty log message ***
stephen
parents: 1025
diff changeset
   106
* Mon Aug 11 2003 - <[email protected]>
969abe073fbf *** empty log message ***
stephen
parents: 1025
diff changeset
   107
- new tarball, reset release
969abe073fbf *** empty log message ***
stephen
parents: 1025
diff changeset
   108
839
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   109
* Mon Jul 28 2003 - <[email protected]>
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   110
- Make pdfs get opened in the gpdf component by default
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   111
510
b433e4521ef7 Adding yet more .po files
mick
parents: 459
diff changeset
   112
* Wed Jul 09 2003 - <[email protected]>
b433e4521ef7 Adding yet more .po files
mick
parents: 459
diff changeset
   113
- add in sun po files
b433e4521ef7 Adding yet more .po files
mick
parents: 459
diff changeset
   114
839
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   115
* Mon Jul 07 2003 - <[email protected]>
459
8825a0bce82a 2003-07-07 Niall Power <[email protected]>
niall
parents: 290
diff changeset
   116
- added patch to shortlist nautilus_audio_view for viewing directory contents.
839
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   117
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   118
* Thu May 13 2003 - [email protected]
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   119
- Created new spec file for gnome-mime-data