SPECS: AutoScan.spec - BRs, build and files fixes

qboosh qboosh at pld-linux.org
Fri Aug 29 21:04:57 CEST 2008


Author: qboosh                       Date: Fri Aug 29 19:04:57 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BRs, build and files fixes

---- Files affected:
SPECS:
   AutoScan.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/AutoScan.spec
diff -u SPECS/AutoScan.spec:1.15 SPECS/AutoScan.spec:1.16
--- SPECS/AutoScan.spec:1.15	Fri Aug 29 20:35:00 2008
+++ SPECS/AutoScan.spec	Fri Aug 29 21:04:52 2008
@@ -5,26 +5,33 @@
 Version:	1.12
 Release:	0.1
 License:	GPL
-Group:		X11/Applications/Networking
+Group:		Networking
 Source0:	http://autoscan.fr/download/%{name}-%{version}.tar.gz
 # Source0-md5:	59c94af105807738c379586447755e20
 Patch0:		%{name}-install.patch
 URL:		http://autoscan.free.fr/
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	elfutils-devel
 BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.6.3
 BuildRequires:	gnome-keyring-devel >= 0.4.2
 BuildRequires:	gnome-vfs2-devel >= 2.8.4
+BuildRequires:	gtk+2-devel >= 2:2.6.0
+# disabled in configure
+#BuildRequires:	gtk-vnc-devel >= 0.2.0
 BuildRequires:	libao-devel >= 0.8.5
 BuildRequires:	libbonoboui-devel >= 2.8.1
 BuildRequires:	libgnomeui-devel >= 2.8.1
 BuildRequires:	libgtkhtml-devel
 BuildRequires:	libsmbclient-devel
+BuildRequires:	libvorbis-devel >= 1:1.1.0
+BuildRequires:	libxml2-devel
 BuildRequires:	net-snmp-devel >= 5.0
-BuildRequires:	openssl-devel >= 0.9.7
+BuildRequires:	openssl-devel >= 0.9.7a
 BuildRequires:	pango-devel >= 1.8.1
+BuildRequires:	pkgconfig
 BuildRequires:	vte-devel >= 0.11.12
-Requires:	kdelibs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -61,8 +68,9 @@
 %patch0 -p1
 
 %build
-%configure
-%{__make}
+bash configure
+%{__make} \
+	CC='%{__cc} %{rpmcflags} $(OPTIONS)'
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -70,18 +78,21 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv -f $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png \
+	$RPM_BUILD_ROOT%{_pixmapsdir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/autoscan-network
+%attr(755,root,root) %{_sbindir}/autoscan-network-daemon
 %{_datadir}/apps/%{name}
-%{_datadir}/pixmaps/%{name}
 %{_datadir}/sounds/%{name}
 %{_desktopdir}/%{name}.desktop
-%{_datadir}/icons/%{name}.png
+%{_pixmapsdir}/%{name}.png
+%{_pixmapsdir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -89,8 +100,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.15  2008/08/29 18:35:00  qboosh
-- better Group
+Revision 1.16  2008/08/29 19:04:52  qboosh
+- BRs, build and files fixes
 
 Revision 1.14  2008/08/29 18:33:47  qboosh
 - pl desc
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/AutoScan.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list