SPECS: captive.spec - saving work (not finished yet)

adamg adamg at pld-linux.org
Mon Aug 8 00:02:27 CEST 2005


Author: adamg                        Date: Sun Aug  7 22:02:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- saving work (not finished yet)

---- Files affected:
SPECS:
   captive.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/captive.spec
diff -u SPECS/captive.spec:1.8 SPECS/captive.spec:1.9
--- SPECS/captive.spec:1.8	Tue Sep  7 16:15:00 2004
+++ SPECS/captive.spec	Mon Aug  8 00:02:21 2005
@@ -14,6 +14,7 @@
 Source0:	http://www.jankratochvil.net/project/captive/dist/%{name}-%{version}.tar.gz
 # Source0-md5:	dfb7ce617745695e7a908609b9370fd6
 Patch0:		%{name}-non_root_install.patch
+Patch1:		%{name}-popt_link.patch
 URL:		http://www.jankratochvil.net/project/captive/
 BuildRequires:	ORBit2-devel
 BuildRequires:	autoconf
@@ -58,14 +59,30 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 #%{__libtoolize}
-#%{__aclocal}
+#%{__aclocal} -I macros
 #%{__autoconf}
 #%{__autoheader}
 #%{__automake}
-%configure
+%configure \
+	--enable-shared \
+	--disable-static \
+	--with-readline \
+	--disable-bug-replay \
+	--enable-lufs=auto \
+	--disable-install-pkg \
+	--enable-sandbox-setuid=captive \
+	--enable-sandbox-setgid=captive \
+	--enable-sandbox-chroot=/var/lib/captive \
+	--enable-man-pages \
+	--enable-sbin-mountdir=/sbin \
+	--enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd \
+	--with-oribt-line=link \
+	--with-tmpdir=/tmp
+
 %{__make}
 
 %install
@@ -74,18 +91,23 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README THANKS TODO
+%attr(755,root,root) /sbin/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
+%{_sysconfdir}/gnome-vfs-2.0/modules/*
 %{_libdir}/lib*
 %{_libdir}/gnome-vfs-2.0/modules/*
 %{_includedir}/captive/*
 %{_mandir}/man?/*
+%{_var}/lib/captive/
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -93,6 +115,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/08/07 22:02:21  adamg
+- saving work (not finished yet)
+
 Revision 1.8  2004/09/07 14:15:00  adamg
 - added non_root_install patch
 - disable autothingies
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/captive.spec?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list