?? sitecopy.spec
字號:
# Note that this is NOT a relocatable package%define ver 0.8.0%define rel 1%define prefix /usrSummary: Local->Remote website synchronizer.Name: sitecopyVersion: %verRelease: %relCopyright: GPLGroup: Applications/NetworkingSource0: http://www.lyra.org/sitecopy/sitecopy-%{PACKAGE_VERSION}.tar.gzURL: http://www.lyra.org/sitecopyBuildRoot: /var/tmp/sitecopy-%{PACKAGE_VERSION}-root%descriptionsitecopy is for copying locally stored websites to remote web servers.The program will upload files to the server which have changedlocally, and delete files from the server which have been removedlocally, to keep the remote site synchronized with the local site,with a single command. The aim is to remove the hassle of uploadingand deleting individual files using an FTP client.%package -n xsitecopySummary: Sitecopy website synchronization utility. (GNOME version)Group: X11/Applications/Networking%description -n xsitecopyXSitecopy is the gnome version of sitecopy. Currently it does not support"fetch mode" or "resynch", but it does have the advantage of providing fullconfiguration editing facilities.%prep%setup%build# vanilla sitecopy.CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \ --prefix=%{prefix} \ --enable-debuggingif [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) makeelse makefimake prefix=$RPM_BUILD_ROOT%{prefix} install-sitecopy# xsitecopy.CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \ --prefix=%{prefix} \ --enable-gnomefe \ --enable-debuggingif [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) makeelse makefi%installecho $RPM_BUILD_ROOTinstall -d $RPM_BUILD_ROOT#install -d $RPM_BUILD_ROOT/usr/{share,share/gnome,share/gnome/apps,share/gnome/apps/Internet}#install -d $RPM_BUILD_ROOT/usr/{share/gnome/help,share/gnome/help/xsitecopy,share/gnome/help/xsitecopy/C}make prefix=$RPM_BUILD_ROOT%{prefix} install-xsitecopy%cleanrm -rf $RPM_BUILD_ROOT%files -n sitecopy%defattr(-, root, root)%{prefix}/bin/sitecopy%doc COPYING README ChangeLog%{prefix}/man/man1/*%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}/bin/xsitecopy%changelog* Mon Jul 26 1999 Joe Orton <joe@orton.demon.co.uk>- Enabled debugging for sitecopy and xsitecopy.* Fri May 28 1999 Dobrica Pavlinusic <dpavlin@foi.hr>- integrated into GNU configure to automaticly pick up version number* Sat Apr 3 1999 Lee Mallabone <lee0@callnetuk.com>- After a few tweaks, it now actually works. :)* Thu Apr 1 1999 Lee Mallabone <lee0@callnetuk.com>- first attempt.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -