auto-import changelog data from shared-mime-info-0.13-1.src.rpm
Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.13-1 - 0.13 Fri Jan 16 2004 Alexander Larsson <alexl@redhat.com> mime-info - Initial build.
This commit is contained in:
parent
7d49f47cc2
commit
e8aa3bcdb1
@ -0,0 +1 @@
|
||||
shared-mime-info-0.13.tar.gz
|
65
shared-mime-info.spec
Normal file
65
shared-mime-info.spec
Normal file
@ -0,0 +1,65 @@
|
||||
Summary: Shared MIME information database
|
||||
Name: shared-mime-info
|
||||
Version: 0.13
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: System Environment/Libraries
|
||||
URL: http://freedesktop.org/Software/shared-mime-info
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel
|
||||
# For intltool:
|
||||
BuildRequires: perl-XML-Parser >= 2.31-16
|
||||
Requires: libxml2 glib2
|
||||
|
||||
# Needed until --disable-update-mimedb is added
|
||||
Patch1: shared-mime-info-0.13-noupdate.patch
|
||||
|
||||
%description
|
||||
This is the freedesktop.org shared MIME info database.
|
||||
|
||||
Many programs and desktops use the MIME system to represent the types of
|
||||
files. Frequently, it is necessary to work out the correct MIME type for
|
||||
a file. This is generally done by examining the file's name or contents,
|
||||
and looking up the correct MIME type in a database.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .noupdate
|
||||
|
||||
%build
|
||||
|
||||
#workaround broken perl-XML-Parser on 64bit arches
|
||||
export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.2 perl
|
||||
|
||||
%configure --disable-update-mimedb
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%makeinstall
|
||||
|
||||
## remove these bogus files
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
|
||||
|
||||
%post
|
||||
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README NEWS shared-mime-info-spec.xml
|
||||
%{_bindir}/*
|
||||
%dir %{_datadir}/mime/
|
||||
%{_datadir}/mime/packages
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.13-1
|
||||
- 0.13
|
||||
|
||||
* Fri Jan 16 2004 Alexander Larsson <alexl@redhat.com> mime-info
|
||||
- Initial build.
|
Loading…
Reference in New Issue
Block a user