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

Revision 1169, 2.8 KB checked in by kudoh, 14 years ago (diff)
Line 
1Summary:        Backup utility that use duplicity as the backend
2Summary(ja):    バックエンドとして duplicity を使うバックアップユーティリティ
3Name:           deja-dup
4Version:        14.2
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.8.0
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
66%find_lang %{name}
67
68%clean
69rm -rf ${RPM_BUILD_ROOT}
70
71%post
72touch --no-create %{_datadir}/icons/hicolor
73if [ -x /usr/bin/gtk-update-icon-cache ]; then
74  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
75fi
76
77%postun
78touch --no-create %{_datadir}/icons/hicolor
79if [ -x /usr/bin/gtk-update-icon-cache ]; then
80  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
81fi
82
83
84%files -f %{name}.lang
85%defattr(-,root,root,- )
86%doc ABOUT-NLS AUTHORS COPYING NEWS
87%{_sysconfdir}/gconf/
88%{_sysconfdir}/xdg/autostart/
89%{_bindir}/%{name}*
90#%{_libdir}/%{name}
91%{_libdir}/nautilus
92%{_datadir}/applications/%{name}.desktop
93%{_datadir}/gnome/help
94%{_datadir}/icons/hicolor/
95%{_datadir}/omf/
96%{_mandir}/*
97
98%changelog
99* Tue Jun 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.2-1
100- new upstream release
101
102* Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.1-1
103- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.