packages: dropbox/dropbox.spec (NEW) - new. originally based on http://sv...
glen
glen at pld-linux.org
Thu Jul 8 17:28:08 CEST 2010
Author: glen Date: Thu Jul 8 15:28:08 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new.
originally based on http://svn.rpmforge.net/viewvc/rpmforge/trunk/rpms/dropbox/dropbox.spec
works with nautilus-dropbox-0.6.1-2.x86_64
---- Files affected:
packages/dropbox:
dropbox.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/dropbox/dropbox.spec
diff -u /dev/null packages/dropbox/dropbox.spec:1.1
--- /dev/null Thu Jul 8 17:28:08 2010
+++ packages/dropbox/dropbox.spec Thu Jul 8 17:28:02 2010
@@ -0,0 +1,101 @@
+# $Revision$, $Date$
+# Upstream: Dropbox Support (https://www.dropbox.com/ticket)
+
+Summary: Sync and backup files between computers
+Name: dropbox
+Version: 0.7.110
+Release: 0.8
+License: Proprietary
+Group: Daemons
+URL: http://www.dropbox.com/
+Source0: http://dl-web.dropbox.com/u/17/%{name}-lnx.x86-%{version}.tar.gz
+# NoSource0-md5: e6cb1751ba33542a82b794cea7dc8dbd
+NoSource: 0
+Source1: http://dl-web.dropbox.com/u/17/%{name}-lnx.x86_64-%{version}.tar.gz
+# NoSource1-md5: 434fb3451d1f638bddde2f5691beb426
+NoSource: 1
+BuildRequires: rpmbuild(macros) >= 1.566
+BuildRequires: sed >= 4.0
+BuildRequires: tar >= 1:1.15.1
+ExclusiveArch: %{ix86} %{x8664}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# generate no Provides from private modules
+%define _noautoprovfiles %{_libdir}/%{name}
+
+# provided by package itself, but autodeps disabled
+%define _noautoreq libcrypto.so libssl.so libwx_.*.so
+
+# a zip and executable at the same time
+%define _noautostrip .*/library.zip\\|.*/dropbox
+
+# debuginfo wouldn't be useful
+%define _enable_debug_packages 0
+
+%description
+Dropbox is software that syncs your files online and across your
+computers.
+
+Put your files into your Dropbox on one computer, and they'll be
+instantly available on any of your other computers that you've
+installed Dropbox on (Windows, Mac, and Linux too!) Because a copy of
+your files are stored on Dropbox's secure servers, you can also access
+them from any computer or mobile device using the Dropbox website.
+
+%prep
+%setup -qcT
+%ifarch %{ix86}
+%{__tar} --strip-components=1 -xzf %{SOURCE0}
+%endif
+%ifarch %{x8664}
+%{__tar} --strip-components=1 -xzf %{SOURCE1}
+%endif
+
+# make into symlink, looks cleaner than hardlink:
+# we can attach executable attrs to binary and leave no attrs for symlink in
+# %files section.
+ln -sf dropbox library.zip
+
+# use system lib, or we get weird errors like:
+# (dropbox:13225): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock:
+# Unable to load image-loading module: /usr/lib64/gtk-2.0/2.10.0/loaders/svg_loader.so:
+# /usr/lib64/dropbox/libz.so.1: version `ZLIB_1.2.3.3' not found (required by /usr/lib64/libxml2.so.2)
+rm -f libz.so.1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+ln -s %{_libdir}/dropbox/dropboxd $RPM_BUILD_ROOT%{_bindir}/dropboxd
+
+# install everything else
+install -d $RPM_BUILD_ROOT%{_libdir}/dropbox
+cp -a . $RPM_BUILD_ROOT%{_libdir}/dropbox
+
+# in doc
+rm -f $RPM_BUILD_ROOT%{_libdir}/dropbox/{ACKNOWLEDGEMENTS,VERSION}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ACKNOWLEDGEMENTS VERSION
+%attr(755,root,root) %{_bindir}/dropboxd
+%dir %{_libdir}/dropbox
+%attr(755,root,root) %{_libdir}/dropbox/*.so*
+%attr(755,root,root) %{_libdir}/dropbox/dropbox
+%attr(755,root,root) %{_libdir}/dropbox/dropboxd
+%{_libdir}/dropbox/library.zip
+%{_libdir}/dropbox/ncrypt-*.egg
+%{_libdir}/dropbox/netifaces-*.egg
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2010/07/08 15:28:02 glen
+- new.
+ originally based on http://svn.rpmforge.net/viewvc/rpmforge/trunk/rpms/dropbox/dropbox.spec
+ works with nautilus-dropbox-0.6.1-2.x86_64
================================================================
More information about the pld-cvs-commit
mailing list