gnome-mime-data.spec
author stephen
Mon, 23 Feb 2004 11:44:51 +0000
changeset 1867 7595545d2d45
parent 1609 5d00c5c6d7ee
child 1876 0b4928f1eef0
permissions -rw-r--r--
2004-02-23 Stephen Browne <[email protected]> * gnome-mime-data.spec: new tarball, bringover QS patches * patches/gnome-mime-data-06-swf-handler.diff: new from QS * patches/gnome-mime-data-07-jar-handler.diff: new from QS * patches/gnome-mime-data-08-i18n-keys.diff: new from QS patch 02 and patch 08 still need work so theyre disabled
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
1867
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
     5
Version:		2.4.1
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
     6
Release:		1
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
     7
Distribution:		Cinnabar
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
1867
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    21
Patch6:                 gnome-mime-data-06-swf-handler.diff
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    22
Patch7:                 gnome-mime-data-07-jar-handler.diff
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    23
Patch8:			gnome-mime-data-08-i18n-keys.diff
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    24
URL:			http://www.gnome.org
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    25
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    26
Docdir:			%{_defaultdocdir}/%{name}
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    27
Autoreqprov:		on
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    28
1208
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
    29
%define gnome_common_version 2.4.0
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    30
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    31
BuildRequires: gnome-common >= %{gnome_common_version}
1552
d39444f88202 added dependencies to get build working
dermotm
parents: 1551
diff changeset
    32
BuildRequires: intltool
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    33
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    34
%description
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    35
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
    36
GNOME Virtual Filesystem to associate data files with their icon and
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    37
description, and to launch them with suitable applications.
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    38
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    39
%prep
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    40
%setup -q
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    41
%patch1 -p1
1867
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    42
#%patch2 -p1
1273
f6205dc04161 2003-10-15 Mark McLoughlin <[email protected]>
markmc
parents: 1271
diff changeset
    43
%patch3 -p1
1304
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    44
%patch4 -p1
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    45
%patch5 -p1
1867
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    46
%patch6 -p1
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    47
%patch7 -p1
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    48
#%patch8 -p1
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    50
bzcat %SOURCE1 | tar xvf -
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    51
%build
1551
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
    52
libtoolize --force
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
    53
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
    54
automake -a -c -f
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
    55
autoconf
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    56
./configure --prefix=%{_prefix}			\
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    57
	    --sysconfdir=%{_sysconfdir}		\
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    58
            --mandir=%{_mandir}
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    59
make
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    60
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    61
%install
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    62
make DESTDIR=$RPM_BUILD_ROOT install
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    63
make DESTDIR=$RPM_BUILD_ROOT install
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    64
install -d $RPM_BUILD_ROOT%{_mandir}/man4
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    65
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man4
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    66
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man4
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    67
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man4
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    68
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man4
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    69
#Copy zh_HK from zh_TW
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    70
#Fixes bug 4930405
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    71
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1432
diff changeset
    72
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
    73
                                                                                                                                                             
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    74
%clean
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    75
rm -rf $RPM_BUILD_ROOT
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
%files
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    78
%defattr(-,root,root)
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    79
%{_datadir}/locale/*/LC_MESSAGES/*.mo
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    80
%{_sysconfdir}/gnome-vfs-mime-magic
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    81
%{_datadir}/mime-info/*
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    82
%{_datadir}/application-registry/*
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    83
%{_mandir}/man4/*
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    84
# 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
    85
# just for the pkgconfig file.
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    86
%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    87
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    88
%changelog
1867
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    89
* Mon Feb 23 2004 - <[email protected]>
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    90
- New tarball 2.4.1, ported patches, still two patches to do
7595545d2d45 2004-02-23 Stephen Browne <[email protected]>
stephen
parents: 1609
diff changeset
    91
1552
d39444f88202 added dependencies to get build working
dermotm
parents: 1551
diff changeset
    92
* Thu Jan 29 2004 - <[email protected]>
d39444f88202 added dependencies to get build working
dermotm
parents: 1551
diff changeset
    93
- Add dependency on intltool
d39444f88202 added dependencies to get build working
dermotm
parents: 1551
diff changeset
    94
                                                                                                                                                             
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    95
* Mon Dec 15 2003 - <[email protected]
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    96
- Add back the man pages, and some patches.
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1304
diff changeset
    97
1304
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    98
* Mon Oct 20 2003 - <[email protected]
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
    99
- 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
   100
  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
   101
  on a text/*.
6e0f441103c3 2003-10-20 Ghee Teo <[email protected]>
gheet
parents: 1274
diff changeset
   102
1271
ac86307177b4 2003-10-15 Mark McLoughlin <[email protected]>
markmc
parents: 1210
diff changeset
   103
* Wed Oct 15 2003 - <[email protected]> 2.4.0-2
ac86307177b4 2003-10-15 Mark McLoughlin <[email protected]>
markmc
parents: 1210
diff changeset
   104
- Re-add the view-as-webpage diff.
1274
markmc
parents: 1273
diff changeset
   105
1208
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
   106
* Tue Oct 07 2003 - [email protected]
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
   107
- 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
   108
  renumbered the other one.
ebac436c4595 2003-10-07 Ghee Teo <[email protected]>
gheet
parents: 1195
diff changeset
   109
1109
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
   110
* Thu Aug 21 2003 - [email protected]
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
   111
- Updated gnome-vfs.applications to include all the real formats
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
   112
  that realplay itself understand since the current definitions is
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
   113
  rather limiting. simply updated the Patch3.
8275456d4932 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1097
diff changeset
   114
1097
1daf3a1d13f3 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1070
diff changeset
   115
* Wed Aug 20 2003 - [email protected]
1daf3a1d13f3 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1070
diff changeset
   116
- 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
   117
  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
   118
  handle including x-gsm, rmf, ogg, mvr, x-jmx.
1daf3a1d13f3 2003-08-20 Ghee Teo <[email protected]>
gheet
parents: 1070
diff changeset
   119
1070
6f6384f76589 2003-08-18 Brian Nitz <[email protected]>
bn128650
parents: 1032
diff changeset
   120
* Mon Aug 18 2003 - [email protected]
6f6384f76589 2003-08-18 Brian Nitz <[email protected]>
bn128650
parents: 1032
diff changeset
   121
- created a patch to add jmplay as default media player.
6f6384f76589 2003-08-18 Brian Nitz <[email protected]>
bn128650
parents: 1032
diff changeset
   122
1032
969abe073fbf *** empty log message ***
stephen
parents: 1025
diff changeset
   123
* Mon Aug 11 2003 - <[email protected]>
969abe073fbf *** empty log message ***
stephen
parents: 1025
diff changeset
   124
- new tarball, reset release
969abe073fbf *** empty log message ***
stephen
parents: 1025
diff changeset
   125
839
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   126
* Mon Jul 28 2003 - <[email protected]>
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   127
- Make pdfs get opened in the gpdf component by default
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   128
510
b433e4521ef7 Adding yet more .po files
mick
parents: 459
diff changeset
   129
* Wed Jul 09 2003 - <[email protected]>
b433e4521ef7 Adding yet more .po files
mick
parents: 459
diff changeset
   130
- add in sun po files
b433e4521ef7 Adding yet more .po files
mick
parents: 459
diff changeset
   131
839
b8d89c44c4c2 2003-07-28 Mark McLoughlin <[email protected]>
markmc
parents: 831
diff changeset
   132
* Mon Jul 07 2003 - <[email protected]>
459
8825a0bce82a 2003-07-07 Niall Power <[email protected]>
niall
parents: 290
diff changeset
   133
- 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
   134
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   135
* Thu May 13 2003 - [email protected]
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   136
- Created new spec file for gnome-mime-data