author | archana |
Wed, 10 Nov 2004 14:13:35 +0000 | |
changeset 4498 | 99e48720f3a6 |
parent 4455 | aea26bce3124 |
child 4541 | aa555c8d3378 |
permissions | -rw-r--r-- |
186 | 1 |
Name: gnome-mime-data |
2 |
License: LGPL |
|
3 |
Group: System/GUI/GNOME |
|
4 |
BuildArchitectures: noarch |
|
1867 | 5 |
Version: 2.4.1 |
4498 | 6 |
Release: 29 |
1867 | 7 |
Distribution: Cinnabar |
575 | 8 |
Vendor: Sun Microsystems, Inc. |
186 | 9 |
Summary: MIME Type and Application Database for the GNOME Desktop |
1208 | 10 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-mime-data/2.4/%{name}-%{version}.tar.bz2 |
4387 | 11 |
Source1: gnome-mime-data-l10n-po-1.7.tar.bz2 |
1432 | 12 |
Source2: gnome-vfs.mime.4.gz |
13 |
Source3: gnome-vfs-mime-magic.4.gz |
|
14 |
Source4: gnome-vfs.applications.4.gz |
|
15 |
Source5: gnome-vfs.keys.4.gz |
|
4455 | 16 |
Source6: l10n-configure.sh |
839 | 17 |
Patch1: gnome-mime-data-01-view-as-audio-component.diff |
1432 | 18 |
Patch2: gnome-mime-data-02-make-jmplay-default-player.diff |
2571 | 19 |
Patch3: gnome-mime-data-03-set-mozilla-default.diff |
1304 | 20 |
Patch4: gnome-mime-data-04-text-plain-handler.diff |
1432 | 21 |
Patch5: gnome-mime-data-05-always-use-app.diff |
1867 | 22 |
Patch6: gnome-mime-data-06-swf-handler.diff |
23 |
Patch7: gnome-mime-data-07-jar-handler.diff |
|
2273 | 24 |
Patch8: gnome-mime-data-08-g11n-keys.diff |
3189 | 25 |
Patch9: gnome-mime-data-09-realplayer-command-change.diff |
3335 | 26 |
Patch10: gnome-mime-data-10-add-nfs-mime.diff |
3933 | 27 |
Patch11: gnome-mime-data-11-pdfviewer.diff |
4498 | 28 |
Patch12: gnome-mime-data-12-shellscript.diff |
186 | 29 |
URL: http://www.gnome.org |
30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
31 |
Docdir: %{_defaultdocdir}/%{name} |
|
32 |
Autoreqprov: on |
|
33 |
||
1208 | 34 |
%define gnome_common_version 2.4.0 |
186 | 35 |
|
36 |
BuildRequires: gnome-common >= %{gnome_common_version} |
|
1552 | 37 |
BuildRequires: intltool |
27 | 38 |
|
39 |
%description |
|
152 | 40 |
MIME Type and Application Database for the GNOME Desktop that allows the |
41 |
GNOME Virtual Filesystem to associate data files with their icon and |
|
42 |
description, and to launch them with suitable applications. |
|
27 | 43 |
|
44 |
%prep |
|
1432 | 45 |
%setup -q |
46 |
%patch1 -p1 |
|
1882 | 47 |
%patch2 -p1 |
1273 | 48 |
%patch3 -p1 |
1304 | 49 |
%patch4 -p1 |
1432 | 50 |
%patch5 -p1 |
1867 | 51 |
%patch6 -p1 |
52 |
%patch7 -p1 |
|
2273 | 53 |
%patch8 -p1 |
3189 | 54 |
%patch9 -p1 |
3335 | 55 |
%patch10 -p1 |
3933 | 56 |
%patch11 -p1 |
4498 | 57 |
%patch12 -p1 |
27 | 58 |
|
1522 | 59 |
bzcat %SOURCE1 | tar xvf - |
4455 | 60 |
bash -x %SOURCE6 |
61 |
||
27 | 62 |
%build |
3263 | 63 |
%ifos linux |
64 |
if [ -x /usr/bin/getconf ]; then |
|
65 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
66 |
fi |
|
67 |
%else |
|
3846 | 68 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 69 |
%endif |
70 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
71 |
CPUS=1 |
|
72 |
fi |
|
73 |
||
1551 | 74 |
libtoolize --force |
75 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
76 |
automake -a -c -f |
|
77 |
autoconf |
|
186 | 78 |
./configure --prefix=%{_prefix} \ |
79 |
--sysconfdir=%{_sysconfdir} \ |
|
80 |
--mandir=%{_mandir} |
|
3263 | 81 |
make -j $CPUS |
27 | 82 |
|
83 |
%install |
|
152 | 84 |
make DESTDIR=$RPM_BUILD_ROOT install |
1432 | 85 |
make DESTDIR=$RPM_BUILD_ROOT install |
1522 | 86 |
install -d $RPM_BUILD_ROOT%{_mandir}/man4 |
87 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man4 |
|
88 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man4 |
|
89 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man4 |
|
90 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man4 |
|
1432 | 91 |
#Copy zh_HK from zh_TW |
92 |
#Fixes bug 4930405 |
|
1522 | 93 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
94 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1432 | 95 |
|
27 | 96 |
%clean |
97 |
rm -rf $RPM_BUILD_ROOT |
|
98 |
||
99 |
%files |
|
100 |
%defattr(-,root,root) |
|
186 | 101 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
152 | 102 |
%{_sysconfdir}/gnome-vfs-mime-magic |
186 | 103 |
%{_datadir}/mime-info/* |
104 |
%{_datadir}/application-registry/* |
|
1432 | 105 |
%{_mandir}/man4/* |
152 | 106 |
# This package is so small, it's not worth doing a -devel package |
107 |
# just for the pkgconfig file. |
|
186 | 108 |
%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc |
27 | 109 |
|
110 |
%changelog |
|
4498 | 111 |
* Wed Nov 10 2004 - [email protected] |
112 |
- Added patch gnome-mime-data-12-shellscript.diff to add flags for |
|
113 |
shell scripts' mime types. |
|
114 |
||
4148 | 115 |
* Tue Oct 05 2004 - [email protected] |
116 |
- Updated gnome-mime-data-02-make-jmplay-default-player.diff to add x-gsm mime |
|
117 |
Fixed 6173640 |
|
118 |
||
3933 | 119 |
* Wed Sep 15 2004 - [email protected] |
120 |
- Added patch gnome-mime-data-11-pdfviewer.diff. |
|
121 |
Fixes bug# 5100997 |
|
122 |
||
3335 | 123 |
* Wed Jul 14 2004 - [email protected] |
124 |
- Added patch gnome-mime-data-10-add-nfs-mime.diff to add entries for |
|
125 |
x-directory/nfs-mount and x-directory/nfs-share mime types to enable |
|
126 |
browsing nfs:// locations. Fixes bugtraq bug#5034725. |
|
127 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
128 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
129 |
- Updated l10n content to gnome-mime-data-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
130 |
|
3263 | 131 |
* Wed Jul 07 2004 - [email protected] |
132 |
- added "-j $CPUS" to make to speed up builds |
|
133 |
||
3189 | 134 |
* Wed Jun 23 2004 - [email protected] |
135 |
- Added patch gnome-mime-data-09-realplayer-command-change.diff to |
|
136 |
fix the problem of mime association for realplayer by correcting |
|
137 |
the command name. Fixes bugtraq bug#5061307 |
|
138 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
139 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
140 |
- Updated l10n content to gnome-mime-data-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
141 |
|
2571 | 142 |
* Tue Apr 27 2004 - [email protected] |
143 |
- Set mozilla as the default browser for text/html mime type. |
|
144 |
||
2350 | 145 |
* Mon Mar 29 2004 - [email protected] |
146 |
- Updated l10n content to gnome-mime-data-l10n-po-1.0.tar.bz2 |
|
147 |
||
2273 | 148 |
* Mon Mar 22 2004 - <[email protected]> |
149 |
- Replaced gnome-mime-data-08-i18n-keys.diff with |
|
150 |
gnome-mime-data-08-g11n-keys.diff |
|
151 |
||
1882 | 152 |
* Mon Feb 23 2004 <[email protected]> |
153 |
- Repatched gnome-mime-data-02-make-jmplay-default-player.diff for |
|
154 |
cinnabar. |
|
155 |
||
1867 | 156 |
* Mon Feb 23 2004 - <[email protected]> |
157 |
- New tarball 2.4.1, ported patches, still two patches to do |
|
158 |
||
1552 | 159 |
* Thu Jan 29 2004 - <[email protected]> |
160 |
- Add dependency on intltool |
|
161 |
||
1432 | 162 |
* Mon Dec 15 2003 - <[email protected] |
163 |
- Add back the man pages, and some patches. |
|
164 |
||
1304 | 165 |
* Mon Oct 20 2003 - <[email protected] |
166 |
- Added patch gnome-mime-data-04-text-plain-handler.diff which was in |
|
167 |
Mercury so that gedit is lauched instead of text viewer for nautilus |
|
168 |
on a text/*. |
|
169 |
||
1271 | 170 |
* Wed Oct 15 2003 - <[email protected]> 2.4.0-2 |
171 |
- Re-add the view-as-webpage diff. |
|
1274 | 172 |
|
1208 | 173 |
* Tue Oct 07 2003 - [email protected] |
174 |
- Updated to use GNOME 2.4 for Quicksilver. Deleted one patch and |
|
175 |
renumbered the other one. |
|
176 |
||
1109 | 177 |
* Thu Aug 21 2003 - [email protected] |
178 |
- Updated gnome-vfs.applications to include all the real formats |
|
179 |
that realplay itself understand since the current definitions is |
|
180 |
rather limiting. simply updated the Patch3. |
|
181 |
||
1097 | 182 |
* Wed Aug 20 2003 - [email protected] |
183 |
- updated gnome-vfs.applications, gnome-vfs.keys.in and gnome-vfs.mime |
|
184 |
to include some of the more obscure mime types that jmplay can |
|
185 |
handle including x-gsm, rmf, ogg, mvr, x-jmx. |
|
186 |
||
1070 | 187 |
* Mon Aug 18 2003 - [email protected] |
188 |
- created a patch to add jmplay as default media player. |
|
189 |
||
1032 | 190 |
* Mon Aug 11 2003 - <[email protected]> |
191 |
- new tarball, reset release |
|
192 |
||
839 | 193 |
* Mon Jul 28 2003 - <[email protected]> |
194 |
- Make pdfs get opened in the gpdf component by default |
|
195 |
||
510 | 196 |
* Wed Jul 09 2003 - <[email protected]> |
197 |
- add in sun po files |
|
198 |
||
839 | 199 |
* Mon Jul 07 2003 - <[email protected]> |
459 | 200 |
- added patch to shortlist nautilus_audio_view for viewing directory contents. |
839 | 201 |
|
27 | 202 |
* Thu May 13 2003 - [email protected] |
203 |
- Created new spec file for gnome-mime-data |