]>
Commit | Line | Data |
---|---|---|
fb03ee33 JB |
1 | Summary: Dropbox extension for Caja file manager |
2 | Summary(pl.UTF-8): Rozszerzenie Dropbox dla zarządcy plików Caja | |
3b26bc03 | 3 | Name: caja-dropbox |
feb3cc3d | 4 | Version: 1.26.0 |
5961ad48 | 5 | Release: 1 |
fb03ee33 | 6 | License: GPL v3+ (code), CC-BY-ND v3.0 (images) |
834606af | 7 | Group: X11/Applications |
feb3cc3d JP |
8 | Source0: https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 91a4a5e8b04fe7a710db07882b944405 | |
ff0312df | 10 | Patch0: dropboxd-path.patch |
c043ea41 | 11 | Patch1: python-gpg-pkg.patch |
834606af | 12 | URL: http://getdropbox.com/ |
fab60de9 | 13 | BuildRequires: autoconf >= 2.50 |
a705c0ad | 14 | BuildRequires: automake >= 1:1.9 |
4011064a | 15 | BuildRequires: caja-devel >= 1.17.1 |
fb03ee33 JB |
16 | # rst2man |
17 | BuildRequires: docutils | |
feb3cc3d | 18 | BuildRequires: gettext-tools >= 0.19.8 |
e8c6c539 | 19 | BuildRequires: glib2-devel >= 1:2.50.0 |
a705c0ad | 20 | BuildRequires: libtool |
834606af | 21 | BuildRequires: pkgconfig |
b38aee83 | 22 | BuildRequires: python3 >= 1:3 |
c043ea41 | 23 | BuildRequires: python3-docutils |
b38aee83 | 24 | BuildRequires: python3-pygobject3 >= 3.0 |
35c41146 | 25 | BuildRequires: rpm-pythonprov |
b38aee83 | 26 | BuildRequires: rpmbuild(macros) >= 1.596 |
feb3cc3d JP |
27 | BuildRequires: tar >= 1:1.22 |
28 | BuildRequires: xz | |
36297db7 | 29 | Requires(post,postun): gtk-update-icon-cache |
834606af | 30 | Requires(post,postun): hicolor-icon-theme |
4011064a | 31 | Requires: caja >= 1.17.1 |
e8c6c539 | 32 | Requires: glib2 >= 1:2.50.0 |
c043ea41 | 33 | Requires: gtk+3 |
b38aee83 JB |
34 | Requires: python3-pygobject3 >= 3.0 |
35 | Requires: python3-modules >= 1:3 | |
1a12afc0 | 36 | Requires: xdg-utils |
ad4ee73b | 37 | Suggests: dropbox |
c043ea41 | 38 | Suggests: python3-gpg |
834606af MB |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
fb03ee33 JB |
42 | Dropbox extension for Caja file manager, used as sync, versioning and |
43 | backup software for your local and remote resources between a number | |
44 | of machines. | |
834606af MB |
45 | |
46 | %description -l pl.UTF-8 | |
fb03ee33 JB |
47 | Rozszerzenie Dropbox dla zarządcy plików Caja, służące do |
48 | synchronizacji, obsługi wersji oraz tworzenia kopii zapasowych zasobów | |
49 | lokalnych oraz zdalnych pomiędzy określonymi maszynami. | |
834606af MB |
50 | |
51 | %prep | |
52 | %setup -q | |
ff0312df | 53 | %patch0 -p1 |
830b0c62 | 54 | %patch1 -p1 |
834606af | 55 | |
0b4297c2 JP |
56 | %{__sed} -i -e '1s|#!/usr/bin/env python3$|#!%{__python3}|' caja-dropbox.in |
57 | ||
834606af | 58 | %build |
fab60de9 JB |
59 | %{__libtoolize} |
60 | %{__aclocal} -I m4 | |
a705c0ad JP |
61 | %{__autoconf} |
62 | %{__autoheader} | |
63 | %{__automake} | |
834606af | 64 | %configure \ |
7f9a86de ER |
65 | --disable-silent-rules \ |
66 | --disable-static | |
834606af MB |
67 | %{__make} |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
b38aee83 | 71 | |
834606af MB |
72 | %{__make} install \ |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
3b26bc03 | 75 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.la |
834606af | 76 | |
b38aee83 JB |
77 | # not supported by glibc (as of 2.34) |
78 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie | |
79 | ||
80 | %find_lang %{name} | |
81 | ||
834606af MB |
82 | %clean |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post | |
86 | %update_icon_cache hicolor | |
87 | ||
88 | %postun | |
89 | %update_icon_cache hicolor | |
90 | ||
b38aee83 | 91 | %files -f %{name}.lang |
834606af | 92 | %defattr(644,root,root,755) |
33bdc4a0 | 93 | %doc AUTHORS COPYING ChangeLog NEWS README |
830b0c62 | 94 | %attr(755,root,root) %{_bindir}/%{name} |
3b26bc03 | 95 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-dropbox.so |
5961ad48 | 96 | %{_datadir}/caja/extensions/libcaja-dropbox.caja-extension |
0c8afc86 ER |
97 | %dir %{_datadir}/%{name} |
98 | %dir %{_datadir}/%{name}/emblems | |
99 | %{_datadir}/%{name}/emblems/*.icon | |
100 | %{_datadir}/%{name}/emblems/*.png | |
830b0c62 | 101 | %{_desktopdir}/%{name}.desktop |
5961ad48 | 102 | %{_iconsdir}/hicolor/*/apps/caja-dropbox.png |
fb03ee33 | 103 | %{_mandir}/man1/caja-dropbox.1* |