# Note that this is NOT a relocatable package %define prefix /usr Summary: Tool for easily maintaining remote web sites Name: sitecopy Version: 0.11.4 Release: 1mdk License: GPL Group: Networking/File transfer Source0: http://www.lyra.org/sitecopy/sitecopy-%{version}.tar.gz URL: http://www.lyra.org/sitecopy/ BuildRoot: %_tmppath/sitecopy-%{version}-root %description sitecopy allows you to easily maintain remote Web sites. The program will upload files to the server which have changed locally, and delete files from the server which have been removed locally, to keep the remote site synchronized with the local site, with a single command. sitecopy will also optionally try to spot files you move locally, and move them remotely. FTP and WebDAV servers are supported. %package -n xsitecopy Summary: GUI tool for easily maintaining remote web sites Group: Networking/File transfer %description -n xsitecopy XSitecopy is a GNOME frontend for sitecopy. Currently it does not support "resynch" mode, but it does have the advantage of providing full configuration editing and creation facilities. %prep %setup -q %build # vanilla sitecopy. mkdir sitecopy; cd sitecopy CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ../configure \ --prefix=%{prefix} \ --libdir=%{_libdir} \ --enable-debug \ --with-ssl=%{_includedir} \ --with-included-expat \ --with-included-neon \ --disable-rsh %make cd .. # xsitecopy. mkdir xsitecopy; cd xsitecopy CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ../configure \ --prefix=%{prefix} \ --libdir=%{_libdir} \ --enable-gnomefe \ --enable-debug \ --with-ssl=%{_includedir} \ --with-included-expat \ --with-included-neon \ --disable-rsh # prior mdk release had --disable-nsl. # if you choose to add this option, omit the install # of *.mo file within %files -n sitecopy %make cd .. %install rm -rf $RPM_BUILD_ROOT (cd sitecopy; %makeinstall) || exit 1 (cd xsitecopy; %makeinstall) || exit 1 %find_lang %{name} # fix doc file permissions chmod 0644 ABOUT-NLS COPYING ChangeLog FAQ INSTALL NEWS README* THANKS TODO %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-, root, root) %{_bindir}/sitecopy %{_mandir}/man1/* %{_prefix}/share/sitecopy %doc ABOUT-NLS COPYING ChangeLog FAQ INSTALL NEWS README* THANKS TODO %files -n xsitecopy %defattr(-, root, root) %dir %{_prefix}/share/gnome/help/xsitecopy %dir %{_prefix}/share/gnome/help/xsitecopy/C %{_prefix}/share/gnome/help/xsitecopy/C/*.html %{_prefix}/share/gnome/help/xsitecopy/C/topic.dat %{_prefix}/share/gnome/apps/Internet/*.desktop %{_prefix}/share/pixmaps/xsitecopy/*.png %{_prefix}/share/xsitecopy/sitecopy-dialogs.glade %{_bindir}/xsitecopy %changelog * Sun Jul 14 2002 Roger <roger@linuxfreemail.com> 0.11.4-1mdk - ok. i'm stumped. (didn't know a cvs existed) rebuilt for 0.11.4 release. - now builds both sitecopy/xsitecopy - fix BuildRoot, s/Copyright/License/, rpmlint fixes (sb) * Tue Jul 2 2002 Stew Benedict <sbenedict@mandrakesoft.com> 0.11.4-0.20020206.1mdk - first Mandrake release