update to 1.00.39 [release 1.00.39-1mamba;Tue Nov 07 2023]
This commit is contained in:
parent
fa6e274770
commit
4d6dd925a5
@ -1,13 +1,15 @@
|
|||||||
Name: samsung-unified-driver
|
Name: samsung-unified-driver
|
||||||
Version: 4.01.17
|
Epoch: 1
|
||||||
|
Version: 1.00.39
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Samsung Unified Linux Driver
|
Summary: Samsung Unified Linux Driver
|
||||||
Group: System/Spooling
|
Group: System/Spooling
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.bchemnet.com/suldr/
|
URL: http://www.samsung.com/
|
||||||
Source: http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-%{version}.tar.gz
|
#Source: http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-%{version}.tar.gz
|
||||||
|
Source: http://downloadcenter.samsung.com/content/DR/201704/20170407143829533/uld_V%{version}_01.17.tar.gz
|
||||||
Source1: samsung-unified-printer-98_smfp_autoconf_samsung.rules
|
Source1: samsung-unified-printer-98_smfp_autoconf_samsung.rules
|
||||||
Source2: samsung-unified-printer-99_smfp_autoconf_samsung.rules
|
Source2: samsung-unified-printer-99_smfp_autoconf_samsung.rules
|
||||||
License: Distributable
|
License: Distributable
|
||||||
@ -15,19 +17,13 @@ License: Distributable
|
|||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libcups-devel
|
BuildRequires: libcups-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libqt4-devel
|
|
||||||
BuildRequires: libsane-backends-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libtiff-devel
|
|
||||||
BuildRequires: libusb-compat-devel
|
BuildRequires: libusb-compat-devel
|
||||||
BuildRequires: libX11-devel
|
|
||||||
BuildRequires: libXext-devel
|
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Provides: samsung-mfp
|
Provides: samsung-mfp
|
||||||
Obsoletes: samsung-mfp
|
Obsoletes: samsung-mfp < 1:1.00.39
|
||||||
Requires: cups
|
Requires: cups
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Samsung Unified Linux Driver.
|
Samsung Unified Linux Driver.
|
||||||
@ -39,65 +35,55 @@ Samsung Unified Linux Driver.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
install -d %{buildroot}%{_datadir}/%{name}
|
|
||||||
cp -a cdroot/Linux/noarch/at_root/* %{buildroot}/
|
|
||||||
|
|
||||||
install -d %{buildroot}%{_datadir}/cups/model/samsung/cms
|
|
||||||
cp -a cdroot/Linux/noarch/at_opt/share/ppd/cms/* %{buildroot}%{_datadir}/cups/model/samsung/cms/
|
|
||||||
cp -a cdroot/Linux/noarch/at_opt/share/ppd/*.ppd %{buildroot}%{_datadir}/cups/model/
|
|
||||||
find %{buildroot}%{_datadir}/cups/model/ -name "*.ppd" | xargs gzip -9
|
|
||||||
cp -a cdroot/Linux/noarch/at_opt/share/locale %{buildroot}%{_datadir}
|
|
||||||
cp -a cdroot/Linux/noarch/at_opt/share/{doc,help,help-fr,images,utils} %{buildroot}%{_datadir}/%{name}/
|
|
||||||
|
|
||||||
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/rules.d/98_smfpautoconf.rules
|
|
||||||
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/udev/rules.d/99_smfpautoconf.rules
|
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
cd cdroot/Linux/x86_64
|
_arch=x86_64
|
||||||
%else
|
%else
|
||||||
cd cdroot/Linux/i386
|
_arch=i386
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
cp -a at_root/* %{buildroot}/
|
# Printer
|
||||||
cp -a at_opt/* %{buildroot}%{_prefix}
|
install -D -m0644 uld/$_arch/libscmssc.so %{buildroot}%{_libdir}/libscmssc.so
|
||||||
|
install -D -m0644 uld/$_arch/smfpnetdiscovery %{buildroot}%{_prefix}/lib/cups/backend/smfpnetdiscovery
|
||||||
|
|
||||||
ln -s libmfp.so.1.0.1 %{buildroot}%{_libdir}/libmfp.so.1
|
for f in pstosecps rastertospl; do
|
||||||
ln -s libmfp.so.1.0.1 %{buildroot}%{_libdir}/libmfp.so
|
install -D -m0755 uld/$_arch/$f %{buildroot}%{_prefix}/lib/cups/filter/$f
|
||||||
ln -s libsane-smfp.1.0.1 %{buildroot}%{_libdir}/sane/libsane-smfp.so.1
|
done
|
||||||
ln -s libsane-smfp.so.1 %{buildroot}%{_libdir}/sane/libsane-smfp.so
|
ln -s rastertospl %{buildroot}%{_prefix}/lib/cups/filter/rastertosplc
|
||||||
install -d %{buildroot}%{_sysconfdir}/sane.d/dll.d
|
|
||||||
echo "smfp" >> %{buildroot}%{_sysconfdir}/sane.d/dll.d/smfp
|
|
||||||
chmod 644 %{buildroot}%{_sysconfdir}/sane.d/dll.d/smfp
|
|
||||||
|
|
||||||
install -d %{buildroot}%{_libdir}/cups/{backend,filter}
|
install -d -m0755 %{buildroot}%{_datadir}/ppd/suld
|
||||||
cp pstosecps pstospl pstosplc rastertospl rastertosplc %{buildroot}%{_libdir}/cups/filter/
|
for ppd in uld/noarch/share/ppd/*.ppd; do
|
||||||
cp mfp %{buildroot}%{_libdir}/cups/backend/
|
gzip < "$ppd" > %{buildroot}%{_datadir}/ppd/suld/"${ppd##*/}".gz
|
||||||
|
done
|
||||||
|
|
||||||
install -m0755 libscmssc.so %{buildroot}/opt/smfp-common/lib/
|
install -d -m0755 %{buildroot}%{_datadir}/ppd/suld/cms
|
||||||
|
for cts in uld/noarch/share/ppd/cms/*.cts; do
|
||||||
|
cp "$cts" %{buildroot}%{_datadir}/ppd/suld/cms
|
||||||
|
done
|
||||||
|
|
||||||
install -d %{buildroot}/opt/Samsung/mfp/{bin,share/images}
|
# Scanner
|
||||||
cp -a qt4/at_opt/bin/* %{buildroot}/opt/Samsung/mfp/bin
|
cp -r uld/noarch/share/locale %{buildroot}%{_datadir}/
|
||||||
cp -a qt4/at_opt/plugins %{buildroot}/opt/Samsung/mfp/
|
|
||||||
|
|
||||||
cd ../../..
|
|
||||||
install -m644 cdroot/Linux/OEM.ini %{buildroot}/opt/Samsung/mfp/share/OEM.ini
|
|
||||||
install -D -m755 cdroot/Linux/noarch/smfpd.sh %{buildroot}%{_initrddir}/smfpd
|
|
||||||
|
|
||||||
# samsung configurator desktop entries
|
|
||||||
sed -i "s|\$VENDOR|Samsung|" cdroot/Linux/noarch/desktop/*.in
|
|
||||||
cat >> cdroot/Linux/noarch/desktop/configurator.desktop.in << _EOF
|
|
||||||
Categories=System;Settings;HardwareSettings;Printing;
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
install -D -m0644 cdroot/Linux/noarch/desktop/configurator.desktop.in \
|
|
||||||
%{buildroot}%{_datadir}/applications/Samsung-Configurator.desktop
|
|
||||||
install -D -m0644 cdroot/Linux/noarch/at_opt/share/images/Configurator.png \
|
|
||||||
%{buildroot}/opt/Samsung/mfp/share/images/Configurator.png
|
|
||||||
|
|
||||||
rm -rf %{buildroot}/usr/uninstall
|
|
||||||
rm -f %{buildroot}/usr/bin/gettext
|
|
||||||
rm -f %{buildroot}%{_datadir}/locale/fr/LC_MESSAGES/install.mo
|
rm -f %{buildroot}%{_datadir}/locale/fr/LC_MESSAGES/install.mo
|
||||||
|
|
||||||
|
install -D -m0644 uld/noarch/etc/smfp.conf %{buildroot}%{_sysconfdir}/sane.d/smfp.conf
|
||||||
|
|
||||||
|
install -d -m0755 %{buildroot}%{_sysconfdir}/sane.d/dll.d
|
||||||
|
echo smfp > %{buildroot}%{_sysconfdir}/sane.d/dll.d/smfp-scanner
|
||||||
|
|
||||||
|
install -D -m0644 uld/$_arch/libsane-smfp.so.1.0.1 %{buildroot}%{_libdir}/sane/libsane-smfp.so.1.0.1
|
||||||
|
ln -s libsane-smfp.so.1.0.1 %{buildroot}%{_libdir}/sane/libsane-smfp.so.1
|
||||||
|
ln -s libsane-smfp.so.1 %{buildroot}%{_libdir}/sane/libsane-smfp.so
|
||||||
|
|
||||||
|
install -d -m0755 %{buildroot}%{_udevrulesdir}
|
||||||
|
(
|
||||||
|
OEM_FILE=uld/noarch/oem.conf
|
||||||
|
INSTALL_LOG_FILE=/dev/null
|
||||||
|
source uld/noarch/scripting_utils
|
||||||
|
source uld/noarch/package_utils
|
||||||
|
source uld/noarch/scanner-script.pkg
|
||||||
|
fill_full_template uld/noarch/etc/smfp.rules.in %{buildroot}%{_udevrulesdir}/60_smfp_samsung.rules
|
||||||
|
chmod 644 %{buildroot}%{_udevrulesdir}/60_smfp_samsung.rules
|
||||||
|
)
|
||||||
|
|
||||||
%find_lang sane-smfp
|
%find_lang sane-smfp
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -105,43 +91,22 @@ rm -f %{buildroot}%{_datadir}/locale/fr/LC_MESSAGES/install.mo
|
|||||||
|
|
||||||
%files -f sane-smfp.lang
|
%files -f sane-smfp.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_initrddir}/smfpd
|
%{_sysconfdir}/sane.d/dll.d/smfp-scanner
|
||||||
%{_sysconfdir}/sane.d/dll.d/smfp
|
%config(noreplace) %{_sysconfdir}/sane.d/smfp.conf
|
||||||
%{_sysconfdir}/udev/rules.d/98_smfpautoconf.rules
|
%{_prefix}/lib/cups/backend/smfpnetdiscovery
|
||||||
%{_sysconfdir}/udev/rules.d/99_smfpautoconf.rules
|
%{_prefix}/lib/cups/filter/pstosecps
|
||||||
%{_sysconfdir}/sane.d/smfp.conf
|
%{_prefix}/lib/cups/filter/rastertospl
|
||||||
%{_sbindir}/smfpd
|
%{_prefix}/lib/cups/filter/rastertosplc
|
||||||
%{_bindir}/netdiscovery
|
%{_udevrulesdir}/60_smfp_samsung.rules
|
||||||
%{_libdir}/cups/backend/mfp
|
%{_libdir}/libscmssc.so
|
||||||
%{_libdir}/cups/filter/pstosecps
|
%{_libdir}/sane/libsane-smfp.so
|
||||||
%{_libdir}/cups/filter/pstospl
|
%{_libdir}/sane/libsane-smfp.so.*
|
||||||
%{_libdir}/cups/filter/pstosplc
|
%dir %{_datadir}/ppd/suld
|
||||||
%{_libdir}/cups/filter/rastertospl
|
%{_datadir}/ppd/suld/*
|
||||||
%{_libdir}/cups/filter/rastertosplc
|
|
||||||
%{_libdir}/libmfp.so*
|
|
||||||
%{_libdir}/sane/libsane-smfp.so*
|
|
||||||
%{_datadir}/cups/model/*.ppd*
|
|
||||||
%dir %{_datadir}/cups/model/samsung
|
|
||||||
%{_datadir}/cups/model/samsung/cms/*.cts
|
|
||||||
#%{_datadir}/ppd/cms/*.cts
|
|
||||||
%dir %{_datadir}/samsung-unified-driver
|
|
||||||
%{_datadir}/samsung-unified-driver/*
|
|
||||||
%{_datadir}/applications/Samsung-Configurator.desktop
|
|
||||||
/opt/smfp-common/lib/libnetsnmp.so.10.0.2
|
|
||||||
/opt/smfp-common/lib/libscmssc.so
|
|
||||||
/opt/smfp-common/printer/.version
|
|
||||||
%dir /opt/Samsung/mfp/
|
|
||||||
%dir /opt/Samsung/mfp/bin
|
|
||||||
/opt/Samsung/mfp/bin/*
|
|
||||||
%dir /opt/Samsung/mfp/plugins
|
|
||||||
/opt/Samsung/mfp/plugins/*
|
|
||||||
%dir /opt/Samsung/mfp/share
|
|
||||||
/opt/Samsung/mfp/share/OEM.ini
|
|
||||||
%dir /opt/Samsung/mfp/share/images
|
|
||||||
/opt/Samsung/mfp/share/images/Configurator.png
|
|
||||||
%doc cdroot/Linux/noarch/eula/eula.htm
|
|
||||||
%doc cdroot/Linux/noarch/eula/eula-fr.htm
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.00.39-1mamba
|
||||||
|
- update to 1.00.39
|
||||||
|
|
||||||
* Mon Jun 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.01.17-1mamba
|
* Mon Jun 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.01.17-1mamba
|
||||||
- package created by silvan using the webbuild interface
|
- package created by silvan using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user