ec7da1
Name: sane-frontends
ec7da1
Version: 1.0.14
ec7da1
Release: 30%{?dist}
ec7da1
Summary: Graphical frontend to SANE
ec7da1
URL: http://www.sane-project.org
ec7da1
Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz
ec7da1
# Fix array subscript out of bounds errors (#133121).
ec7da1
# Upstream commit 5113e3de39846a8226909088ad5c1aa4969f3030 and commit
ec7da1
# 7336b064653026171a715dfaf803693b638c67a5 (partial)
ec7da1
Patch0: sane-frontends-1.0.14-array-out-of-bounds.patch
ec7da1
# Fix building with sane-backends >= 1.0.20.
ec7da1
# Upstream commit 5e96223e497538d06e18d8e84b774c4a35f654b4 (partial) and commit
ec7da1
# c554cfce37e37a33f94a9051afe2062c4759072b
ec7da1
Patch1: sane-frontends-1.0.14-sane-backends-1.0.20.patch
ec7da1
# Describe correct option names in xcam man page.
ec7da1
# Upstream commit 7e079e377174826453a1041719fb347d69d3ba5f
ec7da1
Patch2: sane-frontends-1.0.14-xcam-man.patch
ec7da1
# Update lib/snprintf.c to current version from LPRng to resolve license issue (#1102522)
ec7da1
Patch3: sane-frontends-1.0.14-update-to-current-lprng-plp_snprintf.patch
ec7da1
ec7da1
License: GPLv2+ and LGPLv2+ and GPLv2+ with exceptions
ec7da1
# gcc is no longer in buildroot by default
ec7da1
BuildRequires: gcc
ec7da1
ec7da1
BuildRequires: gtk2-devel
ec7da1
BuildRequires: sane-backends-devel >= 1.0.19-15
ec7da1
ec7da1
%description
ec7da1
This packages includes the scanadf and xcam programs.
ec7da1
ec7da1
%prep
ec7da1
%setup -q
ec7da1
%patch0 -p1 -b .array-out-of-bounds
ec7da1
%patch1 -p1 -b .sane-backends-1.0.20
ec7da1
%patch2 -p1 -b .xcam-man
ec7da1
%patch3 -p1 -b .snprintf
ec7da1
ec7da1
%build
ec7da1
%configure --with-gnu-ld --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --mandir=%{_mandir}
ec7da1
make %{?_smp_mflags}
ec7da1
ec7da1
%install
ec7da1
make DESTDIR=%{buildroot} install
ec7da1
ec7da1
# Not xscanimage; use xsane instead.
ec7da1
rm -f %{buildroot}%{_bindir}/xscanimage
ec7da1
rm -f %{buildroot}%{_mandir}/man1/xscanimage*
ec7da1
rm -f %{buildroot}%{_datadir}/sane/sane-style.rc
ec7da1
ec7da1
%files
ec7da1
%doc AUTHORS COPYING README
ec7da1
%{_bindir}/*
ec7da1
%{_mandir}/man1/*
ec7da1
# there is no desktop file for xcam because while it is a GUI program it is
ec7da1
# intended to be used from the command line
ec7da1
ec7da1
%changelog
ec7da1
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.14-30
ec7da1
- correcting license
ec7da1
ec7da1
* Mon Feb 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.14-29
ec7da1
- gcc is no longer in buildroot by default
ec7da1
ec7da1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-28
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ec7da1
ec7da1
* Thu Feb 08 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.14-27
ec7da1
- remove old stuff
ec7da1
ec7da1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-26
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ec7da1
ec7da1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-25
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ec7da1
ec7da1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-24
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ec7da1
ec7da1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-23
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ec7da1
ec7da1
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-22
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ec7da1
ec7da1
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-21
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ec7da1
ec7da1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-20
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ec7da1
ec7da1
* Thu May 29 2014 Tom Callaway <spot@fedoraproject.org> - 1.0.14-19
ec7da1
- update lib/snprintf.c to resolve licensing issue (#1102522)
ec7da1
ec7da1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-18
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ec7da1
ec7da1
* Mon Jul 08 2013 Nils Philippsen <nils@redhat.com> - 1.0.14-17
ec7da1
- add comments to patches
ec7da1
- describe correct option names in xcam man page
ec7da1
ec7da1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-16
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ec7da1
ec7da1
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-15
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ec7da1
ec7da1
* Tue Apr 03 2012 Nils Philippsen <nils@redhat.com> - 1.0.14-14
ec7da1
- clean up:
ec7da1
  - don't BR: gimp-devel, R: sane-backends
ec7da1
  - get rid of buildroot, %%makeinstall and %%clean section
ec7da1
  - dont obsolete/provide "sane" (ancient)
ec7da1
ec7da1
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 1.0.14-13
ec7da1
- rebuild for gcc 4.7
ec7da1
ec7da1
* Mon Nov 07 2011 Nils Philippsen <nils@redhat.com> - 1.0.14-12
ec7da1
- rebuild (libpng)
ec7da1
ec7da1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-11
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ec7da1
ec7da1
* Fri Feb 26 2010 Nils Philippsen <nils@redhat.com> - 1.0.14-10
ec7da1
- add missing documentation files AUTHORS, COPYING, README
ec7da1
- don't distribute sane-style.rc
ec7da1
- use %%buildroot consistently
ec7da1
- explain missing xcam.desktop file
ec7da1
ec7da1
* Mon Aug 03 2009 Nils Philippsen <nils@redhat.com> 1.0.14-9
ec7da1
- remove ExcludeArch: s390 s390x
ec7da1
ec7da1
* Fri Jul 31 2009 Nils Philippsen <nils@redhat.com> 1.0.14-8
ec7da1
- replace badcode with array-out-of-bounds patch
ec7da1
- fix compilation with sane-backends-1.0.20
ec7da1
ec7da1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-7
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ec7da1
ec7da1
* Mon Mar 02 2009 Nils Philippsen <nils@redhat.com> 1.0.14-6
ec7da1
- don't require libieee2384-devel, libjpeg-devel but require fixed
ec7da1
  sane-backends-devel for building
ec7da1
ec7da1
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
ec7da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ec7da1
ec7da1
* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.14-5
ec7da1
- fix license tag
ec7da1
ec7da1
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.14-4
ec7da1
- Autorebuild for GCC 4.3
ec7da1
ec7da1
* Tue Apr 24 2007 Nils Philippsen <nphilipp@redhat.com> 1.0.14-3
ec7da1
- merge review (#226389):
ec7da1
  - add version info to obsoletes/provides
ec7da1
  - no config files in /usr
ec7da1
  - use %%configure macro
ec7da1
- add dist tag
ec7da1
ec7da1
* Thu Mar 15 2007 Karsten Hopp <karsten@redhat.com> 1.0.14-2
ec7da1
- rebuild with current gtk2 to add png support (#232013)
ec7da1
ec7da1
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.14-1.2.2
ec7da1
- rebuild
ec7da1
ec7da1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.14-1.2.1
ec7da1
- bump again for double-long bug on ppc(64)
ec7da1
ec7da1
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.14-1.2
ec7da1
- rebuilt for new gcc4.1 snapshot and glibc changes
ec7da1
ec7da1
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
ec7da1
- rebuilt
ec7da1
ec7da1
* Mon Nov 21 2005 Nils Philippsen <nphilipp@redhat.com> 1.0.14-1
ec7da1
- version 1.0.14
ec7da1
- fix build requires
ec7da1
- update badcode patch
ec7da1
ec7da1
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 1.0.13-2
ec7da1
- Rebuild for new GCC.
ec7da1
ec7da1
* Mon Nov  8 2004 Tim Waugh <twaugh@redhat.com> 1.0.13-1
ec7da1
- 1.0.13.
ec7da1
ec7da1
* Mon Sep 27 2004 Tim Waugh <twaugh@redhat.com> 1.0.12-4
ec7da1
- Fixed mistaken array op (bug #133121).
ec7da1
ec7da1
* Sat Jun 19 2004 Jeremy Katz <katzj@redhat.com> - 1.0.12-3
ec7da1
- remove no longer valid requires on old gtk+ and gimp
ec7da1
ec7da1
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
ec7da1
- rebuilt
ec7da1
ec7da1
* Wed Jun  2 2004 Tim Waugh <twaugh@redhat.com> 1.0.12-1
ec7da1
- 1.0.12.
ec7da1
ec7da1
* Wed May 12 2004 Tim Waugh <twaugh@redhat.com>
ec7da1
- s/ftp.mostang.com/ftp.sane-project.org/.
ec7da1
ec7da1
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
ec7da1
- rebuilt
ec7da1
ec7da1
* Tue Oct 21 2003 Florian La Roche <Florian.LaRoche@redhat.de>
ec7da1
- BuildReq: libieee1284-devel, it seems to get picked up if available
ec7da1
ec7da1
* Mon Sep 29 2003 Tim Waugh <twaugh@redhat.com>
ec7da1
- Updated URL.
ec7da1
ec7da1
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
ec7da1
- rebuilt
ec7da1
ec7da1
* Tue Apr 29 2003 Tim Waugh <twaugh@redhat.com> 1.0.11-1
ec7da1
- 1.0.11.
ec7da1
ec7da1
* Mon Mar 24 2003 Tim Waugh <twaugh@redhat.com> 1.0.10-2
ec7da1
- Don't require a specific version of sane-backends.
ec7da1
ec7da1
* Thu Mar 20 2003 Tim Waugh <twaugh@redhat.com> 1.0.10-1
ec7da1
- 1.0.10.
ec7da1
ec7da1
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
ec7da1
- rebuilt
ec7da1
ec7da1
* Fri Oct 25 2002 Tim Waugh <twaugh@redhat.com> 1.0.9-1
ec7da1
- 1.0.9.
ec7da1
ec7da1
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
ec7da1
- automated rebuild
ec7da1
ec7da1
* Thu Jun 20 2002 Tim Waugh <twaugh@redhat.com> 1.0.8-3
ec7da1
- Don't explicitly strip binaries (bug #62565).
ec7da1
ec7da1
* Wed Jun 12 2002 Tim Waugh <twaugh@redhat.com> 1.0.8-2
ec7da1
- Rebuild to fix bug #66129.
ec7da1
ec7da1
* Tue May 28 2002 Tim Waugh <twaugh@redhat.com> 1.0.8-1
ec7da1
- 1.0.8.
ec7da1
ec7da1
* Sun May 26 2002 Tim Powers <timp@redhat.com>
ec7da1
- automated rebuild
ec7da1
ec7da1
* Wed May 22 2002 Tim Waugh <twaugh@redhat.com> 1.0.8-0.20020522.1
ec7da1
- Update to CVS.  Release expected before the end of the month.
ec7da1
- Don't ship xscanimage any longer.
ec7da1
ec7da1
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-2
ec7da1
- Rebuild in new environment.
ec7da1
ec7da1
* Mon Feb  4 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-1
ec7da1
- 1.0.7.
ec7da1
ec7da1
* Sun Jan 27 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-0.beta2.1
ec7da1
- 1.0.7-beta2.
ec7da1
ec7da1
* Wed Jan 23 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-0.beta1.1
ec7da1
- 1.0.7-beta1.
ec7da1
- No longer need the fpe patch.
ec7da1
ec7da1
* Fri Nov 30 2001 Tim Waugh <twaugh@redhat.com> 1.0.6-2
ec7da1
- Fix a floating point exception (bug #56536).
ec7da1
ec7da1
* Mon Nov  5 2001 Tim Waugh <twaugh@redhat.com> 1.0.6-1
ec7da1
- 1.0.6.
ec7da1
ec7da1
* Sun Jul  1 2001 Tim Waugh <twaugh@redhat.com> 1.0.5-1
ec7da1
- 1.0.5.
ec7da1
- Change Copyright: to License:.
ec7da1
ec7da1
* Thu Jun  7 2001 Tim Waugh <twaugh@redhat.com> 1.0.5-0.20010605
ec7da1
- CVS snapshot 2001-06-05.
ec7da1
- Don't install xscanimage plug-in symlinks.  The old sane package never
ec7da1
  used to do this, and it looks confusing in gimp if you also have
ec7da1
  xsane-gimp (which is better) installed.  xscanimage works stand-alone
ec7da1
  anyhow.
ec7da1
ec7da1
* Sun Jun  3 2001 Tim Waugh <twaugh@redhat.com> 1.0.5-0.20010603.1000
ec7da1
- CVS snapshot 2001-06-03 10:00.
ec7da1
ec7da1
* Sat Jun  2 2001 Tim Waugh <twaugh@redhat.com> 1.0.5-0.20010530
ec7da1
- Built for Red Hat Linux.
ec7da1
- CVS snapshot 2001-05-30.
ec7da1
ec7da1
* Mon Jan 08 2001 Francis Galiegue <fg@mandrakesoft.com> 1.0.4-2mdk
ec7da1
ec7da1
- Summary now capitalised
ec7da1
- BuildRequires: sane (for sane-config)
ec7da1