packages: backintime/backintime.spec (NEW), backintime/backintime_kde4_make...
qwiat
qwiat at pld-linux.org
Mon Jan 18 00:09:38 CET 2010
Author: qwiat Date: Sun Jan 17 23:09:38 2010 GMT
Module: packages Tag: HEAD
---- Log message:
initial
---- Files affected:
packages/backintime:
backintime.spec (NONE -> 1.1) (NEW), backintime_kde4_makefile.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/backintime/backintime.spec
diff -u /dev/null packages/backintime/backintime.spec:1.1
--- /dev/null Mon Jan 18 00:09:38 2010
+++ packages/backintime/backintime.spec Mon Jan 18 00:09:33 2010
@@ -0,0 +1,164 @@
+# $Revision$, $Date$
+# TODO
+# - add spec for kompare and add this app to Suggests in %{name}-kde4
+#
+Summary: Back In Time is a simple backup tool for Linux
+Summary(pl.UTF-8): Back In Time to proste narzędzie do tworzenia kopii zapasowych pod Linuksem
+Name: backintime
+Version: 0.9.26
+Release: 1
+License: v2/GPL
+Group: Applications/Archiving
+Source0: http://backintime.le-web.org/download/backintime/%{name}-%{version}_src.tar.gz
+Patch0: %{name}_kde4_makefile.patch
+URL: http://backintime.le-web.org
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires: crondaemon
+Requires: python
+Requires: rsync
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Back In Time is a simple backup tool for Linux inspired from “flyback
+project” and “TimeVault”. The backup is done by taking snapshots of a
+specified set of directories. Currently there are two GUI available:
+GNOME and KDE 4 (>= 4.1).
+
+%description -l pl.UTF-8
+Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
+Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
+Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
+dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
+
+
+%package gnome
+Summary: GNOME GUI for Back In Time
+Summary(pl.UTF-8): GUI programu Back In Time przeznaczone dla środowiska GNOME
+Group: Applications/Archiving
+Requires: backintime
+Requires: python-gnome
+Requires: python-pygtk-glade
+Suggests: meld
+
+%description gnome
+Back In Time is a simple backup tool for Linux inspired from “flyback
+project” and “TimeVault”. The backup is done by taking snapshots of a
+specified set of directories. Currently there are two GUI available:
+GNOME and KDE 4 (>= 4.1).
+
+%description gnome -l pl.UTF-8
+Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
+Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
+Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
+dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
+
+
+%package kde4
+Summary: KDE4 GUI for Back In Time
+Summary(pl.UTF-8): GUI programu Back In Time przeznaczone dla środowiska KDE4
+Group: Applications/Archiving
+Requires: backintime
+Requires: python-PyKDE4
+
+%description kde4
+Back In Time is a simple backup tool for Linux inspired from “flyback
+project” and “TimeVault”. The backup is done by taking snapshots of a
+specified set of directories. Currently there are two GUI available:
+GNOME and KDE 4 (>= 4.1).
+
+%description kde4 -l pl.UTF-8
+Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
+Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
+Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
+dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
+
+%prep
+%setup -q
+# s/kde4/kde/
+%patch0 -p0
+
+%build
+cd common
+%configure
+%{__make}
+cd ../gnome
+%configure \
+ --no-check
+cd ../kde4
+%configure \
+ --no-check
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd common
+%{__make} install \
+ PREFIX=%{_prefix} \
+ LIBDIR=/%{_lib} \
+ DESTDIR=$RPM_BUILD_ROOT
+
+cd ../gnome
+%{__make} install \
+ PREFIX=%{_prefix} \
+ LIBDIR=/%{_lib} \
+ DESTDIR=$RPM_BUILD_ROOT
+
+cd ../kde4
+%{__make} install \
+ PREFIX=%{_prefix} \
+ LIBDIR=/%{_lib} \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGES LICENSE README TODO TRANSLATIONS VERSION
+%attr(755,root,root) %{_bindir}/backintime
+%{_datadir}/backintime/common/*
+%{_docdir}/backintime-common/*
+%{_datadir}/backintime/plugins/usercallbackplugin.py
+%{_datadir}/locale/
+%{_mandir}/man1/backintime.1*
+%dir %{_docdir}/backintime-common
+%dir %{_datadir}/backintime
+%dir %{_datadir}/backintime/plugins
+%dir %{_datadir}/backintime/common
+
+%files gnome
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/backintime-gnome
+%{_datadir}/backintime/plugins/gnomeplugin.py
+%{_datadir}/backintime/gnome/*
+%{_datadir}/gnome/help/backintime/
+%{_datadir}/omf/backintime/backintime-C.omf
+%{_desktopdir}/backintime-gnome*.desktop
+%{_docdir}/backintime-gnome/
+%{_mandir}/man1/backintime-gnome.1*
+%dir %{_datadir}/omf/backintime
+%dir %{_datadir}/backintime/gnome
+
+%files kde4
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/backintime-kde4
+%{_datadir}/backintime/plugins/kde4plugin.py
+%{_datadir}/backintime/kde4/*
+%{_desktopdir}/kde4/*
+%{_docdir}/backintime-kde4/*
+%{_docdir}/kde/HTML/en/backintime/*
+%dir %{_docdir}/backintime-kde4
+%dir %{_docdir}/kde/HTML/en/backintime
+%dir %{_datadir}/backintime/kde4
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+
+$Log$
+Revision 1.1 2010/01/17 23:09:33 qwiat
+initial
+
================================================================
Index: packages/backintime/backintime_kde4_makefile.patch
diff -u /dev/null packages/backintime/backintime_kde4_makefile.patch:1.1
--- /dev/null Mon Jan 18 00:09:39 2010
+++ packages/backintime/backintime_kde4_makefile.patch Mon Jan 18 00:09:33 2010
@@ -0,0 +1,13 @@
+--- kde4/Makefile.template 2009-04-28 12:47:25.000000000 +0200
++++ kde4/Makefile.template.new 2010-01-17 22:16:47.504996585 +0100
+@@ -28,7 +28,7 @@
+ install --mode=644 *.desktop $(DEST)/share/applications/kde4
+
+ #install docbook
+- install -d $(DEST)/share/doc/kde4/HTML/en/backintime/figures
+- install --mode=644 docbook/en/*.docbook $(DEST)/share/doc/kde4/HTML/en/backintime
+- install --mode=644 docbook/en/figures/*.png $(DEST)/share/doc/kde4/HTML/en/backintime/figures
++ install -d $(DEST)/share/doc/kde/HTML/en/backintime/figures
++ install --mode=644 docbook/en/*.docbook $(DEST)/share/doc/kde/HTML/en/backintime
++ install --mode=644 docbook/en/figures/*.png $(DEST)/share/doc/kde/HTML/en/backintime/figures
+
================================================================
More information about the pld-cvs-commit
mailing list