diff --git a/sane-backends.changes b/sane-backends.changes index 8343639..376766d 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 15 08:51:03 UTC 2010 - aj@suse.de + +- BuildRequires libieee1284-devel. +- Split up devel package. + ------------------------------------------------------------------- Tue Jun 22 16:40:42 CEST 2010 - jsmeix@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index eb23f7a..11c2d57 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -19,13 +19,19 @@ Name: sane-backends -BuildRequires: libgphoto2-devel libieee1284 libjpeg-devel net-snmp-devel pkg-config texlive-latex +BuildRequires: libgphoto2-devel libjpeg-devel net-snmp-devel pkg-config texlive-latex + +%if 0%{?suse_version} > 1130 +BuildRequires: libieee1284-devel +%else +BuildRequires: libieee1284 +%endif License: GPLv2 ; GPLv2+ ; LGPLv2.1+ ; Public Domain, Freeware Group: Hardware/Scanner AutoReqProv: on Summary: SANE (Scanner Access Now Easy) Scanner Drivers Version: 1.0.21 -Release: 3 +Release: 6 Url: http://www.sane-project.org/ # URL for Source0: https://alioth.debian.org/frs/download.php/3258/sane-backends-1.0.21.tar.gz # MD5 sum for upstream sane-backends-1.0.21.tar.gz (not our .bz2): be586a23633949cf2ecf0c9c6d769130 @@ -278,6 +284,15 @@ Authors: Ulrich Deiters Wittawat Yamwong +%package devel +Summary: Development files for sane-backends +License: GPLv2 ; GPLv2+ ; LGPLv2.1+ ; Public Domain, Freeware +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +This package contains the development files for sane-backends. + %package autoconfig License: GPLv2+ ; LGPLv2.1+ ; Public Domain, Freeware Group: Hardware/Scanner @@ -568,6 +583,8 @@ install -m644 %{SOURCE101} %{buildroot}%{_sysconfdir}/xinetd.d/ # OpenSLP registration stuff: install -d -m755 %{buildroot}%{_sysconfdir}/slp.reg.d install -m644 %{SOURCE102} %{buildroot}%{_sysconfdir}/slp.reg.d +# Delete documentation files for non-Linux platforms: +rm %{buildroot}%{_defaultdocdir}/sane-backends/{README.os2,README.aix,README.solaris} %find_lang sane-backends %post -p /sbin/ldconfig @@ -585,24 +602,28 @@ install -m644 %{SOURCE102} %{buildroot}%{_sysconfdir}/slp.reg.d %{_sysconfdir}/udev/rules.d/55-libsane.rules %{_sbindir}/saned %{_bindir}/scanimage -%{_bindir}/sane-config %{_bindir}/sane-find-scanner %{_bindir}/gamma4scanimage %{_bindir}/umax_pp %{_datadir}/sane/ -%{_libdir}/libsane* +%{_libdir}/libsane.so.* %{_libdir}/sane/ -%{_includedir}/sane/ #%dir /var/lock/sane %doc %{_defaultdocdir}/sane-backends/ %doc %{_mandir}/man1/scanimage.1.gz -%doc %{_mandir}/man1/sane-config.1.gz %doc %{_mandir}/man1/sane-find-scanner.1.gz %doc %{_mandir}/man1/gamma4scanimage.1.gz %doc %{_mandir}/man5/sane-*.5.gz %doc %{_mandir}/man7/sane.7.gz %doc %{_mandir}/man8/saned.8.gz +%files devel +%defattr(-,root,root) +%{_bindir}/sane-config +%{_includedir}/sane/ +%{_libdir}/libsane.so +%doc %{_mandir}/man1/sane-config.1.gz + %files autoconfig %defattr(-,root,root) %dir %{_sysconfdir}/udev