base-specs/shared-mime-info.spec
author mattman
Fri, 15 Jun 2007 15:22:48 +0000
changeset 10062 1303df78e461
parent 10033 da533ca4bb34
child 10123 0535aad9b6bb
permissions -rw-r--r--
* base-specs/shared-mime-info.spec : Update patch 01 comments adding two new freedesktop bugzilla ids for two attempted uptream patches.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package shared-mime-info
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# Owner: alo
10062
1303df78e461 * base-specs/shared-mime-info.spec : Update patch 01 comments adding
mattman
parents: 10033
diff changeset
     9
# bugdb: bugzilla.freedesktop.org
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
Name:         shared-mime-info
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
License:      GPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Group:        Hardware/Other
9570
955f61f25b7f 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9400
diff changeset
    14
Version:      0.20
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Distribution: Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Vendor:       Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Summary:      Core Common Mime Type Database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
#Source:       http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.bz2
9570
955f61f25b7f 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9400
diff changeset
    20
Source:       http://freedesktop.org/~hadess/%{name}-%{version}.tar.bz2
9400
f3c0f4f1c2ee update to delete references to linux manpages
laca
parents: 9397
diff changeset
    21
Source1:      defaults.list
10062
1303df78e461 * base-specs/shared-mime-info.spec : Update patch 01 comments adding
mattman
parents: 10033
diff changeset
    22
# date:2005-06-16 owner:mattman type:bug bugster:6241631,6234855 bugzilla:11276,11277
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Patch1:       shared-mime-info-01-add-mime-types.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
URL:          http://www.freedesktop.org/Software/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
DocDir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRequires: glib2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
shared-mime-info contains the core database of common types and the
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
update-mime-database command used to extend it.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%patch1 -p1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
aclocal $ACLOCAL_FLAGS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
mkdir -p $RPM_BUILD_ROOT%{_prefix}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
make DESTDIR=$RPM_BUILD_ROOT install-strip
9400
f3c0f4f1c2ee update to delete references to linux manpages
laca
parents: 9397
diff changeset
    61
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/applications/defaults.list
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
install -d $RPM_BUILD_ROOT%{_datadir}/application-registry
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
update-mime-database %{_datadir}/mime
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%{_bindir}/update-mime-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%{_datadir}/locale/*/LC_MESSAGES/shared-mime-info.mo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
# No point in making a seperate devel pkg just for one silly pkgconfig file
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%{_libdir}/pkgconfig/*.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%{_datadir}/mime/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%{_datadir}/applications/defaults.list
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%{_datadir}/application-registry
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%changelog
9570
955f61f25b7f 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9400
diff changeset
    82
* Thu Mar 15 2007 - [email protected]
955f61f25b7f 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9400
diff changeset
    83
- Bump to 0.20.
955f61f25b7f 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9400
diff changeset
    84
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
* Fri Dec 01 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
- Bump to 0.19. Remove upstream patch 02-java-types.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
* Mon Jul 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
- Bump to 0.18
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
* Thu May 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
- Add Java types from Joe.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
* Tue Apr 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
- Bump to 0.17
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
* Tue Apr 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
- Add shared-mime-info-02-fix-m3u.diff to keep Bart happy.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
* Thu Dec 09 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
- Modified patch shared-mime-info-01-add-mime-types.diff to include mime type 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
  for speex file.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Thu Dec 08 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Remove l10n tarball. Not maintained in OpenSolaris releases.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
* Fri Dec 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- Added javaws in defaults.list as the default application for the .jnlp files. Fixes bug #6351401
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Thu Jul 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- Added defaults.list file in the package. It provides the defaults application 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
  handler for all mime types. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
* Tue Jun 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- 6285970: create /usr/share/application-registry for RealPlayer
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
* Thu Jun 16 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
- Bump to 0.16, re-align patches
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Fri Apr 08 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- Added shared-mime-info-05-add-magic.diff to provide mime magic for
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
  staroffice and opendocuments file types. Fixes #6234855.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Thu Mar 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- Add some more media types to get things working.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Thu Jan 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Added shared-mime-info-04-mime-type-mrproject.diff patch to 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
  associate the application planner for .mrproject files. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
  Fixes bug #6217022.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
* Fri Nov 05 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- Added shared-mime-info-03-mime-type-staroffice-capital.diff to associate  
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
  correct mime type for staroffice applications extension in capitals.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
  Fixes bug #5097261.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Thu Oct 28 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- Add update-mime-database.1 man page
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
* Wed Sep 15 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
- Added shared-mime-info-02-g11n-alllinguas.diff, to update support for all linguas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
* Thu Jul 08 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
- Updated l10n content to shared-mime-info-l10n-po-1.2.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
* Thu Jul 08 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
- ported to rpm4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
* Wed Jul 07 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
- added "-j $CPUS" to make to speed up builds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
* Wed May 12 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
- Updated l10n content to shared-mime-info-l10n-po-1.1.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
* Mon Apr 5 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
- Bump to 0.14.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
* Wed Mar 31 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
- replace tar jxf with the more solaris friendly
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
  bzcat piped through tar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
* Mon Mar 29 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
- Adding shared-mime-info-l10n-po-1.0.tar.bz2 l10n content
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
* Thu Mar 11 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
- added shared-mime-info-01-g11n-potfiles.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
* Tue Mar 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
- remove "-n gtkam" from changelog tag
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
- add ACLOCAL_FLAGS to aclocal args
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
* Mon Feb 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
- Update Distro
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
* Mon Feb 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
- Initial version