source: projects/specs/trunk/d/deja-dup/deja-dup-vl.spec @ 5919

Revision 5919, 4.4 KB checked in by kudoh, 12 years ago (diff)
Line 
1Summary:        Backup utility that use duplicity as the backend
2Summary(ja):    バックエンドとして duplicity を使うバックアップユーティリティ
3Name:           deja-dup
4Version:        20.2
5Release:        1%{?_dist_release}
6Group:          Applications/Archiving
7License:        GPLv3
8URL:            https://launchpad.net/deja-dup
9Source0:        %{name}-%{version}.tar.bz2
10#Patch0: escape_globs.patch
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
14#BuildRequires: GConf2-devel
15BuildRequires:  cairo-devel
16BuildRequires:  desktop-file-utils
17BuildRequires:  dbus-glib-devel
18BuildRequires:  gettext >= 0.17
19#BuildRequires: gtk2-devel >= 2.18
20BuildRequires:  gtk3-devel
21BuildRequires:  glib2-devel >= 2.20
22BuildRequires:  gnome-doc-utils >= 0.3.2
23BuildRequires:  gnome-keyring-devel
24BuildRequires:  intltool >= 0.40
25BuildRequires:  itstool
26BuildRequires:  libgnome-keyring-devel
27BuildRequires:  libnotify-devel
28BuildRequires:  nautilus-devel
29BuildRequires:  pango-devel
30BuildRequires:  perl-XML-Parser
31BuildRequires:  pkgconfig >= 0.90
32BuildRequires:  vala-devel >= 0.9.2
33BuildRequires:  unique-devel
34
35Requires: duplicity yelp
36#Requires(pre): GConf2
37#Requires(post): GConf2
38#Requires(preun): GConf2
39
40%description
41Déjà Dup is a simple backup program.
42It hides the complexity of doing backups the 'right way'
43(encrypted, off-site, and regular) and uses duplicity as the backend.
44
45%description -l ja
46Déjà Dup はシンプルなバックアッププログラムです。
47バックアップ作業の複雑性を覆い隠して適切な方法(暗号化、オフサイト、通常)で
48行い、バックエンドとして duplicity を使用します。
49
50%prep
51%setup -q
52#%patch0 -p1
53
54%build
55%configure --disable-static --with-nautilus --with-gnu-ld
56
57%{__make} %{?_smp_mflags}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
62make DESTDIR=$RPM_BUILD_ROOT install
63#unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
64
65rm -f %{buildroot}/%{_libdir}/nautilus/extensions-3.0/*.la
66
67desktop-file-install --vendor ""                        \
68        --dir %{buildroot}%{_datadir}/applications      \
69        %{buildroot}%{_datadir}/applications/%{name}.desktop
70
71desktop-file-install --vendor ""                        \
72        --dir %{buildroot}%{_datadir}/applications      \
73        %{buildroot}%{_datadir}/applications/%{name}-preferences.desktop
74
75desktop-file-validate %{buildroot}/%{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop
76
77%find_lang %{name}
78
79%clean
80rm -rf ${RPM_BUILD_ROOT}
81
82%post
83touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
84
85%postun
86if [ $1 -eq 0 ] ; then
87    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
88    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
89    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
90fi
91
92%posttrans
93gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
94glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
95
96
97%files -f %{name}.lang
98%doc COPYING NEWS
99%{_bindir}/deja-dup
100%{_bindir}/deja-dup-preferences
101%{_datadir}/applications/deja-dup-preferences.desktop
102%{_mandir}/man1/deja-dup-preferences.1.gz
103%{_mandir}/man1/deja-dup.1.gz
104%{_mandir}/*/man1/deja-dup-preferences.1.gz
105%{_mandir}/*/man1/deja-dup.1.gz
106%{_datadir}/GConf/gsettings/deja-dup.convert
107%{_datadir}/glib-2.0/schemas/org.gnome.DejaDup.gschema.xml
108%{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop
109%{_libdir}/nautilus/extensions-3.0/libdeja-dup.so
110%{_libexecdir}/deja-dup/deja-dup*
111%{_datadir}/applications/deja-dup.desktop
112%{_datadir}/deja-dup/ui/restore-missing.ui
113%{_datadir}/icons/hicolor/*/apps/deja-dup.png
114%{_datadir}/icons/hicolor/scalable/apps/deja-dup-symbolic.svg
115%{_datadir}/icons/hicolor/scalable/devices/deja-dup-cloud.svg
116%{_datadir}/help/*/deja-dup/
117
118%changelog
119* Sun Mar 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20.2-1
120- new upstream release
121- added BuildRequires: itstool, libgnome-keyring-devel
122- changed BuildRequires: gtk2-devel >= 2.18 to gtk3-devel
123- dropt Gconf2 dependency
124  - BuildRequires: GConf2-devel
125  - Requires: GConf2
126- fixed configure option
127  - added --with-nautilus --with-gnu-ld
128  - deleted --disable-schemas-install
129
130* Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.1.1-1
131- new upstream release
132
133* Thu Oct 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.0-1
134- new upstream release
135- changed BuildRequires: vala-devel >= 0.9.2
136- added deja-dup-preferences.desktop
137
138* Tue Jun 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.2-1
139- new upstream release
140
141* Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.1-1
142- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.