]> git.pld-linux.org Git - packages/sparkleshare.git/blame - sparkleshare.spec
up to 1.0.0
[packages/sparkleshare.git] / sparkleshare.spec
CommitLineData
c2a8c859
ER
1# TODO
2# - use system jquery: %{_datadir}/sparkleshare/html/jquery.js
dddb8546 3Summary: Sparkleshare is a file sharing and colaborating tool
4Summary(pl.UTF-8): Sparkleshare to narzędzie do współdzielenia plików
5Name: sparkleshare
c2a8c859
ER
6Version: 1.0.0
7Release: 0.1
dfdb92a7 8License: GPL v3
9Group: Applications/File
c2a8c859
ER
10Source0: https://github.com/downloads/hbons/SparkleShare/%{name}-linux-%{version}.tar.gz
11# Source0-md5: 1f43c873e220a8a8f28ee46b33e4ca19
12URL: https://sparkleshare.org/
13BuildRequires: desktop-file-utils
dddb8546 14BuildRequires: dotnet-gtk-sharp2-devel
15BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel
c2a8c859
ER
16BuildRequires: dotnet-notify-sharp-devel >= 0.4.0-4
17BuildRequires: dotnet-webkit-sharp-devel
dfdb92a7 18BuildRequires: gettext-devel
19BuildRequires: intltool
20BuildRequires: mono-csharp
c2a8c859 21#BuildRequires: nautilus-python
dfdb92a7 22BuildRequires: pkgconfig
816003b1
AF
23Requires(post,postun): gtk-update-icon-cache
24Requires(post,postun): hicolor-icon-theme
dddb8546 25Requires: dotnet-gtk-sharp2
26Requires: dotnet-ndesk-dbus-glib-sharp
c2a8c859 27Requires: git-core >= 1.7.12
dfdb92a7 28Requires: mono
dddb8546 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
dfdb92a7 32Sparkleshare is a file sharing and colaborating tool inspired by
33Dropbox.
dddb8546 34
c2a8c859
ER
35SparkleShare is an Open Source collaboration and sharing tool that is
36designed to keep things simple and to stay out of your way. It allows
37you to instantly sync with Git repositories and is available for Linux
38distributions, Mac and Windows.
39
dddb8546 40%description -l pl.UTF-8
41Sparkleshare to narzędzie do współdzielenia plików i pracy grupowej
42zainspirowane Dropboksem.
43
44%package plugin-nautilus
45Summary: The sparkleshare plugin for nautilus
46Summary(pl.UTF-8): Wtyczka sparkleshare do nautilusa
47Group: X11/Applications
48Requires: nautilus-python
49
50%description plugin-nautilus
51This package contains the sparkleshare Nautilus plugin
52
53%description plugin-nautilus -l pl.UTF-8
54Ten 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
64rm -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
74desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
75desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}-invite-opener.desktop
76
77#%find_lang %{name}
dddb8546 78
79%clean
80rm -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
This page took 0.064479 seconds and 4 git commands to generate.