gnome-mime-data.spec
author niall
Mon, 07 Jul 2003 17:05:08 +0000
changeset 459 8825a0bce82a
parent 290 c7a3d7801635
child 510 b433e4521ef7
permissions -rw-r--r--
2003-07-07 Niall Power <[email protected]> * gnome-mime-data.spec: added patch gnome-mime-data-01-view-as-audio-component.diff to make "View as Audio" a default nautilus menu "View as.." option i for folders that contain playable audio files.
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
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     5
Version:		2.2.0
459
8825a0bce82a 2003-07-07 Niall Power <[email protected]>
niall
parents: 290
diff changeset
     6
Release:		4
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     7
Distribution:		Mercury
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     8
Vendor:			Sun Microsystems Inc.
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
     9
Summary:		MIME Type and Application Database for the GNOME Desktop
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    10
Source:			http://ftp.gnome.org:/pub/GNOME/sources/gnome-mime-data/2.2/%{name}-%{version}.tar.bz2
459
8825a0bce82a 2003-07-07 Niall Power <[email protected]>
niall
parents: 290
diff changeset
    11
Patch0:                 gnome-mime-data-01-view-as-audio-component.diff
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    12
URL:			http://www.gnome.org
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    13
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    14
Docdir:			%{_defaultdocdir}/%{name}
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    15
Autoreqprov:		on
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    16
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    17
%define gnome_common_version 1.2.4
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    18
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    19
BuildRequires: gnome-common >= %{gnome_common_version}
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    20
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    21
%description
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    22
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
    23
GNOME Virtual Filesystem to associate data files with their icon and
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    24
description, and to launch them with suitable applications.
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    25
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    26
%prep
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    27
%setup
459
8825a0bce82a 2003-07-07 Niall Power <[email protected]>
niall
parents: 290
diff changeset
    28
%patch0 -p1
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
%build
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    31
./configure --prefix=%{_prefix}			\
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    32
	    --sysconfdir=%{_sysconfdir}		\
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    33
            --mandir=%{_mandir}
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    34
make
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
%install
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    37
make DESTDIR=$RPM_BUILD_ROOT install
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
%clean
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    40
rm -rf $RPM_BUILD_ROOT
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    41
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    42
%files
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    43
%defattr(-,root,root)
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    44
%{_datadir}/locale/*/LC_MESSAGES/*.mo
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    45
%{_sysconfdir}/gnome-vfs-mime-magic
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    46
%{_datadir}/mime-info/*
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    47
%{_datadir}/application-registry/*
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    48
%{_mandir}/man5/*
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 27
diff changeset
    49
# 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
    50
# just for the pkgconfig file.
186
8ec3b72610a8 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    51
%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    52
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    53
%changelog
459
8825a0bce82a 2003-07-07 Niall Power <[email protected]>
niall
parents: 290
diff changeset
    54
* Mon Jul 07 2003 - [email protected]
8825a0bce82a 2003-07-07 Niall Power <[email protected]>
niall
parents: 290
diff changeset
    55
- added patch to shortlist nautilus_audio_view for viewing directory contents.
27
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    56
* Thu May 13 2003 - [email protected]
b72adb3a7bb8 2003-05-13 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    57
- Created new spec file for gnome-mime-data