1 | Summary: Dropbox extension for Caja |
---|
2 | Summary(ja): Caja 用 Dropbox 拡張モジュール |
---|
3 | Name: caja-dropbox |
---|
4 | Version: 1.10.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Source0: http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz |
---|
8 | |
---|
9 | License: GPLv2 |
---|
10 | Group: User Interface/Desktops |
---|
11 | URL: http://mate-desktop.org/ |
---|
12 | |
---|
13 | BuildRequires: glib2-devel |
---|
14 | BuildRequires: caja-devel |
---|
15 | BuildRequires: pygtk2 |
---|
16 | BuildRequires: pygobject |
---|
17 | BuildRequires: python-docutils |
---|
18 | |
---|
19 | Requires(post,postun): gtk2 |
---|
20 | Requires(post,postun): desktop-file-utils |
---|
21 | |
---|
22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: Takemikaduchi |
---|
27 | |
---|
28 | |
---|
29 | %description |
---|
30 | This is Caja-Dropbox, a fork of Nautilus-Dropbox for MATE Desktop. |
---|
31 | |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | |
---|
36 | |
---|
37 | %build |
---|
38 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
39 | %configure \ |
---|
40 | --disable-static |
---|
41 | |
---|
42 | %{__make} %{?_smp_mflags} |
---|
43 | |
---|
44 | |
---|
45 | %install |
---|
46 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
47 | |
---|
48 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
49 | |
---|
50 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
51 | |
---|
52 | |
---|
53 | %clean |
---|
54 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
55 | |
---|
56 | |
---|
57 | %post |
---|
58 | touch --no-create %{_datadir}/icons/hicolor |
---|
59 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
60 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
61 | |
---|
62 | %postun |
---|
63 | if [ $1 -eq 0 ]; then |
---|
64 | touch --no-create %{_datadir}/icons/hicolor |
---|
65 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
66 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
67 | fi |
---|
68 | |
---|
69 | |
---|
70 | %files |
---|
71 | %defattr(-,root,root,-) |
---|
72 | %doc COPYING ChangeLog NEWS README |
---|
73 | %{_bindir}/%{name} |
---|
74 | %{_libdir}/caja/extensions-2.0/libcaja-dropbox.so |
---|
75 | %{_datadir}/applications/%{name}.desktop |
---|
76 | %{_datadir}/caja/extensions/libcaja-dropbox.caja-extension |
---|
77 | %{_datadir}/caja-dropbox/emblems/* |
---|
78 | %{_datadir}/icons/hicolor/*/*/* |
---|
79 | %{_mandir}/man1/%{name}.1.gz |
---|
80 | |
---|
81 | |
---|
82 | %changelog |
---|
83 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
84 | - initial build |
---|
85 | |
---|