Fixed/updated to get it working for the first time
authorshort <>
Wed, 5 Feb 2003 12:28:05 +0000 (12:28 +0000)
committershort <>
Wed, 5 Feb 2003 12:28:05 +0000 (12:28 +0000)
 - "devel" package is disabled for now; no use for it yet

captive.spec.in

index c8e2adc..54ba947 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 
+# Temporary cludge before full 'devel' package gets deployed
+%define _unpackaged_files_terminate_build 0
+
 Summary: Microsoft Windows platform filesystem access.
 Name: @PACKAGE@
 %define release 0
 Version: @VERSION@
 Release: %{release}
 Group: Applications/System
-Source: http://short.vellum.cz/sw/@PACKAGE@-@VERSION@.tar.gz
+Source: http://www.jankratochvil.net/sw/@PACKAGE@-@VERSION@.tar.gz
 Copyright: GPL
 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
 
@@ -30,17 +33,17 @@ BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
 Microsoft Windows platform filesystem access.
 TODO
 
-%package devel
-Summary: Microsoft Windows platform filesystem access development support.
-Group: Development/System
-Requires: surprise = %{PACKAGE_VERSION}
-
-%description devel
-Development package containing libraries for static linking together with
-header files needed for any linking.
-
-Microsoft Windows platform filesystem access.
-TODO
+#% %package devel
+#% Summary: Microsoft Windows platform filesystem access development support.
+#% Group: Development/System
+#% Requires: surprise = %{PACKAGE_VERSION}
+#% 
+#% %description devel
+#% Development package containing libraries for static linking together with
+#% header files needed for any linking.
+#% 
+#% Microsoft Windows platform filesystem access.
+#% TODO
 
 %prep
 %setup
@@ -49,7 +52,8 @@ TODO
 # Never disable debug for captive, see FAQ
 #      "How to check valid input arguments? Invalid processing state assumptions?"
 %configure \
-               --enable-shared --enable-static
+               --enable-shared --disable-static \
+               --disable-debug
 make
 
 %install
@@ -66,21 +70,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%doc INSTALL
-/sbin/@PACKAGE@cmdline
-/usr/bin/@PACKAGE@server
-/usr/share/@PACKAGE@
-/usr/share/locale/*/LC_MESSAGES/@PACKAGE@.mo
-#for version-info use: /lib/*.so.*
-###for --disable-shared/(--enable-static-link disable):
-/usr/lib/*-*.so
+%doc README NEWS AUTHORS ChangeLog
+%{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs-@VERSION@.so
+%{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.so
+%{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.la
+%{_libdir}/libcaptive-@VERSION@.so
+%{_sysconfdir}/gnome-vfs-2.0/modules/captive.conf
+%{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo
 
-%files devel
-%defattr(-,root,root)
-%doc ChangeLog
-/usr/include/@PACKAGE@
-/usr/share/aclocal/*
-/usr/lib/*.a
-/usr/lib/*.la
-###for --disable-shared/(--enable-static-link disable):
-/usr/lib/*[a-z].so
+%files devel
+%defattr(-,root,root)
+# #%doc ChangeLog
+/usr/include/@PACKAGE@
+/usr/share/aclocal/*
+/usr/lib/*.a
+/usr/lib/*.la
+# ###for --disable-shared/(--enable-static-link disable):
+/usr/lib/*[a-z].so