auto-import changelog data from xsane-0.62-4.src.rpm
Mon Jan 08 2001 Matt Wilson <msw@redhat.com> - fix post script of gimp subpackage to install into the correct location Mon Dec 25 2000 Matt Wilson <msw@redhat.com> - rebuilt against gimp 1.2.0 Thu Dec 21 2000 Matt Wilson <msw@redhat.com> - rebuilt against gimp 1.1.32 - use -DGIMP_ENABLE_COMPAT_CRUFT=1 to build with compat macros Thu Oct 12 2000 Than Ngo <than@redhat.com> - 0.62
This commit is contained in:
parent
04b2f12a71
commit
e6085494c1
@ -1 +1 @@
|
|||||||
xsane-0.61.tar.gz
|
xsane-0.62.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
1464d82315c15deb5f4f3d9d392d6285 xsane-0.61.tar.gz
|
933c315ac2cda571b9720be1f77a813b xsane-0.62.tar.gz
|
||||||
|
39
xsane.spec
39
xsane.spec
@ -1,7 +1,7 @@
|
|||||||
Name: xsane
|
Name: xsane
|
||||||
Summary: An X Window System front-end for the SANE scanner interface.
|
Summary: An X Window System front-end for the SANE scanner interface.
|
||||||
Version: 0.61
|
Version: 0.62
|
||||||
Release: 3
|
Release: 4
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
|
URL: http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
|
||||||
@ -20,6 +20,7 @@ performing the scan and then manipulating the captured image.
|
|||||||
Summary: A GIMP plugin which provides a scanner interface.
|
Summary: A GIMP plugin which provides a scanner interface.
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Requires: sane >= 1.0
|
Requires: sane >= 1.0
|
||||||
|
Prereq: /usr/bin/gimp-config /usr/bin/awk sh-utils fileutils
|
||||||
|
|
||||||
%description gimp
|
%description gimp
|
||||||
This package is the same as the regular XSane program, but it works as
|
This package is the same as the regular XSane program, but it works as
|
||||||
@ -31,14 +32,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1}
|
||||||
%configure --with-install-root=%{buildroot}
|
%configure --with-install-root=%{buildroot}
|
||||||
make CXXFLAGS="$RPM_OPT_FLAGS"
|
make
|
||||||
|
|
||||||
mv src/xsane src/xsane-gimp
|
mv src/xsane src/xsane-gimp
|
||||||
|
|
||||||
make clean
|
make clean
|
||||||
%configure --with-install-root=%{buildroot} --disable-gimp
|
%configure --with-install-root=%{buildroot} --disable-gimp
|
||||||
make CXXFLAGS="$RPM_OPT_FLAGS"
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -75,14 +77,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/xsane-gimp
|
%{_bindir}/xsane-gimp
|
||||||
|
|
||||||
%post gimp
|
%post gimp
|
||||||
if [ -d /usr/lib/gimp/1.1 ]; then
|
GIMPPLUGINDIR=`/usr/bin/gimp-config --gimpplugindir`
|
||||||
if [ ! -s /usr/lib/gimp/1.1/plug-ins/xsane ]; then
|
if [ -z "$GIMPPLUGINDIR" ]; then
|
||||||
ln -s ../../../../bin/xsane-gimp /usr/lib/gimp/1.1/plug-ins/xsane
|
GIMPPLUGINDIR=/usr/lib/gimp/1.2
|
||||||
fi
|
fi
|
||||||
elif [ -d /usr/lib/gimp/1.0 ]; then
|
RELPATH=`echo $GIMPPLUGINDIR | awk '
|
||||||
if [ ! -s /usr/lib/gimp/1.0/plug-ins/xsane ]; then
|
BEGIN { FS="/"; i = 1} {while (i < NF) { printf("../"); i = i + 1} }'`
|
||||||
ln -s ../../../../bin/xsane-gimp /usr/lib/gimp/1.0/plug-ins/xsane
|
if [ ! -s $GIMPPLUGINDIR/plug-ins/xsane ]; then
|
||||||
fi
|
ln -s $RELPATH/bin/xsane-gimp $GIMPPLUGINDIR/plug-ins/xsane
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -93,6 +95,19 @@ if [ $1 = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 8 2001 Matt Wilson <msw@redhat.com>
|
||||||
|
- fix post script of gimp subpackage to install into the correct location
|
||||||
|
|
||||||
|
* Mon Dec 25 2000 Matt Wilson <msw@redhat.com>
|
||||||
|
- rebuilt against gimp 1.2.0
|
||||||
|
|
||||||
|
* Thu Dec 21 2000 Matt Wilson <msw@redhat.com>
|
||||||
|
- rebuilt against gimp 1.1.32
|
||||||
|
- use -DGIMP_ENABLE_COMPAT_CRUFT=1 to build with compat macros
|
||||||
|
|
||||||
|
* Thu Oct 12 2000 Than Ngo <than@redhat.com>
|
||||||
|
- 0.62
|
||||||
|
|
||||||
* Wed Aug 23 2000 Matt Wilson <msw@redhat.com>
|
* Wed Aug 23 2000 Matt Wilson <msw@redhat.com>
|
||||||
- rebuilt against gimp-1.1.25
|
- rebuilt against gimp-1.1.25
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user