SPECS: brscan.spec - pl
qboosh
qboosh at pld-linux.org
Sat Jun 16 23:17:04 CEST 2007
Author: qboosh Date: Sat Jun 16 21:17:04 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl
---- Files affected:
SPECS:
brscan.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/brscan.spec
diff -u SPECS/brscan.spec:1.2 SPECS/brscan.spec:1.3
--- SPECS/brscan.spec:1.2 Sat Jun 9 01:07:13 2007
+++ SPECS/brscan.spec Sat Jun 16 23:16:59 2007
@@ -1,6 +1,7 @@
# $Revision$, $Date$
-#
+# TODO: place SANE drivers in sane-backend-* package
Summary: Brother scanner driver
+Summary(pl.UTF-8): Sterownik do skanerów Brother
Name: brscan
Version: 0.2.3
Release: 1
@@ -8,8 +9,8 @@
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
+URL: http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -20,6 +21,10 @@
%description
Scanner driver for Brother MFC printers, both USB and network.
+%description -l pl.UTF-8
+Sterownik skanera dla drukarek Brother MFC, zarówno USB jak i
+sieciowych.
+
%prep
%setup -q -n %{name}-src-%{version}
%patch0 -p1
@@ -33,21 +38,11 @@
#%%{__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} -C lib
+%{__make} -C netconfig
+%{__make} -C sanei
+%{__make} -C backend_brscan
+%{__make} -C backend_brscan2
#%{__make} \
# CFLAGS="%{rpmcflags}" \
@@ -55,24 +50,20 @@
%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/
+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/
+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}/
+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
@@ -81,10 +72,9 @@
%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
+%attr(755,root,root) %{_libdir}/sane/lib*.so*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -92,9 +82,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2007/06/16 21:16:59 qboosh
+- pl
+
Revision 1.2 2007/06/08 23:07:13 aredridel
- BR: ncurses-devel
Revision 1.1 2007/06/08 23:06:50 aredridel
- added
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/brscan.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list