source: projects/specs/trunk/s/shared-mime-info/shared-mime-info-vl.spec @ 7938

Revision 7938, 4.0 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.10.1

Line 
1Summary: Shared MIME information database
2Summary(ja): 共有 MIME 情報データベース
3Name: shared-mime-info
4Version: 1.2
5Release: 1%{?_dist_release}
6License: GPL
7Group: User Interface/Desktops
8URL: http://freedesktop.org/wiki/Software/shared-mime-info
9Source0: %{name}-%{version}.tar.xz
10Source1: defaults.list
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  gawk
14BuildRequires:  libxml2-devel
15BuildRequires:  glib2-devel >= 2.6.0
16BuildRequires:  gettext
17# For intltool:
18BuildRequires: perl-XML-Parser >= 2.31-16
19Requires: libxml2
20Requires: glib2 >= 2.6.0
21
22%description
23This is the freedesktop.org shared MIME info database.
24
25Many programs and desktops use the MIME system to represent the types of
26files. Frequently, it is necessary to work out the correct MIME type for
27a file. This is generally done by examining the file's name or contents,
28and looking up the correct MIME type in a database.
29
30%prep
31%setup -q
32
33%build
34%configure --disable-update-mimedb
35make
36
37%install
38rm -rf $RPM_BUILD_ROOT
39%makeinstall
40
41mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
42install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
43
44## remove these bogus files
45rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
46
47%post
48%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(-,root,root,-)
55%doc README NEWS shared-mime-info-spec.xml
56%{_bindir}/*
57%dir %{_datadir}/mime/
58%{_datadir}/mime/packages
59%{_datadir}/applications/defaults.list
60%{_datadir}/pkgconfig/*.pc
61%{_mandir}/man*/*
62
63%changelog
64* Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
65- new upstream release
66
67* Sun Mar 03 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1-1
68- new upstream release
69- changed source archive bz2 to xz
70
71* Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 0.71-2
72- rebuilt with rpm-4.8.1 for pkg-config
73
74* Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.71-1
75- new upstream release
76
77* Mon Aug 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.51-1
78- new upstream release
79- sepc in UTF-8
80
81* Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.30-1
82- new upstream release
83- updated Source1
84
85* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-1vl5
86- new upstream release
87
88* Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22-0vl1
89- new upstream release
90- changed Group to User Interface/Desktops
91
92* Wed Feb  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.20-0vl1
93- new upstream release
94- changed pkgconfig dir
95
96* Sun Nov 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.19-0vl1
97- new upstream release
98
99* Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16-0vl1
100- new upstream release
101
102* Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-10vl1
103- initial build for Vine Linux based on fedora package.
104
105* Mon Oct 18 2004 Alexander Larsson <alexl@redhat.com> - 0.15-10
106- Fix for mime sniffing on big-endian
107
108* Thu Oct 14 2004 Colin Walters <walters@redhat.com> - 0.15-9
109- Handle renaming of hxplay.desktop to realplay.desktop
110
111* Wed Oct 13 2004 Matthias Clasen <mclasen@redhat.com> - 0.15-8
112- Handle XUL files. #134122
113
114* Wed Oct 13 2004 Colin Walters <walters@redhat.com> - 0.15-7
115- Make helix default for ogg and mp3, will switch wav/flac too
116  when support is added
117
118* Wed Oct  6 2004 Alexander Larsson <alexl@redhat.com> - 0.15-6
119- Change default pdf viewer to ggv
120
121* Tue Sep  7 2004 Alexander Larsson <alexl@redhat.com> - 0.15-4
122- Fixed evo desktop file reference in defaults.list
123
124* Mon Sep  6 2004 Caolan McNamara <caolanm@redhat.com> - 0.15-3
125- wpd can be opened in abiword, but not in openoffice.org (#114907)
126
127* Fri Sep  3 2004 Alexander Larsson <alexl@redhat.com> - 0.15-2
128- Add list of default apps (#131643)
129
130* Mon Aug 30 2004 Jonathan Blandford <jrb@redhat.com> 0.15-1
131- bump version
132
133* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
134- rebuilt
135
136* Mon Mar 22 2004 Alex Larsson <alexl@redhat.com> 0.14-1
137- update to 0.14
138
139* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
140- rebuilt
141
142* Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.13-1
143- 0.13
144
145* Fri Jan 16 2004 Alexander Larsson <alexl@redhat.com> mime-info
146- Initial build.
Note: See TracBrowser for help on using the repository browser.