source: projects/specs/branches/6/d/deja-dup/deja-dup-vl.spec @ 2281

Revision 2281, 3.2 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:        16.1.1
5Release:        1%{?_dist_release}
6Group:          Applications/Archiving
7License:        GPLv3
8URL:            https://launchpad.net/deja-dup
9Source0:        %{name}-%{version}.tar.bz2
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  GConf2-devel
14BuildRequires:  cairo-devel
15BuildRequires:  desktop-file-utils
16BuildRequires:  dbus-glib-devel
17BuildRequires:  gettext >= 0.17
18BuildRequires:  gtk2-devel >= 2.18
19BuildRequires:  glib2-devel >= 2.20
20BuildRequires:  gnome-doc-utils >= 0.3.2
21BuildRequires:  gnome-keyring-devel
22BuildRequires:  intltool >= 0.40
23BuildRequires:  libnotify-devel
24BuildRequires:  nautilus-devel
25BuildRequires:  pango-devel
26BuildRequires:  perl-XML-Parser
27BuildRequires:  pkgconfig >= 0.90
28BuildRequires:  vala-devel >= 0.9.2
29BuildRequires:  unique-devel
30
31Requires: duplicity yelp
32Requires(pre): GConf2
33Requires(post): GConf2
34Requires(preun): GConf2
35
36%description
37Déjà Dup is a simple backup program.
38It hides the complexity of doing backups the 'right way'
39(encrypted, off-site, and regular) and uses duplicity as the backend.
40
41%description -l ja
42Déjà Dup はシンプルなバックアッププログラムです。
43バックアップ作業の複雑性を覆い隠して適切な方法(暗号化、オフサイト、通常)で
44行い、バックエンドとして duplicity を使用します。
45
46%prep
47%setup -q
48
49%build
50%configure --disable-static --disable-schemas-install
51
52%{__make} %{?_smp_mflags}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
57make DESTDIR=$RPM_BUILD_ROOT install
58unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
59
60rm -f %{buildroot}/%{_libdir}/nautilus/extensions-2.0/*.la
61
62desktop-file-install --vendor ""                        \
63        --dir %{buildroot}%{_datadir}/applications      \
64        %{buildroot}%{_datadir}/applications/%{name}.desktop
65
66desktop-file-install --vendor ""                        \
67        --dir %{buildroot}%{_datadir}/applications      \
68        %{buildroot}%{_datadir}/applications/%{name}-preferences.desktop
69
70%find_lang %{name}
71
72%clean
73rm -rf ${RPM_BUILD_ROOT}
74
75%post
76touch --no-create %{_datadir}/icons/hicolor
77if [ -x /usr/bin/gtk-update-icon-cache ]; then
78  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
79fi
80
81%postun
82touch --no-create %{_datadir}/icons/hicolor
83if [ -x /usr/bin/gtk-update-icon-cache ]; then
84  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
85fi
86
87
88%files -f %{name}.lang
89%defattr(-,root,root,- )
90%doc ABOUT-NLS AUTHORS COPYING NEWS
91%{_sysconfdir}/gconf/
92%{_sysconfdir}/xdg/autostart/
93%{_bindir}/%{name}*
94%{_libdir}/%{name}/
95%{_libdir}/nautilus
96%{_datadir}/applications/*.desktop
97%{_datadir}/gnome/help
98%{_datadir}/icons/hicolor/
99#%{_datadir}/omf/
100%{_mandir}/*
101
102%changelog
103* Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.1.1-1
104- new upstream release
105
106* Thu Oct 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.0-1
107- new upstream release
108- changed BuildRequires: vala-devel >= 0.9.2
109- added deja-dup-preferences.desktop
110
111* Tue Jun 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.2-1
112- new upstream release
113
114* Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.1-1
115- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.