|
@@ -1,7 +1,7 @@
|
|
|
-%bcond_with kde4
|
|
|
+#%bcond_with kde4
|
|
|
|
|
|
Name: backintime
|
|
|
-Version: 1.0.6
|
|
|
+Version: 1.0.8
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: Simple backup system
|
|
|
Summary(ja): シンプルなバックアップシステム
|
|
@@ -28,8 +28,8 @@ Back In Time is a simple backup system for Linux inspired from
|
|
|
snapshots of a specified set of directories.
|
|
|
|
|
|
%description -l ja
|
|
|
-Back In Timeは“flyback project”と“TimeVault”に触発された
|
|
|
-Linuxのためのシンプルなバックアップシステムです。
|
|
|
+Back In Time は“flyback project”と“TimeVault”に触発された
|
|
|
+Linux のためのシンプルなバックアップシステムです。
|
|
|
指定されたセットのディレクトリのスナップショットを取ることにより、
|
|
|
バックアップが行われます。
|
|
|
|
|
@@ -49,7 +49,7 @@ Back In Time is a simple backup system for Linux inspired from
|
|
|
This package contains non GUI files used by different GUI fontends.
|
|
|
|
|
|
%description -l ja common
|
|
|
-Back In Timeは “flyback project” と “TimeVault” に触発された
|
|
|
+Back In Time は “flyback project” と “TimeVault” に触発された
|
|
|
Linux のためのシンプルなバックアップシステムです。
|
|
|
このパッケージは異なる GUI フロントエンドにより使用される
|
|
|
GUI を用いないファイルを含んでいます。
|
|
@@ -74,7 +74,6 @@ Back In Timeは “flyback project” と “TimeVault” に触発された
|
|
|
Linux のためのシンプルなバックアップシステムです。
|
|
|
このパッケージは backintime-common の GNOME GUI フロントエンドです。
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
%package kde
|
|
|
Summary: Frontend for %{name} on KDE
|
|
|
Summary(ja): %{name} の KDE フロントエンド
|
|
@@ -92,10 +91,9 @@ Back In Time is a simple backup system for Linux inspired from
|
|
|
“flyback project” and “TimeVault”.
|
|
|
|
|
|
%description -l ja kde
|
|
|
-Back In Timeは “flyback project” と “TimeVault” に触発された
|
|
|
+Back In Time は “flyback project” と “TimeVault” に触発された
|
|
|
Linux のためのシンプルなバックアップシステムです。
|
|
|
このパッケージは backintime-common の KDE4 GUI フロントエンドです。
|
|
|
-%endif
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
@@ -109,7 +107,6 @@ sed -i 's|Exec=gksu backintime-gnome|Exec=backintime-gnome-root|g' \
|
|
|
sed -i 's|Categories=GNOME;GTK;System;|Categories=GNOME;GTK;System;\nNotShowIn=KDE;|g' \
|
|
|
gnome/%{name}-gnome.desktop
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
pushd .
|
|
|
cd ./kde4
|
|
|
cp -pr %{name}-kde4.desktop %{name}-kde4-root.desktop
|
|
@@ -121,7 +118,6 @@ sed -i 's|Exec=backintime-kde4|Exec=%{_bindir}/kdesu -c backintime-kde4|g' \
|
|
|
kde4/%{name}-kde4-root.desktop
|
|
|
sed -i 's|Categories=Qt;KDE;System;|Categories=Qt;KDE;System;\nNotShowIn=GNOME;XFCE;LXDE;|g' \
|
|
|
kde4/%{name}-kde4-root.desktop
|
|
|
-%endif
|
|
|
|
|
|
sed -e 's!share/locale!.*/locale!' /usr/lib/rpm/find-lang.sh > my-find-lang.sh
|
|
|
|
|
@@ -135,11 +131,9 @@ cd ../gnome
|
|
|
%configure
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
cd ../kde4
|
|
|
%configure
|
|
|
make %{?_smp_mflags}
|
|
|
-%endif
|
|
|
|
|
|
cd ..
|
|
|
|
|
@@ -158,13 +152,11 @@ make install \
|
|
|
PREFIX="%{_prefix}" \
|
|
|
DEST="%{buildroot}/%{_prefix}"
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
cd ../kde4
|
|
|
make install \
|
|
|
INSTALL="install -p" \
|
|
|
PREFIX="%{_prefix}" \
|
|
|
DEST="%{buildroot}/%{_prefix}"
|
|
|
-%endif
|
|
|
|
|
|
cd ..
|
|
|
|
|
@@ -177,7 +169,6 @@ desktop-file-install \
|
|
|
--add-category="Settings;" \
|
|
|
%{buildroot}/%{_datadir}/applications/%{name}-gnome-root.desktop
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
desktop-file-install \
|
|
|
--dir=%{buildroot}/%{_datadir}/applications/kde4 \
|
|
|
%{buildroot}/%{_datadir}/applications/kde4/%{name}-kde4.desktop
|
|
@@ -186,24 +177,22 @@ desktop-file-install \
|
|
|
--dir=%{buildroot}/%{_datadir}/applications/kde4 \
|
|
|
--add-category="Settings;" \
|
|
|
%{buildroot}/%{_datadir}/applications/kde4/%{name}-kde4-root.desktop
|
|
|
-%endif
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
cp -p %{buildroot}%{_bindir}/%{name}-gnome \
|
|
|
%{buildroot}%{_sbindir}/%{name}-gnome-root
|
|
|
-%if %{with kde4}
|
|
|
+
|
|
|
cp -p %{buildroot}%{_bindir}/%{name}-kde4 \
|
|
|
%{buildroot}%{_sbindir}/%{name}-kde4-root
|
|
|
-%endif
|
|
|
+
|
|
|
|
|
|
ln -s consolehelper \
|
|
|
%{buildroot}%{_bindir}/%{name}-gnome-root
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
ln -s consolehelper \
|
|
|
%{buildroot}%{_bindir}/%{name}-kde4-root
|
|
|
-%endif
|
|
|
+
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps/
|
|
|
|
|
@@ -213,13 +202,11 @@ PROGRAM=%{_sbindir}/%{name}-gnome-root
|
|
|
SESSION=true
|
|
|
EOF
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
cat << EOF > %{buildroot}%{_sysconfdir}/security/console.apps/%{name}-kde4-root
|
|
|
USER=root
|
|
|
PROGRAM=%{_sbindir}/%{name}-kde4-root
|
|
|
SESSION=true
|
|
|
EOF
|
|
|
-%endif
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
|
|
|
|
|
@@ -230,14 +217,12 @@ account include config-util
|
|
|
session include config-util
|
|
|
EOF
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/%{name}-kde4-root
|
|
|
%PAM-1.0
|
|
|
auth include config-util
|
|
|
account include config-util
|
|
|
session include config-util
|
|
|
EOF
|
|
|
-%endif
|
|
|
|
|
|
sh my-find-lang.sh %{buildroot} %{name} %{name}.lang
|
|
|
find %{buildroot}/%{_datadir}/locale/ -mindepth 1 \
|
|
@@ -277,7 +262,6 @@ rm -rf %{buildroot}
|
|
|
%config %{_sysconfdir}/security/console.apps/%{name}-gnome-root
|
|
|
|
|
|
|
|
|
-%if %{with kde4}
|
|
|
%files kde
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_bindir}/%{name}-kde4
|
|
@@ -290,9 +274,12 @@ rm -rf %{buildroot}
|
|
|
%doc %{_docdir}/%{name}-kde4/
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/%{name}-kde4-root
|
|
|
%config %{_sysconfdir}/security/console.apps/%{name}-kde4-root
|
|
|
-%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Oct 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.8-1
|
|
|
+- new upstream release
|
|
|
+- deleted %bcond_with macro
|
|
|
+
|
|
|
* Mon Jan 3 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.6-1
|
|
|
- new upstream release
|
|
|
- dropt patch1
|