# $Id$ # rpm package description file for building # Copyright (C) 2002 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; exactly version 2 of June 1991 is required # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # 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://www.jankratochvil.net/sw/@PACKAGE@-@VERSION@.tar.gz Copyright: GPL BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root %description 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 %build # Never disable debug for captive, see FAQ # "How to check valid input arguments? Invalid processing state assumptions?" %configure \ --enable-shared --disable-static \ --disable-debug make %install make DESTDIR=$RPM_BUILD_ROOT install-strip %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %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