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