]> git.pld-linux.org Git - packages/sparkleshare.git/commitdiff
up to 1.0.0
authorElan Ruusamäe <glen@delfi.ee>
Thu, 14 Feb 2013 23:01:32 +0000 (01:01 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 14 Feb 2013 23:01:32 +0000 (01:01 +0200)
nautilus extension not built (gone?)

sparkleshare.spec

index 81d6ed9420e3f63120621aab1c0e0b28400120c8..c11a5bbd433d0aa69b7f5b48c992a06d94638988 100644 (file)
@@ -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
This page took 0.068693 seconds and 4 git commands to generate.