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