mirror of
https://abf.rosa.ru/djam/sane.git
synced 2025-02-23 17:23:00 +00:00
SILENT really fix build
This commit is contained in:
parent
7f9b4f020c
commit
094cb31be0
1 changed files with 13 additions and 10 deletions
23
sane.spec
23
sane.spec
|
@ -371,6 +371,12 @@ cd primaxscan*
|
||||||
rm -f %{buildroot}%{_libdir}/libsane-primax.a %{buildroot}%{_prefix}/lib/sane/libsane-primax.a
|
rm -f %{buildroot}%{_libdir}/libsane-primax.a %{buildroot}%{_prefix}/lib/sane/libsane-primax.a
|
||||||
cp primax_scan %{buildroot}%{_bindir}
|
cp primax_scan %{buildroot}%{_bindir}
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
|
mv -f %{buildroot}%{_prefix}/lib/sane/libsane-primax.* %{buildroot}%{_libdir}/sane/
|
||||||
|
rm -rf %{buildroot}%{_prefix}/lib/sane/
|
||||||
|
%endif
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Epson Avasys driver for Epson scanners
|
# Epson Avasys driver for Epson scanners
|
||||||
|
@ -420,43 +426,40 @@ sed -i '/^%dir/d' sane-backends.lang
|
||||||
%_postun_groupdel scanner
|
%_postun_groupdel scanner
|
||||||
|
|
||||||
%files backends -f sane-backends.lang
|
%files backends -f sane-backends.lang
|
||||||
doc %{_docdir}/sane-backends-%{version}
|
%doc %{_docdir}/sane-backends-%{version}
|
||||||
%{_bindir}/sane-find-scanner
|
%{_bindir}/sane-find-scanner
|
||||||
%{_bindir}/scanimage
|
%{_bindir}/scanimage
|
||||||
%{_bindir}/gamma4scanimage
|
%{_bindir}/gamma4scanimage
|
||||||
%if %{primax_support}
|
%if %{with primax}
|
||||||
%{_bindir}/primax_scan
|
%{_bindir}/primax_scan
|
||||||
%endif
|
%endif
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*
|
||||||
%dir %{_sysconfdir}/sane.d
|
%dir %{_sysconfdir}/sane.d
|
||||||
%dir %{_sysconfdir}/sane.d/dll.d
|
|
||||||
#config(noreplace) %{_sysconfdir}/sane.d/*[^saned]
|
#config(noreplace) %{_sysconfdir}/sane.d/*[^saned]
|
||||||
%config(noreplace) %{_sysconfdir}/sane.d/*
|
%config(noreplace) %{_sysconfdir}/sane.d/*
|
||||||
/lib/udev/rules.d/*-libsane.rules
|
/lib/udev/rules.d/*-libsane.rules
|
||||||
%attr(1777,root,root) %dir /var/lib/lock/sane
|
%attr(1777,root,root) %dir /var/lib/lock/sane
|
||||||
%if %{epkowa_support}
|
%if %{with epkowa}
|
||||||
# iscan files
|
# iscan files
|
||||||
%exclude %{_sysconfdir}/sane.d/epkowa.conf
|
%exclude %{_sysconfdir}/sane.d/epkowa.conf
|
||||||
%exclude %{_mandir}/man5/sane-epkowa.5*
|
%exclude %{_mandir}/man5/sane-epkowa.5*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with epkowa}
|
%if %{with epkowa}
|
||||||
#-f iscan.lang
|
%files backends-iscan
|
||||||
%files backends-iscan
|
|
||||||
%{_libdir}/sane/libsane-epkowa.*
|
%{_libdir}/sane/libsane-epkowa.*
|
||||||
%{_sysconfdir}/sane.d/epkowa.conf
|
%{_sysconfdir}/sane.d/epkowa.conf
|
||||||
%{_mandir}/man5/sane-epkowa.5*
|
%{_mandir}/man5/sane-epkowa.5*
|
||||||
%dir %{_datadir}/iscan
|
%{_mandir}/man8/iscan-registry.*
|
||||||
%{_datadir}/iscan/*
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files backends-doc
|
%files backends-doc
|
||||||
%doc %{_docdir}/sane-backends-doc-%{version}
|
%doc %{_docdir}/sane-backends-doc-%{version}
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%{_libdir}/*.so.%{major}*
|
%{_libdir}/*.so.*
|
||||||
%dir %{_libdir}/sane
|
%dir %{_libdir}/sane
|
||||||
%{_libdir}/sane/*.so.*
|
%{_libdir}/sane/*.so.*
|
||||||
%if %{with epkowa}
|
%if %{with epkowa}
|
||||||
|
@ -467,8 +470,8 @@ doc %{_docdir}/sane-backends-%{version}
|
||||||
%{_bindir}/sane-config
|
%{_bindir}/sane-config
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/sane/*.so
|
%{_libdir}/sane/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
|
||||||
%{_includedir}/sane
|
%{_includedir}/sane
|
||||||
|
%{_libdir}/pkgconfig/sane-backends.pc
|
||||||
%if %{with epkowa}
|
%if %{with epkowa}
|
||||||
%exclude %{_libdir}/sane/libsane-epkowa*
|
%exclude %{_libdir}/sane/libsane-epkowa*
|
||||||
%endif
|
%endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue