]> git.pld-linux.org Git - packages/backintime.git/commitdiff
initial
authorqwiat <qwiat@pld-linux.org>
Sun, 17 Jan 2010 23:09:33 +0000 (23:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    backintime.spec -> 1.1
    backintime_kde4_makefile.patch -> 1.1

backintime.spec [new file with mode: 0644]
backintime_kde4_makefile.patch [new file with mode: 0644]

diff --git a/backintime.spec b/backintime.spec
new file mode 100644 (file)
index 0000000..a130751
--- /dev/null
@@ -0,0 +1,152 @@
+# 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
diff --git a/backintime_kde4_makefile.patch b/backintime_kde4_makefile.patch
new file mode 100644 (file)
index 0000000..e5c6abb
--- /dev/null
@@ -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
This page took 0.085325 seconds and 4 git commands to generate.