]>
Commit | Line | Data |
---|---|---|
1 | Summary: Dropbox extension for Caja | |
2 | Summary(pl.UTF-8): Rozszerzenie Dropbox dla Caja | |
3 | Name: caja-dropbox | |
4 | Version: 0.7.1 | |
5 | Release: 0.1 | |
6 | License: GPL v2 with exceptions | |
7 | Group: X11/Applications | |
8 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 36fb90fe6fa1463c94707565c98c30c7 | |
10 | Patch0: dropboxd-path.patch | |
11 | URL: http://getdropbox.com/ | |
12 | BuildRequires: glib2-devel >= 1:2.14.0 | |
13 | BuildRequires: gtk+2-devel >= 2:2.12.0 | |
14 | BuildRequires: libnotify-devel >= 0.4.4 | |
15 | BuildRequires: mate-file-manager-devel >= 1.1.0 | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: python-docutils | |
18 | BuildRequires: python-pygtk-devel | |
19 | BuildRequires: rpm-pythonprov | |
20 | BuildRequires: rpmbuild(macros) >= 1.311 | |
21 | Requires(post,postun): gtk-update-icon-cache | |
22 | Requires(post,postun): hicolor-icon-theme | |
23 | Requires: mate-file-manager | |
24 | Suggests: python-pygpgme | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Dropbox extension for Caja used as sync, versioning and backup | |
29 | software for your local and remote resources between a number of | |
30 | machines. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | Rozszerzenie Dropbox dla Caja używane do synchronizacji, obsługi | |
34 | wersji oraz tworzenia kopii zapasowych zasobów lokalnych oraz zdalnych | |
35 | pomiędzy określonymi maszynami. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | %patch0 -p1 | |
40 | ||
41 | %build | |
42 | NOCONFIGURE=1 ./autogen.sh | |
43 | %configure \ | |
44 | --disable-dependency-tracking \ | |
45 | --enable-static=no \ | |
46 | ||
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.la | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %update_icon_cache hicolor | |
62 | ||
63 | %postun | |
64 | %update_icon_cache hicolor | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc AUTHORS COPYING ChangeLog NEWS README | |
69 | %attr(755,root,root) %{_bindir}/dropbox | |
70 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-dropbox.so | |
71 | %{_iconsdir}/hicolor/*/*/*.png | |
72 | %dir %{_datadir}/%{name} | |
73 | %dir %{_datadir}/%{name}/emblems | |
74 | %{_datadir}/%{name}/emblems/*.icon | |
75 | %{_datadir}/%{name}/emblems/*.png | |
76 | %{_desktopdir}/dropbox.desktop | |
77 | %{_mandir}/man1/*.1* |