auto-import changelog data from gimp-2.0.4-3.src.rpm

Thu Aug 26 2004 Nils Philippsen <nphilipp@redhat.com>
- add MimeType to desktop file
This commit is contained in:
cvsdist 2004-09-09 05:19:54 +00:00
parent a467fae9a6
commit 50517ce24d

View File

@ -17,7 +17,7 @@ Version: 2.0.4
%if %prever
Release: 0.%{prever}.1
%else
Release: 2
Release: 3
%endif
Epoch: 1
License: GPL, LGPL
@ -159,6 +159,13 @@ mkdir -p $RPM_BUILD_ROOT/%{_infodir} $RPM_BUILD_ROOT/%{_includedir} \
# makeinstall macro won't work here - libexec is overriden
make DESTDIR=$RPM_BUILD_ROOT install
# build MimeType list
pushd $RPM_BUILD_ROOT%{_datadir}/gimp/%{subver}/misc
# canary
[ ! "$(perl -e 'while (<>) { m/^MimeType=/ && print $_ }' < gimp.desktop)" ]
perl -e 'print "MimeType="; while (<>) { m/^$/ && next; m/^[ \t]/ && next; m/^#/ && next; chomp (); print "$_;"; } print "\n";' < gimp.keys >> gimp.desktop
popd
#
# Plugins and modules change often (grab the executeable ones)
#
@ -330,6 +337,9 @@ cat gimp-plugin-files gimp-all.lang > gimp.files
%{_libdir}/pkgconfig/*
%changelog
* Thu Aug 26 2004 Nils Philippsen <nphilipp@redhat.com>
- add MimeType to desktop file
* Tue Aug 10 2004 Nils Philippsen <nphilipp@redhat.com>
- build requires libwmf-devel