- Update to 0.19

This commit is contained in:
Christopher Aillon 2006-08-25 17:16:04 +00:00
parent de79793429
commit c3db303051
3 changed files with 11 additions and 11 deletions

View File

@ -1 +1 @@
shared-mime-info-0.18.tar.gz
shared-mime-info-0.19.tar.gz

View File

@ -1,7 +1,7 @@
Summary: Shared MIME information database
Name: shared-mime-info
Version: 0.18
Release: 2
Version: 0.19
Release: 1
License: GPL
Group: System Environment/Libraries
URL: http://freedesktop.org/Software/shared-mime-info
@ -9,8 +9,6 @@ Source0: %{name}-%{version}.tar.gz
Source1: defaults.list
Patch0: shared-mime-info-0.16-cisco-vpn.patch
# https://bugs.freedesktop.org/show_bug.cgi?id=4675
Patch1: shared-mime-info-0.16-fonts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: libxml2-devel
@ -30,27 +28,26 @@ and looking up the correct MIME type in a database.
%prep
%setup -q
%patch0 -p0 -b .cisco-vpn
%patch1 -p1 -b .fonts
%build
%configure --disable-update-mimedb
make
%install
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
%{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/applications
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
## remove these bogus files
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
%post
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
@ -63,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man*/*
%changelog
* Fri Aug 25 2006 Christopher Aillon <caillon@redhat.com> - 0.19-1
- Update to 0.19
* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 0.18-2
- add an inode/directory entry to defaults.list (#187021)

View File

@ -1 +1 @@
63398294a078dd9f72a7c4e122a668c8 shared-mime-info-0.18.tar.gz
056a86a8245aecfd9c80740380c5265a shared-mime-info-0.19.tar.gz