[packages/sparkleshare] up to 1.0.0
glen
glen at pld-linux.org
Fri Feb 15 00:01:51 CET 2013
commit c2a8c8594e73e3d648e6f642ff7c4a0fed420bf0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Feb 15 01:01:32 2013 +0200
up to 1.0.0
nautilus extension not built (gone?)
sparkleshare.spec | 64 ++++++++++++++++++++++++++++++++++++-------------------
1 file changed, 42 insertions(+), 22 deletions(-)
---
diff --git a/sparkleshare.spec b/sparkleshare.spec
index 81d6ed9..c11a5bb 100644
--- a/sparkleshare.spec
+++ b/sparkleshare.spec
@@ -1,27 +1,30 @@
-
-%define _beta beta1
+# TODO
+# - use system jquery: %{_datadir}/sparkleshare/html/jquery.js
Summary: Sparkleshare is a file sharing and colaborating tool
Summary(pl.UTF-8): Sparkleshare to narzędzie do współdzielenia plików
Name: sparkleshare
-Version: 0.2
-Release: 0.%{_beta}.2
+Version: 1.0.0
+Release: 0.1
License: GPL v3
Group: Applications/File
-Source0: http://sparkleshare.org/%{name}-%{version}-%{_beta}.tar.gz
-# Source0-md5: 5dec96cac3459f6b6df4b0418f8ed274
-URL: https://sparkleshare.org
+Source0: https://github.com/downloads/hbons/SparkleShare/%{name}-linux-%{version}.tar.gz
+# Source0-md5: 1f43c873e220a8a8f28ee46b33e4ca19
+URL: https://sparkleshare.org/
+BuildRequires: desktop-file-utils
BuildRequires: dotnet-gtk-sharp2-devel
BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel
+BuildRequires: dotnet-notify-sharp-devel >= 0.4.0-4
+BuildRequires: dotnet-webkit-sharp-devel
BuildRequires: gettext-devel
BuildRequires: intltool
BuildRequires: mono-csharp
-BuildRequires: nautilus-python
+#BuildRequires: nautilus-python
BuildRequires: pkgconfig
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
Requires: dotnet-gtk-sharp2
Requires: dotnet-ndesk-dbus-glib-sharp
-Requires: git-core
+Requires: git-core >= 1.7.12
Requires: mono
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,6 +32,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Sparkleshare is a file sharing and colaborating tool inspired by
Dropbox.
+SparkleShare is an Open Source collaboration and sharing tool that is
+designed to keep things simple and to stay out of your way. It allows
+you to instantly sync with Git repositories and is available for Linux
+distributions, Mac and Windows.
+
%description -l pl.UTF-8
Sparkleshare to narzędzie do współdzielenia plików i pracy grupowej
zainspirowane Dropboksem.
@@ -46,11 +54,10 @@ This package contains the sparkleshare Nautilus plugin
Ten pakiet zawiera wtyczke sparkleshare do Nautilusa
%prep
-%setup -q -n %{name}-%{version}-%{_beta}
+%setup -q
%build
%configure
-
%{__make}
%install
@@ -58,29 +65,42 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{name}
+# unsupported themes
+%{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/ubuntu-mono-dark
+%{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/ubuntu-mono-light
+# don't want gnome depencency
+%{__rm} $RPM_BUILD_ROOT%{_iconsdir}/gnome/scalable/apps/sparkleshare-symbolic.svg
+
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}-invite-opener.desktop
+
+#%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
-%update_desktop_database_post
+%update_desktop_database
%update_icon_cache hicolor
%postun
-%update_desktop_database_postun
+%update_desktop_database
%update_icon_cache hicolor
-%files -f %{name}.lang
+%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/%{name}
+%doc README.md
+%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/%{name}
-%{_desktopdir}/%{name}.desktop
-%{_iconsdir}/hicolor/*/apps/folder-sparkleshare.png
-%{_libdir}/%{name}
-%{_mandir}/man1/%{name}.1.*
-%{_pixmapsdir}/side-splash.png
-
+%{_desktopdir}/sparkleshare.desktop
+%{_desktopdir}/sparkleshare-invite-opener.desktop
+%{_iconsdir}/hicolor/*/apps/sparkleshare.png
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/*.dll*
+%{_libdir}/%{name}/*.exe*
+
+%if 0
%files plugin-nautilus
%defattr(644,root,root,755)
%{_libdir}/nautilus/extensions-2.0/python/sparkleshare-nautilus-extension.py
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sparkleshare.git/commitdiff/c2a8c8594e73e3d648e6f642ff7c4a0fed420bf0
More information about the pld-cvs-commit
mailing list