auto-import changelog data from gimp-1.2.3-8.src.rpm
Fri Aug 30 2002 Matt Wilson <msw@redhat.com> - use desktop-file-install - nuke rpath in perl plugin
This commit is contained in:
parent
1559aa2e07
commit
51a48ad7c7
17
gimp.spec
17
gimp.spec
@ -5,7 +5,7 @@
|
|||||||
Summary: The GNU Image Manipulation Program.
|
Summary: The GNU Image Manipulation Program.
|
||||||
Name: gimp
|
Name: gimp
|
||||||
Version: %{subver}.%{microver}
|
Version: %{subver}.%{microver}
|
||||||
Release: 7
|
Release: 8
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Copyright: GPL, LGPL
|
Copyright: GPL, LGPL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -15,6 +15,7 @@ Obsoletes: gimp-data-min
|
|||||||
Obsoletes: gimp-libgimp
|
Obsoletes: gimp-libgimp
|
||||||
Requires: gtk+ >= 1.2.0
|
Requires: gtk+ >= 1.2.0
|
||||||
BuildRequires: gtk+-devel
|
BuildRequires: gtk+-devel
|
||||||
|
Requires: /usr/bin/desktop-file-install
|
||||||
Source0: ftp://ftp.gimp.org/pub/gimp/v%{subver}/v%{version}/%{name}-%{version}.tar.bz2
|
Source0: ftp://ftp.gimp.org/pub/gimp/v%{subver}/v%{version}/%{name}-%{version}.tar.bz2
|
||||||
Source1: gimp.desktop
|
Source1: gimp.desktop
|
||||||
Source2: gimp.png
|
Source2: gimp.png
|
||||||
@ -94,6 +95,7 @@ chmod 755 tmptool
|
|||||||
rootdir=`pwd`
|
rootdir=`pwd`
|
||||||
pushd plug-ins/perl
|
pushd plug-ins/perl
|
||||||
perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor < /dev/null
|
perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor < /dev/null
|
||||||
|
perl -pi -e "s!-Wl,-rpath,$installarchlib/CORE!!g" Makefile
|
||||||
for I in `find -name Makefile`; do
|
for I in `find -name Makefile`; do
|
||||||
sed "s,/usr/bin/gimptool,$rootdir/tmptool,g" $I > $I-
|
sed "s,/usr/bin/gimptool,$rootdir/tmptool,g" $I > $I-
|
||||||
mv $I- $I
|
mv $I- $I
|
||||||
@ -180,7 +182,12 @@ cat gimp-perl gimp-perl-plugin-files >> gimp-perl-files
|
|||||||
# install desktop entry
|
# install desktop entry
|
||||||
mkdir -p %{buildroot}/%{_datadir}/applications
|
mkdir -p %{buildroot}/%{_datadir}/applications
|
||||||
mkdir -p %{buildroot}/%{_datadir}/mc/templates
|
mkdir -p %{buildroot}/%{_datadir}/mc/templates
|
||||||
install -m 644 $RPM_SOURCE_DIR/gimp.desktop %{buildroot}/%{_datadir}/applications
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
||||||
|
desktop-file-install \
|
||||||
|
--vendor gnome \
|
||||||
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
|
--add-category "Application;Graphics;X-Red-Hat-Base" \
|
||||||
|
$RPM_SOURCE_DIR/gimp.desktop
|
||||||
install -m 644 $RPM_SOURCE_DIR/gimp.desktop %{buildroot}/%{_datadir}/mc/templates
|
install -m 644 $RPM_SOURCE_DIR/gimp.desktop %{buildroot}/%{_datadir}/mc/templates
|
||||||
mkdir -p %{buildroot}/usr/share/pixmaps
|
mkdir -p %{buildroot}/usr/share/pixmaps
|
||||||
install -m 644 $RPM_SOURCE_DIR/gimp.png %{buildroot}/%{_datadir}/pixmaps
|
install -m 644 $RPM_SOURCE_DIR/gimp.png %{buildroot}/%{_datadir}/pixmaps
|
||||||
@ -196,7 +203,7 @@ install -m 644 $RPM_SOURCE_DIR/gimp.png %{buildroot}/%{_datadir}/pixmaps
|
|||||||
%defattr (0644, root, root, 0755)
|
%defattr (0644, root, root, 0755)
|
||||||
%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO
|
%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO
|
||||||
%doc docs/*.txt docs/*.eps ABOUT-NLS README.i18n README.perl README.win32 TODO
|
%doc docs/*.txt docs/*.eps ABOUT-NLS README.i18n README.perl README.win32 TODO
|
||||||
%attr(-,root,root) %config(missingok) /%{_datadir}/applications/gimp.desktop
|
%attr(-,root,root) %config(missingok) /%{_datadir}/applications/*.desktop
|
||||||
%attr(-,root,root) %config(missingok) /%{_datadir}/mc/templates/gimp.desktop
|
%attr(-,root,root) %config(missingok) /%{_datadir}/mc/templates/gimp.desktop
|
||||||
%{_datadir}/pixmaps/gimp.png
|
%{_datadir}/pixmaps/gimp.png
|
||||||
|
|
||||||
@ -274,6 +281,10 @@ install -m 644 $RPM_SOURCE_DIR/gimp.png %{buildroot}/%{_datadir}/pixmaps
|
|||||||
%{_bindir}/xcftopnm
|
%{_bindir}/xcftopnm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 30 2002 Matt Wilson <msw@redhat.com>
|
||||||
|
- use desktop-file-install
|
||||||
|
- nuke rpath in perl plugin
|
||||||
|
|
||||||
* Mon Aug 19 2002 Matt Wilson <msw@redhat.com>
|
* Mon Aug 19 2002 Matt Wilson <msw@redhat.com>
|
||||||
- fix up gimp-perl madness to work with 5.8.0 (#66610, #68782)
|
- fix up gimp-perl madness to work with 5.8.0 (#66610, #68782)
|
||||||
- added gimp-1.2.3-newperl.patch.bz2 from Mandrake's gimp package
|
- added gimp-1.2.3-newperl.patch.bz2 from Mandrake's gimp package
|
||||||
|
Loading…
Reference in New Issue
Block a user