0aa144
# if you rebuild, please change bugtracker_url accordingly:
0aa144
%global bugtracker_url http://bugzilla.redhat.com
0aa144
0aa144
%global gimpplugindir %(gimptool --gimpplugindir 2>/dev/null || echo INVALID)/plug-ins
0aa144
%global iconrootdir %{_datadir}/icons/hicolor
0aa144
0aa144
# needed for off-root building
0aa144
%global _configure ../configure
0aa144
0aa144
Name: xsane
0aa144
Summary: X Window System front-end for the SANE scanner interface
0aa144
Version: 0.999
0aa144
Release: 42%{?dist}
0aa144
Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz
0aa144
Source1: xsane-256x256.png
0aa144
# use "xdg-open" instead of "netscape" to launch help browser
0aa144
# submitted to upstream (Oliver Rauch) via email, 2013-06-04
0aa144
Patch0: xsane-0.995-xdg-open.patch
0aa144
# submitted to upstream (Oliver Rauch) via email, 2009-08-18
0aa144
Patch1: xsane-0.995-close-fds.patch
0aa144
# https://bugzilla.redhat.com/show_bug.cgi?id=504344
0aa144
# distro-specific(?), upstream won't accept it: "don't show license dialog"
0aa144
# submitted to upstream (Oliver Rauch) anyway via email, 2013-06-04
0aa144
Patch2: xsane-0.996-no-eula.patch
0aa144
# enable off-root building
0aa144
# submitted to upstream (Oliver Rauch) via email, 2010-06-23
0aa144
Patch3: xsane-0.997-off-root-build.patch
0aa144
# https://bugzilla.redhat.com/show_bug.cgi?id=608047
0aa144
# https://bugzilla.redhat.com/show_bug.cgi?id=621778
0aa144
# submitted to upstream (Oliver Rauch) via email, 2013-07-05
0aa144
Patch4: xsane-0.999-no-file-selected.patch
0aa144
# https://bugzilla.redhat.com/show_bug.cgi?id=198422
0aa144
# submitted to upstream (Oliver Rauch) via email, 2010-06-29
0aa144
Patch5: xsane-0.997-ipv6.patch
0aa144
# https://bugzilla.redhat.com/show_bug.cgi?id=624190
0aa144
# fix from: https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/370818
0aa144
# submitted to upstream (Oliver Rauch) via email, 2011-06-01
0aa144
Patch6: xsane-0.998-preview-selection.patch
0aa144
# fix building with libpng >= 1.5
0aa144
# submitted to upstream (Oliver Rauch) via email, 2011-11-21
0aa144
Patch7: xsane-0.998-libpng.patch
0aa144
# https://bugzilla.redhat.com/show_bug.cgi?id=795085
0aa144
# set program name/wmclass so GNOME shell picks appropriate high resolution
0aa144
# icon file
0aa144
# submitted to upstream (Oliver Rauch) via email, 2013-06-04
0aa144
Patch8: xsane-0.998-wmclass.patch
0aa144
# partly distro-specific: customize desktop file
0aa144
# submitted to upstream (Oliver Rauch) via email, 2013-06-04
0aa144
Patch9: xsane-0.998-desktop-file.patch
0aa144
# man page: update command line options
0aa144
# submitted to upstream (Oliver Rauch) via email, 2013-07-08
0aa144
Patch10: xsane-0.999-man-page.patch
0aa144
# avoid producing PDFs with bpp > 8
0aa144
# submitted to upstream (Oliver Rauch) via email, 2013-09-09
0aa144
Patch11: xsane-0.999-pdf-no-high-bpp.patch
0aa144
# build against lcms 2.x
0aa144
# submitted to upstream (Oliver Rauch) via email, 2013-09-23
0aa144
Patch12: xsane-0.999-lcms2.patch
0aa144
# fix issues found during static analysis that don't require far-reaching
0aa144
# refactoring
0aa144
# submitted to upstream (Oliver Rauch) via email, 2014-04-02
0aa144
Patch13: xsane-0.999-coverity.patch
0aa144
# update lib/snprintf.c to the latest version from LPRng that has a Free license
0aa144
# submitted to upstream (Oliver Rauch) via email, 2014-05-29
0aa144
Patch14: xsane-0.999-snprintf-update.patch
0aa144
# fix signal handling (#1073698)
0aa144
# submitted to upstream (Oliver Rauch) via email, 2014-07-03
0aa144
Patch15: xsane-0.999-signal-handling.patch
0aa144
0aa144
# autoconf-generated files
0aa144
Patch100: xsane-0.999-7-autoconf.patch.bz2
0aa144
License: GPLv2+ and LGPLv2+
0aa144
URL: http://www.xsane.org/
0aa144
0aa144
# gcc is no longer in buildroot by default
0aa144
BuildRequires: gcc
0aa144
# uses make
0aa144
BuildRequires: make
0aa144
%if 0%{?rhel} <= 8 || 0%{?fedora}
0aa144
BuildRequires: gimp-devel
0aa144
%endif
0aa144
BuildRequires: gtk2-devel
0aa144
BuildRequires: lcms2-devel
0aa144
BuildRequires: libjpeg-devel
0aa144
BuildRequires: libpng-devel
0aa144
BuildRequires: sane-backends-devel >= 1.0.19-15
0aa144
BuildRequires: desktop-file-utils >= 0.2.92
0aa144
BuildRequires: libtiff-devel
0aa144
BuildRequires: gettext-devel
0aa144
Requires: xsane-common
0aa144
Requires: hicolor-icon-theme
0aa144
0aa144
%description
0aa144
XSane is an X based interface for the SANE (Scanner Access Now Easy)
0aa144
library, which provides access to scanners, digital cameras, and other
0aa144
capture devices. XSane is written in GTK+ and provides control for
0aa144
performing the scan and then manipulating the captured image.
0aa144
0aa144
%if 0%{?rhel} <= 8 || 0%{?fedora}
0aa144
%package gimp
0aa144
Summary: GIMP plug-in providing the SANE scanner interface
0aa144
Requires: gimp >= 2:2.2.12-4
0aa144
Requires: xsane-common
0aa144
0aa144
%description gimp
0aa144
This package provides the regular XSane frontend for the SANE scanner
0aa144
interface, but it works as a GIMP plug-in. You must have GIMP
0aa144
installed to use this package.
0aa144
%endif
0aa144
0aa144
%package common
0aa144
Summary: Common files for xsane packages
0aa144
0aa144
%description common
0aa144
This package contains common files needed by other xsane packages.
0aa144
0aa144
%prep
0aa144
%setup -q
0aa144
0aa144
# convert some files to UTF-8
0aa144
for doc in xsane.{CHANGES,PROBLEMS,INSTALL}; do
0aa144
    iconv -f ISO-8859-1 -t utf8 "$doc" -o "$doc.new" && \
0aa144
    touch -r "$doc" "$doc.new" && \
0aa144
    mv "$doc.new" "$doc"
0aa144
done
0aa144
0aa144
%patch0 -p1 -b .xdg-open
0aa144
%patch1 -p1 -b .close-fds
0aa144
%patch2 -p1 -b .no-eula
0aa144
%patch3 -p1 -b .off-root-build
0aa144
%patch4 -p1 -b .no-file-selected
0aa144
%patch5 -p1 -b .ipv6
0aa144
%patch6 -p1 -b .preview-selection.patch
0aa144
%patch7 -p1 -b .libpng
0aa144
%patch8 -p1 -b .wmclass
0aa144
%patch9 -p1 -b .desktop-file
0aa144
%patch10 -p1 -b .man-page
0aa144
%patch11 -p1 -b .pdf-no-high-bpp
0aa144
%patch12 -p1 -b .lcms2
0aa144
%patch13 -p1 -b .coverity
0aa144
%patch14 -p1 -b .snprintf-update
0aa144
%patch15 -p1 -b .signal-handling
0aa144
0aa144
%patch100 -p1 -b .autoconf
0aa144
0aa144
# in-root config.h breaks off-root building
0aa144
rm include/config.h
0aa144
0aa144
mkdir build-with-gimp
0aa144
mkdir build-without-gimp
0aa144
0aa144
%build
0aa144
CFLAGS='%optflags -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"%{bugtracker_url}\"'
0aa144
export CFLAGS
0aa144
0aa144
%if 0%{?rhel} <= 8 || 0%{?fedora}
0aa144
pushd build-with-gimp
0aa144
%configure --enable-gimp
0aa144
%make_build
0aa144
popd
0aa144
%endif
0aa144
0aa144
pushd build-without-gimp
0aa144
%configure --disable-gimp
0aa144
make
0aa144
popd
0aa144
0aa144
cp %{SOURCE1} src/
0aa144
0aa144
%install
0aa144
0aa144
pushd build-without-gimp
0aa144
%make_install
0aa144
popd
0aa144
0aa144
%if 0%{?rhel} <= 8 || 0%{?fedora}
0aa144
# install GIMP plugin
0aa144
install -m 0755 -d %{buildroot}%{gimpplugindir}
0aa144
install -m 0755 build-with-gimp/src/xsane %{buildroot}%{gimpplugindir}
0aa144
%endif
0aa144
0aa144
# install customized desktop file
0aa144
rm %{buildroot}%{_datadir}/applications/xsane.desktop
0aa144
desktop-file-install \
0aa144
    --dir %{buildroot}%{_datadir}/applications \
0aa144
    src/xsane.desktop
0aa144
0aa144
# icon files in multiple resolutions
0aa144
for res in 16 32 48 256; do
0aa144
    tdir="%{buildroot}%{iconrootdir}/${res}x${res}/apps"
0aa144
    install -m 0755 -d "$tdir"
0aa144
    install -m 0644 src/xsane-${res}x${res}.png "${tdir}/xsane.png"
0aa144
done
0aa144
0aa144
# Register as an application to be visible in the software center
0aa144
#
0aa144
# NOTE: It would be *awesome* if this file was maintained by the upstream
0aa144
# project, translated and installed into the right place during `make install`.
0aa144
#
0aa144
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
0aa144
#
0aa144
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
0aa144
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <
0aa144
0aa144
0aa144
0aa144
EmailAddress: Oliver.Rauch@xsane.org
0aa144
SentUpstream: 2014-09-17
0aa144
-->
0aa144
<application>
0aa144
  <id type="desktop">xsane.desktop</id>
0aa144
  <metadata_license>CC0-1.0</metadata_license>
0aa144
  <summary>Scan images with a scanner</summary>
0aa144
  <description>
0aa144
    

0aa144
      XSane is an application to scan images using a hardware scanner attached
0aa144
      to your computer.
0aa144
      It is able to save in a variety of image formats, including TIFF and JPEG
0aa144
      and can even save your scan as a PDF.
0aa144
      XSane also has support for scanning multiple pages and merging them into
0aa144
      a single document.
0aa144
    

0aa144
  </description>
0aa144
  <url type="homepage">http://www.xsane.org/</url>
0aa144
  <screenshots>
0aa144
    <screenshot type="default">http://www.xsane.org/doc/xsane-save.jpg</screenshot>
0aa144
  </screenshots>
0aa144
</application>
0aa144
EOF
0aa144
0aa144
%find_lang %{name} XSANE.lang
0aa144
0aa144
%if 0%{?rhel} <= 8 || 0%{?fedora}
0aa144
%pre gimp
0aa144
# remove obsolete gimp-plugin-mgr managed symlink
0aa144
if [ -L "%{gimpplugindir}/xsane" ]; then
0aa144
    rm -f "%{gimpplugindir}/xsane"
0aa144
fi
0aa144
%endif
0aa144
0aa144
%files -f XSANE.lang
0aa144
%doc xsane.ACCELKEYS xsane.AUTHOR xsane.BEGINNERS-INFO xsane.BUGS xsane.CHANGES xsane.FAQ xsane.LANGUAGES xsane.LOGO xsane.NEWS xsane.ONLINEHELP xsane.PROBLEMS xsane.ROOT xsane.TODO
0aa144
%license xsane.COPYING
0aa144
%{_bindir}/xsane
0aa144
%{_mandir}/man1/*
0aa144
%if %{with desktop_vendor_tag}
0aa144
%{_datadir}/appdata/%{name}.appdata.xml
0aa144
%{_datadir}/applications/fedora-xsane.desktop
0aa144
%else
0aa144
%{_datadir}/appdata/%{name}.appdata.xml
0aa144
%{_datadir}/applications/xsane.desktop
0aa144
%endif
0aa144
%{_datadir}/pixmaps/xsane.xpm
0aa144
%{iconrootdir}/*/apps/%{name}.png
0aa144
0aa144
%if 0%{?rhel} <= 8 || 0%{?fedora}
0aa144
%files gimp
0aa144
%{gimpplugindir}/xsane
0aa144
%endif
0aa144
0aa144
%files common
0aa144
%doc xsane.AUTHOR
0aa144
%license xsane.COPYING
0aa144
%dir %{_datadir}/sane
0aa144
%{_datadir}/sane/xsane
0aa144
0aa144
%changelog
0aa144
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.999-42
0aa144
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
0aa144
  Related: rhbz#1991688
0aa144
0aa144
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.999-41
0aa144
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
0aa144
0aa144
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-40
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0aa144
0aa144
* Thu Jan 14 2021 Zdenek Dohnal <zdohnal@redhat.com> - 0.999-39
0aa144
- remove gimp plugin for eln, put explicit requirement for GTK2
0aa144
0aa144
* Thu Nov 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.999-38
0aa144
- make is no longer in buildroot by default
0aa144
0aa144
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-37
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0aa144
0aa144
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 0.999-36
0aa144
- Use make macros
0aa144
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
0aa144
0aa144
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-35
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0aa144
0aa144
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-34
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0aa144
0aa144
* Tue Apr 09 2019 Zdenek Dohnal <zdohnal@redhat.com> - 0.999-33
0aa144
- rebuilt again (because bodhi cannot remove builds from even unpushed updates)
0aa144
0aa144
* Mon Apr 08 2019 Zdenek Dohnal <zdohnal@redhat.com> - 0.999-32
0aa144
- rebuilt for gimp-2.10.10
0aa144
0aa144
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-31
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0aa144
0aa144
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 0.999-30
0aa144
- correcting license
0aa144
0aa144
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-29
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0aa144
0aa144
* Mon Apr 09 2018 Zdenek Dohnal <zdohnal@redhat.com> - 0.999-28
0aa144
- remove dependency on ImageMagick and netpbm-progs, because they were needed for
0aa144
  tests during %%build phase, which were removed in commit SHA 0595c15da29
0aa144
0aa144
* Mon Apr 09 2018 Zdenek Dohnal <zdohnal@redhat.com> - 0.999-27
0aa144
- remove vendor tag, license needs to be in %%license (FPG)
0aa144
0aa144
* Mon Feb 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 0.999-26
0aa144
- remove old stuff
0aa144
- gcc is no longer in buildroot by default
0aa144
0aa144
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-25
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0aa144
0aa144
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.999-24
0aa144
- Remove obsolete scriptlets
0aa144
0aa144
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-23
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0aa144
0aa144
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-22
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0aa144
0aa144
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-21
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0aa144
0aa144
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.999-20
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0aa144
0aa144
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.999-19
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0aa144
0aa144
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.999-18
0aa144
- Add an AppData file for the software center
0aa144
0aa144
* Mon Dec 08 2014 David King <amigadave@amigadave.com> - 0.999-17
0aa144
- Depend on hicolor-icon-theme for icon directories (#1171826)
0aa144
0aa144
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.999-16
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0aa144
0aa144
* Thu Jul 03 2014 Nils Philippsen <nils@redhat.com> - 0.999-15
0aa144
- make signal-handling patch work with older glib versions
0aa144
- use consistent name for snprintf patch
0aa144
0aa144
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.999-14
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0aa144
0aa144
* Thu May 29 2014 Tom Callaway <spot@fedoraproject.org> - 0.999-13
0aa144
- update to newer snprintf implementation from LPRng that resolves license 
0aa144
  issue (#1102523)
0aa144
0aa144
* Thu Apr 03 2014 Nils Philippsen <nils@redhat.com> - 0.999-12
0aa144
- don't unnecessarily recreate 32px icon (#966301)
0aa144
- ship 16px icon
0aa144
0aa144
* Wed Apr 02 2014 Nils Philippsen <nils@redhat.com> - 0.999-11
0aa144
- fix coverity patch: ensure directories exist instead of indiscriminately
0aa144
  attempting to create them (#1079586)
0aa144
0aa144
* Wed Mar 19 2014 Nils Philippsen <nils@redhat.com> - 0.999-10
0aa144
- fix signal handling (#1073698)
0aa144
- fix issues found during static analysis that don't require far-reaching
0aa144
  refactoring
0aa144
0aa144
* Mon Sep 23 2013 Nils Philippsen <nils@redhat.com> - 0.999-7
0aa144
- get rid of ancient compat cruft
0aa144
- build against lcms2
0aa144
0aa144
* Mon Sep 09 2013 Nils Philippsen <nils@redhat.com> - 0.999-6
0aa144
- avoid producing PDFs with bpp > 8
0aa144
0aa144
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.999-5
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0aa144
0aa144
* Mon Jul 08 2013 Nils Philippsen <nils@redhat.com> - 0.999-4
0aa144
- man page: update command line options
0aa144
0aa144
* Fri Jul 05 2013 Nils Philippsen <nils@redhat.com> - 0.999-3
0aa144
- fix no-file-selected patch: change working directories (#621778, fix by Pavel
0aa144
  Polischouk)
0aa144
0aa144
* Thu Jun 27 2013 Nils Philippsen <nils@redhat.com> - 0.999-2
0aa144
- ensure correct autoconf patch is used
0aa144
0aa144
* Tue Jun 04 2013 Nils Philippsen <nils@redhat.com> - 0.999-1
0aa144
- version 0.999
0aa144
- remove obsolete patches
0aa144
- update/fix patch comments
0aa144
- fix changelog dates
0aa144
0aa144
* Fri May 17 2013 Nils Philippsen <nils@redhat.com> - 0.998-21
0aa144
- don't dereference NULL preview objects when quitting (#963696)
0aa144
- fix vendor tag logic in a prettier way
0aa144
0aa144
* Tue May 14 2013 Jon Ciesla <limburgher@gmail.com> - 0.998-20
0aa144
- Re-fix vendor tag logic.
0aa144
0aa144
* Fri Mar 08 2013 Nils Philippsen <nils@redhat.com> - 0.998-19
0aa144
- fix vendor tag retaining logic (thanks to Toshio Kuratomi)
0aa144
0aa144
* Thu Mar 07 2013 Nils Philippsen <nils@redhat.com> - 0.998-18
0aa144
- retain vendor tag up to Fedora 18
0aa144
0aa144
* Mon Feb 11 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.998-17
0aa144
- Add BR: ImageMagick for identify
0aa144
0aa144
* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.998-16
0aa144
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
0aa144
0aa144
* Wed Jan 30 2013 Nils Philippsen <nils@redhat.com> - 0.998-15
0aa144
- build with -fno-strict-aliasing
0aa144
- tidy up desktop file
0aa144
- catch errors when determining the %%gimpplugindir macro
0aa144
- use netpbm pipeline to create 32px PNG icon instead of convert (which embeds
0aa144
  timestamps in the resulting file)
0aa144
0aa144
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 0.998-14
0aa144
- rebuild due to "jpeg8-ABI" feature drop
0aa144
0aa144
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.998-13
0aa144
- rebuild against new libjpeg
0aa144
0aa144
* Mon Sep 03 2012 Nils Philippsen <nils@redhat.com> - 0.998-12
0aa144
- calculate minimum window size better for multi-head setups
0aa144
- correct man page (#675437)
0aa144
0aa144
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.998-11
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0aa144
0aa144
* Sat May 26 2012 Nils Philippsen <nils@redhat.com> - 0.998-10
0aa144
- add icon cache update scriptlets
0aa144
0aa144
* Fri May 25 2012 Nils Philippsen <nils@redhat.com> - 0.998-9
0aa144
- install and use higher resolution icons (#795085)
0aa144
0aa144
* Tue Apr 03 2012 Nils Philippsen <nils@redhat.com> - 0.998-8
0aa144
- rebuild against gimp 2.8.0 release candidate
0aa144
0aa144
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 0.998-7
0aa144
- rebuild for gcc 4.7
0aa144
0aa144
* Fri Dec 16 2011 Nils Philippsen <nils@redhat.com> - 0.998-6
0aa144
- rebuild for GIMP 2.7
0aa144
0aa144
* Mon Nov 21 2011 Nils Philippsen <nils@redhat.com> - 0.998-5
0aa144
- patch and rebuild for libpng-1.5
0aa144
0aa144
* Wed Jun 01 2011 Nils Philippsen <nils@redhat.com> - 0.998-4
0aa144
- fix a problem in mouse event processing that interferes with selecting the
0aa144
  scan rectangle in the preview window (#624190, patch by Reinhard Fössmeier)
0aa144
0aa144
* Mon Apr 04 2011 Nils Philippsen <nils@redhat.com> - 0.998-3
0aa144
- don't dereference unset xsane.preview (#693224)
0aa144
0aa144
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.998-2
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0aa144
0aa144
* Fri Nov 19 2010 Nils Philippsen <nils@redhat.com> - 0.998-1
0aa144
- version 0.998
0aa144
- patch desktop file instead of copying it over
0aa144
0aa144
* Tue Jul 13 2010 Nils Philippsen <nils@redhat.com> - 0.997-10
0aa144
- don't crash if no files are selected, take two
0aa144
0aa144
* Mon Jul 12 2010 Nils Philippsen <nils@redhat.com> - 0.997-9
0aa144
- distribute license and other documentation with xsane-common
0aa144
0aa144
* Tue Jun 29 2010 Nils Philippsen <nils@redhat.com> 0.997-8
0aa144
- support IPv6 (#198422)
0aa144
0aa144
* Mon Jun 28 2010 Nils Philippsen <nils@redhat.com> 0.997-7
0aa144
- work around old %%configure macro
0aa144
0aa144
* Mon Jun 28 2010 Nils Philippsen <nils@redhat.com> 0.997-6
0aa144
- don't crash if no files are selected (#608047)
0aa144
0aa144
* Wed Jun 23 2010 Nils Philippsen <nils@redhat.com> 0.997-5
0aa144
- don't use gimp-plugin-mgr anymore
0aa144
- use off-root builds
0aa144
0aa144
* Thu Feb 25 2010 Nils Philippsen <nils@redhat.com> 0.997-4
0aa144
- quote RPM macros in changelog
0aa144
0aa144
* Tue Aug 18 2009 Nils Philippsen <nils@redhat.com>
0aa144
- explain patches
0aa144
0aa144
* Wed Aug 05 2009 Nils Philippsen <nils@redhat.com> 0.997-3
0aa144
- Merge Review (#226658):
0aa144
  - replace %%desktop_vendor macro with "fedora"
0aa144
  - fix xsane-gimp requirements
0aa144
  - move EULA and documentation into -common subpackage
0aa144
0aa144
* Mon Aug 03 2009 Nils Philippsen <nils@redhat.com> 0.997-2
0aa144
- remove ExcludeArch: s390 s390x
0aa144
0aa144
* Fri Jul 31 2009 Nils Philippsen <nils@redhat.com> 0.997-1
0aa144
- version 0.997
0aa144
- drop obsolete sane-backends-1.0.20 patch
0aa144
0aa144
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.996-10
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0aa144
0aa144
* Tue Jul 21 2009 Nils Philippsen <nils@redhat.com> 0.996-9
0aa144
- don't show EULA, mention bugzilla in about dialog (#504344)
0aa144
0aa144
* Mon Jul 20 2009 Nils Philippsen <nils@redhat.com> 0.996-8
0aa144
- don't use obsolete SANE_CAP_ALWAYS_SETTABLE macro (#507823)
0aa144
0aa144
* Tue Jul  7 2009 Tom "spot" Callaway <tcallawa@redhat.com> 0.996-7
0aa144
- don't own %%{_datadir}/applications/ (filesystem package owns it)
0aa144
0aa144
* Fri May 29 2009 Nils Philippsen <nils@redhat.com>
0aa144
- Merge review (#226658):
0aa144
  - convert documentation files to UTF-8
0aa144
  - don't BR: sed
0aa144
  - don't own %%{_datadir}/applications, %%{_sysconfdir}/gimp,
0aa144
    %%{_sysconfdir}/gimp/plugins.d
0aa144
  - don't package unnecessary documentation
0aa144
0aa144
* Mon Mar 02 2009 Nils Philippsen <nils@redhat.com> - 0.996-6
0aa144
- rebuild against new sane-backends (just in case)
0aa144
0aa144
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.996-4
0aa144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0aa144
0aa144
* Tue Jan 20 2009 Nils Philippsen <nphilipp@redhat.com> - 0.996-3
0aa144
- pickup changed desktop file, close-fds patch in F9, F10
0aa144
0aa144
* Tue Jan 20 2009 Nils Philippsen <nphilipp@redhat.com> - 0.996-2
0aa144
- BR: lcms-devel
0aa144
0aa144
* Sun Jan 18 2009 Nils Philippsen <nphilipp@redhat.com> - 0.996-1
0aa144
- version 0.996
0aa144
- don't use %%makeinstall
0aa144
- use shipped xsane.xpm as application icon
0aa144
0aa144
* Fri Jul 18 2008 Nils Philippsen <nphilipp@redhat.com> - 0.995-5
0aa144
- fix fd leak prevention (#455450)
0aa144
0aa144
* Tue Jul 15 2008 Nils Philippsen <nphilipp@redhat.com> - 0.995-4
0aa144
- don't leak file descriptors to help browser process (#455450)
0aa144
0aa144
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.995-3
0aa144
- Autorebuild for GCC 4.3
0aa144
0aa144
* Thu Nov 29 2007 Nils Philippsen <nphilipp@redhat.com> - 0.995-2
0aa144
- make EULA, license dialogs be viewable on 800x600 displays
0aa144
0aa144
* Fri Nov 23 2007 Nils Philippsen <nphilipp@redhat.com> - 0.995-1
0aa144
- version 0.995
0aa144
- remove obsolete gimp2.0, medium-definitions, showeulaonce patches
0aa144
0aa144
* Thu Nov 15 2007 Nils Philippsen <nphilipp@redhat.com>
0aa144
- explicitely enable building the gimp plugin in configure call
0aa144
- reorder spec file sections
0aa144
0aa144
* Wed Sep 05 2007 Nils Philippsen <nphilipp@redhat.com> - 0.994-4
0aa144
- fix "Category" entries in desktop file
0aa144
0aa144
* Wed Sep 05 2007 Nils Philippsen <nphilipp@redhat.com>
0aa144
- change license to GPLv2+
0aa144
0aa144
* Tue Apr 24 2007 Nils Philippsen <nphilipp@redhat.com> - 0.994-3
0aa144
- don't include obsolete Application category in desktop file (#226658)
0aa144
0aa144
* Wed Apr 04 2007 Nils Philippsen <nphilipp@redhat.com> - 0.994-2
0aa144
- save prefs when EULA is accepted to ensure that EULA is only shown once at
0aa144
  startup (#233645)
0aa144
0aa144
* Tue Apr 03 2007 Nils Philippsen <nphilipp@redhat.com> - 0.994-1
0aa144
- version 0.994 (#235038)
0aa144
0aa144
* Fri Mar 30 2007 Nils Philippsen <nphilipp@redhat.com> - 0.993-2
0aa144
- fix summaries and buildroot, don't remove buildroot on %%prep, mark dirs and
0aa144
  config files, don't reference %%buildroot in %%build, use double-%% in
0aa144
  changelog entries (#226658)
0aa144
0aa144
* Fri Mar 02 2007 Nils Philippsen <nphilipp@redhat.com> - 0.993-1
0aa144
- version 0.993 (#230706)
0aa144
0aa144
* Wed Oct 25 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-4
0aa144
- fix typo in scriptlet (#212063)
0aa144
0aa144
* Mon Oct 23 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-3
0aa144
- really don't barf on missing gimp-plugin-mgr when updating (#208159)
0aa144
0aa144
* Mon Oct 02 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-2
0aa144
- don't barf on missing gimp-plugin-mgr when updating (#208159)
0aa144
0aa144
* Mon Aug 28 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-1
0aa144
- version 0.991
0aa144
- remove obsolete buffer patch
0aa144
0aa144
* Wed Aug 16 2006 Nils Philippsen <nphilipp@redhat.com> - 0.99-6
0aa144
- revamp scheme for integrating external GIMP plugins (#202545)
0aa144
- use disttag
0aa144
0aa144
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.99-5.1
0aa144
- rebuild
0aa144
0aa144
* Thu Jun 08 2006 Nils Philippsen <nphilipp@redhat.com> - 0.99-5
0aa144
- re-add desktop file (#170835)
0aa144
- use %%buildroot consistently
0aa144
- add automake, autoconf build requirements
0aa144
0aa144
* Wed Apr 05 2006 Nils Philippsen <nphilipp@redhat.com> - 0.99-4
0aa144
- use XSANE.lang instead of xsane.lang to avoid %%doc multilib regression
0aa144
0aa144
* Tue Apr 04 2006 Nils Philippsen <nphilipp@redhat.com> - 0.99-3
0aa144
- fix medium-definitions patch to not barf on obsolete options in config file
0aa144
  (#185269, by Aldy Hernandez)
0aa144
0aa144
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.99-2.2
0aa144
- bump again for double-long bug on ppc(64)
0aa144
0aa144
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.99-2.1
0aa144
- rebuilt for new gcc4.1 snapshot and glibc changes
0aa144
0aa144
* Mon Jan 16 2006 Nils Philippsen <nphilipp@redhat.com> 0.99-2
0aa144
- fix buffer overflow
0aa144
0aa144
* Fri Jan 13 2006 Nils Philippsen <nphilipp@redhat.com> 0.99-1
0aa144
- version 0.99
0aa144
0aa144
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0aa144
- rebuilt
0aa144
0aa144
* Thu Nov 24 2005 Nils Philippsen <nphilipp@redhat.com> 0.98a-1
0aa144
- version 0.98a
0aa144
0aa144
* Tue Oct 04 2005 Nils Philippsen <nphilipp@redhat.com> 0.97-1
0aa144
- version 0.97
0aa144
0aa144
* Mon Jun 20 2005 Tim Waugh <twaugh@redhat.com> 0.95-4
0aa144
- Build requires gettext-devel (bug #160994).
0aa144
0aa144
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 0.95-3
0aa144
- Rebuild for new GCC.
0aa144
0aa144
* Wed Dec  8 2004 Tim Waugh <twaugh@redhat.com> 0.95-2
0aa144
- Fix crash on start (bug #142148).
0aa144
0aa144
* Fri Dec  3 2004 Tim Waugh <twaugh@redhat.com> 0.95-1
0aa144
- 0.95.
0aa144
- No longer need badcode patch.
0aa144
- Enable translations again.
0aa144
- New method of installing GIMP plug-in due to Nils Philippsen.
0aa144
0aa144
* Mon Jun 28 2004 Tim Waugh <twaugh@redhat.com> 0.92-13
0aa144
- Build requires libtiff-devel (bug #126564).
0aa144
0aa144
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
0aa144
- rebuilt
0aa144
0aa144
* Fri Jun  4 2004 Tim Waugh <twaugh@redhat.com> 0.92-11
0aa144
- Fix GIMP plug-in package (bug #125254).
0aa144
0aa144
* Wed Apr 21 2004 Seth Nickell <snickell@redhat.com> 0.92-10
0aa144
- Remove .desktop file
0aa144
0aa144
* Wed Mar 31 2004 Tim Waugh <twaugh@redhat.com> 0.92-9
0aa144
- Rebuilt.
0aa144
0aa144
* Thu Mar 18 2004 Nils Philippsen <nphilipp@redhat.com> 0.92-8
0aa144
- Rebuild against new gimp.
0aa144
0aa144
* Tue Mar  9 2004 Tim Waugh <twaugh@redhat.com> 0.92-7
0aa144
- Fix desktop file Name (bug #117370).
0aa144
0aa144
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
0aa144
- rebuilt
0aa144
0aa144
* Fri Feb 13 2004 Tim Waugh <twaugh@redhat.com> 0.92-5
0aa144
- Fixed %%post scriptlet.
0aa144
0aa144
* Sun Jan 25 2004 Tim Waugh <twaugh@redhat.com> 0.92-4
0aa144
- Gimp patch updated.
0aa144
0aa144
* Fri Jan 23 2004 Tim Waugh <twaugh@redhat.com> 0.92-3
0aa144
- Translations are broken -- turn them off for the time being.
0aa144
- Really apply the patch this time.
0aa144
- Fix up post/postun scriptlets.
0aa144
0aa144
* Fri Jan 23 2004 Tim Waugh <twaugh@redhat.com> 0.92-2
0aa144
- Apply patch for building against new gimp.
0aa144
0aa144
* Mon Dec 15 2003 Tim Waugh <twaugh@redhat.com> 0.92-1
0aa144
- 0.92.
0aa144
0aa144
* Thu Nov 27 2003 Thomas Woerner <twoerner@redhat.com> 0.91-2
0aa144
- removed rpath
0aa144
0aa144
* Wed Oct  8 2003 Tim Waugh <twaugh@redhat.com>
0aa144
- Avoid undefined behaviour in xsane-preview.c (bug #106314).
0aa144
0aa144
* Thu Jul 24 2003 Tim Waugh <twaugh@redhat.com> 0.91-1
0aa144
- 0.91.
0aa144
0aa144
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
0aa144
- rebuilt
0aa144
0aa144
* Wed Apr  9 2003 Tim Waugh <twaugh@redhat.com> 0.90-2
0aa144
- Set default HTML viewer to htmlview (bug #88318).
0aa144
0aa144
* Thu Mar 20 2003 Tim Waugh <twaugh@redhat.com> 0.90-1
0aa144
- 0.90.
0aa144
0aa144
* Sat Feb  1 2003 Matt Wilson <msw@redhat.com> 0.89-3
0aa144
- use %%{_libdir} for gimp plugin path
0aa144
0aa144
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
0aa144
- rebuilt
0aa144
0aa144
* Fri Oct 25 2002 Tim Waugh <twaugh@redhat.com> 0.89-1
0aa144
- 0.89.
0aa144
- Use %%find_lang.
0aa144
0aa144
* Fri Aug 30 2002 Tim Waugh <twaugh@redhat.com> 0.84-8
0aa144
- Don't require gimp-devel (cf. bug #70754).
0aa144
0aa144
* Tue Jul 23 2002 Tim Waugh <twaugh@redhat.com> 0.84-7
0aa144
- Desktop file fixes (bug #69555).
0aa144
0aa144
* Mon Jul 15 2002 Tim Waugh <twaugh@redhat.com> 0.84-6
0aa144
- Use desktop-file-install.
0aa144
0aa144
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.84-5
0aa144
- automated rebuild
0aa144
0aa144
* Wed Jun 12 2002 Tim Waugh <twaugh@redhat.com> 0.84-4
0aa144
- Rebuild to fix bug #66132.
0aa144
0aa144
* Thu May 23 2002 Tim Powers <timp@redhat.com> 0.84-3
0aa144
- automated rebuild
0aa144
0aa144
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.84-2
0aa144
- Rebuild in new environment.
0aa144
0aa144
* Wed Jan 23 2002 Tim Waugh <twaugh@redhat.com> 0.84-1
0aa144
- 0.84.
0aa144
- Remove explicit sane-backends dependency, since it is automatically
0aa144
  found by rpm.
0aa144
0aa144
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 0.83-2
0aa144
- automated rebuild
0aa144
0aa144
* Tue Jan  8 2002 Tim Waugh <twaugh@redhat.com> 0.83-1
0aa144
- 0.83.
0aa144
0aa144
* Tue Dec 11 2001 Tim Waugh <twaugh@redhat.com> 0.82-3.1
0aa144
- 0.82.
0aa144
- Some extra patches from Oliver Rauch.
0aa144
- Require sane not sane-backends since it's available throughout 7.x.
0aa144
- Built for Red Hat Linux 7.1, 7.2.
0aa144
0aa144
* Tue Jul 24 2001 Tim Waugh <twaugh@redhat.com> 0.77-4
0aa144
- Build requires libpng-devel, libjpeg-devel (#bug 49760).
0aa144
0aa144
* Tue Jul 17 2001 Preston Brown <pbrown@redhat.com> 0.77-3
0aa144
- add an icon to the desktop entry
0aa144
0aa144
* Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de>
0aa144
- add ExcludeArch: s390 s390x
0aa144
0aa144
* Mon Jun 11 2001 Tim Waugh <twaugh@redhat.com> 0.77-1
0aa144
- 0.77.
0aa144
0aa144
* Sun Jun  3 2001 Tim Waugh <twaugh@redhat.com> 0.76-2
0aa144
- Require sane-backends, not all of sane.
0aa144
0aa144
* Wed May 23 2001 Tim Waugh <twaugh@redhat.com> 0.76-1
0aa144
- 0.76.
0aa144
0aa144
* Thu May  3 2001 Tim Waugh <twaugh@redhat.com> 0.75-1
0aa144
- 0.75
0aa144
- Fix summary/description to match specspo.
0aa144
0aa144
* Mon Jan  8 2001 Matt Wilson <msw@redhat.com>
0aa144
- fix post script of gimp subpackage to install into the correct location
0aa144
0aa144
* Mon Dec 25 2000 Matt Wilson <msw@redhat.com>
0aa144
- rebuilt against gimp 1.2.0
0aa144
0aa144
* Thu Dec 21 2000 Matt Wilson <msw@redhat.com>
0aa144
- rebuilt against gimp 1.1.32
0aa144
- use -DGIMP_ENABLE_COMPAT_CRUFT=1 to build with compat macros
0aa144
0aa144
* Thu Oct 12 2000 Than Ngo <than@redhat.com>
0aa144
- 0.62
0aa144
0aa144
* Wed Aug 23 2000 Matt Wilson <msw@redhat.com>
0aa144
- rebuilt against gimp-1.1.25
0aa144
0aa144
* Mon Aug 07 2000 Than Ngo <than@redhat.de>
0aa144
- added swedish translation (Bug #15316)
0aa144
0aa144
* Fri Aug 4 2000 Than Ngo <than@redhat.de>
0aa144
- fix, shows error dialogbox if no scanner exists (Bug #15445)
0aa144
- update to 0.61
0aa144
0aa144
* Wed Aug  2 2000 Matt Wilson <msw@redhat.com>
0aa144
- rebuilt against new libpng
0aa144
0aa144
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
0aa144
- automatic rebuild
0aa144
0aa144
* Mon Jul  3 2000 Matt Wilson <msw@redhat.com>
0aa144
- rebuilt against gimp 1.1.24
0aa144
- make clean before building non gimp version
0aa144
0aa144
* Fri Jun 30 2000 Preston Brown <pbrown@redhat.com>
0aa144
- made gimp subpkg
0aa144
0aa144
* Wed Jun 14 2000 Preston Brown <pbrown@redhat.com>
0aa144
- desktop entry added
0aa144
0aa144
* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com>
0aa144
- fixed gimp link
0aa144
- FHS paths
0aa144
0aa144
* Tue May 30 2000 Karsten Hopp <karsten@redhat.de>
0aa144
- update to 0.59
0aa144
0aa144
* Sat Jan 29 2000 TIm Powers <timp@redhat.com>
0aa144
- fixed bug 8948
0aa144
0aa144
* Thu Dec 2 1999 Tim Powers <timp@redhat.com>
0aa144
- updated to 0.47
0aa144
- gzip man pages
0aa144
0aa144
* Mon Aug 30 1999 Tim Powers <timp@redhat.com>
0aa144
- changed group
0aa144
0aa144
* Mon Jul 26 1999 Tim Powers <timp@redhat.com>
0aa144
- update to 0.30
0aa144
- added %%defattr
0aa144
- built for 6.1
0aa144
0aa144
* Thu Apr 22 1999 Preston Brown <pbrown@redhat.com>
0aa144
- initial RPM for PowerTools 6.0