SPECS: brscan.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Sat Jun 9 01:06:55 CEST 2007
Author: aredridel Date: Fri Jun 8 23:06:55 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
brscan.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/brscan.spec
diff -u /dev/null SPECS/brscan.spec:1.1
--- /dev/null Sat Jun 9 01:06:55 2007
+++ SPECS/brscan.spec Sat Jun 9 01:06:50 2007
@@ -0,0 +1,96 @@
+# $Revision$, $Date$
+#
+Summary: Brother scanner driver
+Name: brscan
+Version: 0.2.3
+Release: 1
+License: GPL v2
+Group: Applications
+Source0: http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_source/%{name}-src-%{version}.tar.gz
+# Source0-md5: 99a7f21fc15661690b296023253bcca6
+URL: http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html
+Patch0: %{name}-fixes.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+Requires: sane-backends
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Scanner driver for Brother MFC printers, both USB and network.
+
+%prep
+%setup -q -n %{name}-src-%{version}
+%patch0 -p1
+
+%build
+cd brscan
+rm configure acinclude.m4
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
+%configure
+cd lib
+%{__make}
+cd ..
+cd netconfig
+%{__make}
+cd ..
+cd sanei
+%{__make}
+cd ..
+cd backend_brscan
+%{__make}
+cd ..
+cd backend_brscan2
+%{__make}
+cd ..
+
+#%{__make} \
+# CFLAGS="%{rpmcflags}" \
+# LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir}/sane}
+#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+cd brscan
+cd backend_brscan
+libtool --mode=install install libsane-brother.la $RPM_BUILD_ROOT%{_libdir}/sane/
+cd ..
+cd backend_brscan2
+libtool --mode=install install libsane-brother2.la $RPM_BUILD_ROOT%{_libdir}/sane/
+cd ..
+cd netconfig
+libtool --mode=install install brsaneconfig $RPM_BUILD_ROOT%{_sbindir}/
+libtool --mode=install install brsaneconfig2 $RPM_BUILD_ROOT%{_sbindir}/
+cd ..
+
+
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_libdir}/sane/lib*.so
+%attr(755,root,root) %{_libdir}/sane/lib*.so.*.*.*
+%attr(755,root,root) %{_sbindir}/brsaneconfig
+%attr(755,root,root) %{_sbindir}/brsaneconfig2
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/06/08 23:06:50 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list