]>
Commit | Line | Data |
---|---|---|
c2a8c859 ER |
1 | # TODO |
2 | # - use system jquery: %{_datadir}/sparkleshare/html/jquery.js | |
dddb8546 | 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 | |
c2a8c859 ER |
6 | Version: 1.0.0 |
7 | Release: 0.1 | |
dfdb92a7 | 8 | License: GPL v3 |
9 | Group: Applications/File | |
c2a8c859 ER |
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 | |
dddb8546 | 14 | BuildRequires: dotnet-gtk-sharp2-devel |
15 | BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel | |
c2a8c859 ER |
16 | BuildRequires: dotnet-notify-sharp-devel >= 0.4.0-4 |
17 | BuildRequires: dotnet-webkit-sharp-devel | |
dfdb92a7 | 18 | BuildRequires: gettext-devel |
19 | BuildRequires: intltool | |
20 | BuildRequires: mono-csharp | |
c2a8c859 | 21 | #BuildRequires: nautilus-python |
dfdb92a7 | 22 | BuildRequires: pkgconfig |
816003b1 AF |
23 | Requires(post,postun): gtk-update-icon-cache |
24 | Requires(post,postun): hicolor-icon-theme | |
dddb8546 | 25 | Requires: dotnet-gtk-sharp2 |
26 | Requires: dotnet-ndesk-dbus-glib-sharp | |
c2a8c859 | 27 | Requires: git-core >= 1.7.12 |
dfdb92a7 | 28 | Requires: mono |
dddb8546 | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
dfdb92a7 | 32 | Sparkleshare is a file sharing and colaborating tool inspired by |
33 | Dropbox. | |
dddb8546 | 34 | |
c2a8c859 ER |
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 | ||
dddb8546 | 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 | |
c2a8c859 | 57 | %setup -q |
dddb8546 | 58 | |
59 | %build | |
dfdb92a7 | 60 | %configure |
dddb8546 | 61 | %{__make} |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
c2a8c859 ER |
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} | |
dddb8546 | 78 | |
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %post | |
c2a8c859 | 83 | %update_desktop_database |
dddb8546 | 84 | %update_icon_cache hicolor |
85 | ||
86 | %postun | |
c2a8c859 | 87 | %update_desktop_database |
dddb8546 | 88 | %update_icon_cache hicolor |
89 | ||
c2a8c859 | 90 | %files |
dddb8546 | 91 | %defattr(644,root,root,755) |
c2a8c859 ER |
92 | %doc README.md |
93 | %attr(755,root,root) %{_bindir}/%{name} | |
dddb8546 | 94 | %{_datadir}/%{name} |
c2a8c859 ER |
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 | |
dddb8546 | 103 | %files plugin-nautilus |
104 | %defattr(644,root,root,755) | |
105 | %{_libdir}/nautilus/extensions-2.0/python/sparkleshare-nautilus-extension.py | |
c2a8c859 | 106 | %endif |