]> git.pld-linux.org Git - packages/sparkleshare.git/blob - sparkleshare.spec
up to 1.0.0
[packages/sparkleshare.git] / sparkleshare.spec
1 # TODO
2 # - use system jquery: %{_datadir}/sparkleshare/html/jquery.js
3 Summary:        Sparkleshare is a file sharing and colaborating tool
4 Summary(pl.UTF-8):      Sparkleshare to narzędzie do współdzielenia plików
5 Name:           sparkleshare
6 Version:        1.0.0
7 Release:        0.1
8 License:        GPL v3
9 Group:          Applications/File
10 Source0:        https://github.com/downloads/hbons/SparkleShare/%{name}-linux-%{version}.tar.gz
11 # Source0-md5:  1f43c873e220a8a8f28ee46b33e4ca19
12 URL:            https://sparkleshare.org/
13 BuildRequires:  desktop-file-utils
14 BuildRequires:  dotnet-gtk-sharp2-devel
15 BuildRequires:  dotnet-ndesk-dbus-glib-sharp-devel
16 BuildRequires:  dotnet-notify-sharp-devel >= 0.4.0-4
17 BuildRequires:  dotnet-webkit-sharp-devel
18 BuildRequires:  gettext-devel
19 BuildRequires:  intltool
20 BuildRequires:  mono-csharp
21 #BuildRequires: nautilus-python
22 BuildRequires:  pkgconfig
23 Requires(post,postun):  gtk-update-icon-cache
24 Requires(post,postun):  hicolor-icon-theme
25 Requires:       dotnet-gtk-sharp2
26 Requires:       dotnet-ndesk-dbus-glib-sharp
27 Requires:       git-core >= 1.7.12
28 Requires:       mono
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Sparkleshare is a file sharing and colaborating tool inspired by
33 Dropbox.
34
35 SparkleShare is an Open Source collaboration and sharing tool that is
36 designed to keep things simple and to stay out of your way. It allows
37 you to instantly sync with Git repositories and is available for Linux
38 distributions, Mac and Windows.
39
40 %description -l pl.UTF-8
41 Sparkleshare to narzędzie do współdzielenia plików i pracy grupowej
42 zainspirowane Dropboksem.
43
44 %package plugin-nautilus
45 Summary:        The sparkleshare plugin for nautilus
46 Summary(pl.UTF-8):      Wtyczka sparkleshare do nautilusa
47 Group:          X11/Applications
48 Requires:       nautilus-python
49
50 %description plugin-nautilus
51 This package contains the sparkleshare Nautilus plugin
52
53 %description plugin-nautilus -l pl.UTF-8
54 Ten pakiet zawiera wtyczke sparkleshare do Nautilusa
55
56 %prep
57 %setup -q
58
59 %build
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 # unsupported themes
69 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/ubuntu-mono-dark
70 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/ubuntu-mono-light
71 # don't want gnome depencency
72 %{__rm} $RPM_BUILD_ROOT%{_iconsdir}/gnome/scalable/apps/sparkleshare-symbolic.svg
73
74 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
75 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}-invite-opener.desktop
76
77 #%find_lang %{name}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83 %update_desktop_database
84 %update_icon_cache hicolor
85
86 %postun
87 %update_desktop_database
88 %update_icon_cache hicolor
89
90 %files
91 %defattr(644,root,root,755)
92 %doc README.md
93 %attr(755,root,root) %{_bindir}/%{name}
94 %{_datadir}/%{name}
95 %{_desktopdir}/sparkleshare.desktop
96 %{_desktopdir}/sparkleshare-invite-opener.desktop
97 %{_iconsdir}/hicolor/*/apps/sparkleshare.png
98 %dir %{_libdir}/%{name}
99 %{_libdir}/%{name}/*.dll*
100 %{_libdir}/%{name}/*.exe*
101
102 %if 0
103 %files plugin-nautilus
104 %defattr(644,root,root,755)
105 %{_libdir}/nautilus/extensions-2.0/python/sparkleshare-nautilus-extension.py
106 %endif
This page took 0.081739 seconds and 3 git commands to generate.