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

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