[packages/thunar-dropbox] new, version 0.2.0
glen
glen at pld-linux.org
Fri Nov 9 10:57:22 CET 2012
commit 3a19525a71da04b8e7d5ce3ff2a7929f24f3e419
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Nov 9 11:56:50 2012 +0200
new, version 0.2.0
based on mandriva src.rpm package, description from homepage
thunar-dropbox.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
---
diff --git a/thunar-dropbox.spec b/thunar-dropbox.spec
new file mode 100644
index 0000000..dad8c2c
--- /dev/null
+++ b/thunar-dropbox.spec
@@ -0,0 +1,47 @@
+# TODO
+# - system waf is broken (can't find compiler)
+Summary: Dropbox extension for Thunar
+Name: thunar-dropbox
+Version: 0.2.0
+Release: 1
+Source0: http://softwarebakery.com/maato/files/thunar-dropbox/%{name}-%{version}.tar.bz2
+# Source0-md5: 7a88d3002953890643af86c18c7f2535
+License: GPL v3+
+Group: X11/Applications
+URL: http://www.softwarebakery.com/maato/thunar-dropbox.html
+BuildRequires: Thunar-devel >= 1.2.0
+BuildRequires: python
+BuildRequires: sed >= 4.0
+#BuildRequires: waf
+Requires: Thunar >= 1.2.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Thunar Dropbox is a plugin for thunar that adds context-menu items
+from dropbox.
+
+%prep
+%setup -q
+%{__sed} -i -e 's,${PREFIX}/lib,%{_libdir},' wscript
+
+%build
+./waf configure \
+ --prefix=%{_prefix}
+./waf build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
+./waf install \
+ --destdir=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -name '*.so' | xargs chmod a+rx
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog
+%attr(755,root,root) %{_libdir}/thunarx-2/thunar-dropbox.so
+%{_iconsdir}/hicolor/*/apps/thunar-dropbox.png
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/thunar-dropbox.git/commitdiff/3a19525a71da04b8e7d5ce3ff2a7929f24f3e419
More information about the pld-cvs-commit
mailing list