]> git.pld-linux.org Git - packages/backintime.git/blame - backintime.spec
initial
[packages/backintime.git] / backintime.spec
CommitLineData
1740b4a6 1# TODO
2# - add spec for kompare and add this app to Suggests in %{name}-kde4
3#
4Summary: Back In Time is a simple backup tool for Linux
5Summary(pl.UTF-8): Back In Time to proste narzędzie do tworzenia kopii zapasowych pod Linuksem
6Name: backintime
7Version: 0.9.26
8Release: 1
9License: v2/GPL
10Group: Applications/Archiving
11Source0: http://backintime.le-web.org/download/backintime/%{name}-%{version}_src.tar.gz
12Patch0: %{name}_kde4_makefile.patch
13URL: http://backintime.le-web.org
14BuildRequires: rpm-pythonprov
15BuildRequires: rpmbuild(macros) >= 1.219
16Requires: crondaemon
17Requires: python
18Requires: rsync
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Back In Time is a simple backup tool for Linux inspired from “flyback
24project” and “TimeVault”. The backup is done by taking snapshots of a
25specified set of directories. Currently there are two GUI available:
26GNOME and KDE 4 (>= 4.1).
27
28%description -l pl.UTF-8
29Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
30Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
31Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
32dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
33
34
35%package gnome
36Summary: GNOME GUI for Back In Time
37Summary(pl.UTF-8): GUI programu Back In Time przeznaczone dla środowiska GNOME
38Group: Applications/Archiving
39Requires: backintime
40Requires: python-gnome
41Requires: python-pygtk-glade
42Suggests: meld
43
44%description gnome
45Back In Time is a simple backup tool for Linux inspired from “flyback
46project” and “TimeVault”. The backup is done by taking snapshots of a
47specified set of directories. Currently there are two GUI available:
48GNOME and KDE 4 (>= 4.1).
49
50%description gnome -l pl.UTF-8
51Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
52Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
53Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
54dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
55
56
57%package kde4
58Summary: KDE4 GUI for Back In Time
59Summary(pl.UTF-8): GUI programu Back In Time przeznaczone dla środowiska KDE4
60Group: Applications/Archiving
61Requires: backintime
62Requires: python-PyKDE4
63
64%description kde4
65Back In Time is a simple backup tool for Linux inspired from “flyback
66project” and “TimeVault”. The backup is done by taking snapshots of a
67specified set of directories. Currently there are two GUI available:
68GNOME and KDE 4 (>= 4.1).
69
70%description kde4 -l pl.UTF-8
71Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
72Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
73Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
74dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
75
76%prep
77%setup -q
78# s/kde4/kde/
79%patch0 -p0
80
81%build
82cd common
83%configure
84%{__make}
85cd ../gnome
86%configure \
87 --no-check
88cd ../kde4
89%configure \
90 --no-check
91
92%install
93rm -rf $RPM_BUILD_ROOT
94cd common
95%{__make} install \
96 PREFIX=%{_prefix} \
97 LIBDIR=/%{_lib} \
98 DESTDIR=$RPM_BUILD_ROOT
99
100cd ../gnome
101%{__make} install \
102 PREFIX=%{_prefix} \
103 LIBDIR=/%{_lib} \
104 DESTDIR=$RPM_BUILD_ROOT
105
106cd ../kde4
107%{__make} install \
108 PREFIX=%{_prefix} \
109 LIBDIR=/%{_lib} \
110 DESTDIR=$RPM_BUILD_ROOT
111
112%clean
113rm -rf $RPM_BUILD_ROOT
114
115%files
116%defattr(644,root,root,755)
117%doc AUTHORS CHANGES LICENSE README TODO TRANSLATIONS VERSION
118%attr(755,root,root) %{_bindir}/backintime
119%{_datadir}/backintime/common/*
120%{_docdir}/backintime-common/*
121%{_datadir}/backintime/plugins/usercallbackplugin.py
122%{_datadir}/locale/
123%{_mandir}/man1/backintime.1*
124%dir %{_docdir}/backintime-common
125%dir %{_datadir}/backintime
126%dir %{_datadir}/backintime/plugins
127%dir %{_datadir}/backintime/common
128
129%files gnome
130%defattr(644,root,root,755)
131%attr(755,root,root) %{_bindir}/backintime-gnome
132%{_datadir}/backintime/plugins/gnomeplugin.py
133%{_datadir}/backintime/gnome/*
134%{_datadir}/gnome/help/backintime/
135%{_datadir}/omf/backintime/backintime-C.omf
136%{_desktopdir}/backintime-gnome*.desktop
137%{_docdir}/backintime-gnome/
138%{_mandir}/man1/backintime-gnome.1*
139%dir %{_datadir}/omf/backintime
140%dir %{_datadir}/backintime/gnome
141
142%files kde4
143%defattr(644,root,root,755)
144%attr(755,root,root) %{_bindir}/backintime-kde4
145%{_datadir}/backintime/plugins/kde4plugin.py
146%{_datadir}/backintime/kde4/*
147%{_desktopdir}/kde4/*
148%{_docdir}/backintime-kde4/*
149%{_docdir}/kde/HTML/en/backintime/*
150%dir %{_docdir}/backintime-kde4
151%dir %{_docdir}/kde/HTML/en/backintime
152%dir %{_datadir}/backintime/kde4
This page took 0.099988 seconds and 4 git commands to generate.