]> git.pld-linux.org Git - packages/owncloudclient.git/blame - owncloudclient.spec
- req + commented conflicts
[packages/owncloudclient.git] / owncloudclient.spec
CommitLineData
1a8da98e 1
b72e02cb 2Summary: The ownCloud client
69b59edf 3Name: owncloudclient
b72e02cb 4Version: 2.1.1
63be3806 5Release: 0.4
b72e02cb 6License: GPL-2.0+
8766d745 7Group: X11/Applications
b72e02cb 8URL: https://www.owncloud.com
69b59edf 9Source0: https://download.owncloud.com/desktop/stable/%{name}-%{version}.tar.xz
dab60e18 10# Source0-md5: 63a971158201a8dffe96a02c54b86819
d5924c14
PG
11#Source1: owncloud.sh
12#Source2: owncloudcmd.sh
b72e02cb 13BuildRequires: cmake >= 2.8.11
d5924c14
PG
14#BuildRequires: qt4-devel >= 4.7
15#BuildRequires: qtwebkit-devel >= 2.2
b72e02cb
PG
16BuildRequires: desktop-file-utils
17BuildRequires: openssl-devel
b72e02cb 18BuildRequires: python-Sphinx
d5924c14
PG
19BuildRequires: sphinx-pdg
20BuildRequires: texlive-latex-ams
21BuildRequires: QtKeychain-devel
63be3806
PG
22Requires: mirall-libs
23Requires: Qt5Gui-platform-xcb
1a8da98e 24Suggests: %{name}-nautilus
b72e02cb 25Suggests: %{name}-nemo
b72e02cb 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1a8da98e
PG
27
28%description
29The ownCloud sync client - github.com/owncloud/client
30
b72e02cb
PG
31ownCloud client enables you to connect to your private ownCloud
32Server. With it you can create folders in your home directory, and
33keep the contents of those folders synced with your ownCloud server.
34Simply copy a file into the directory and the ownCloud Client does the
35rest.
1a8da98e
PG
36
37ownCloud gives your employees anytime, anywhere access to the files
b72e02cb
PG
38they need to get the job done, whether through this desktop
39application, our mobile apps, the web interface, or other WebDAV
40clients. With it, your employees can easily view and share documents
41and information critical to the business, in a secure, flexible and
42controlled architecture. You can easily extend ownCloud with plug-ins
43from the community, or that you build yourself to meet the
44requirements of your infrastructure and business.
1a8da98e 45
1a8da98e 46%prep
d5924c14 47%setup -q
1a8da98e 48# autostart_use_wrapper.diff
d5924c14 49#patch1 -p1
1a8da98e 50
1a8da98e 51%build
d5924c14
PG
52install -d build
53cd build
54%cmake \
55 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
56 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
57 -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
58 -DQTKEYCHAIN_INCLUDE_DIR=/usr/include/qtkeychain \
59 -DQTKEYCHAIN_LIBRARY=/usr/%{_lib}/libqtkeychain.so \
60 ../
61%{__make}
1a8da98e
PG
62
63# documentation here?
64if [ -e conf.py ];
65then
66 # for old cmake versions we need to move the conf.py.
67 mv conf.py doc/
68fi
69
b72e02cb 70%{__make} doc
1a8da98e
PG
71
72%install
b72e02cb 73rm -rf $RPM_BUILD_ROOT
931f5ef6 74%{__make} -C build install \
b72e02cb 75 DESTDIR=$RPM_BUILD_ROOT
1a8da98e 76
931f5ef6
PG
77mv ${RPM_BUILD_ROOT}%{_docdir}/html ${RPM_BUILD_ROOT}%{_docdir}/%{name}
78mv ${RPM_BUILD_ROOT}%{_docdir}/latex ${RPM_BUILD_ROOT}%{_docdir}/%{name}
79rm ${RPM_BUILD_ROOT}%{_docdir}/%{name}/unthemed/.buildinfo
1a8da98e 80
931f5ef6 81#%find_lang owncloud
1a8da98e 82
1a8da98e 83%post
b72e02cb 84/bin/%update_icon_cache_post hicolor &>/dev/null || :
931f5ef6 85/sbin/ldconfig
1a8da98e
PG
86
87%postun
88if [ $1 -eq 0 ] ; then
b72e02cb
PG
89 /bin/%update_icon_cache_post hicolor &>/dev/null
90 %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
1a8da98e 91fi
1a8da98e
PG
92/sbin/ldconfig
93
94%files
931f5ef6 95#-n %{name}.lang
b72e02cb 96%defattr(644,root,root,755)
931f5ef6
PG
97%doc README.md COPYING
98%doc %{_docdir}/%{name}
fff4970d 99%config %{_sysconfdir}/ownCloud
b72e02cb
PG
100%attr(755,root,root) %{_bindir}/owncloud
101%attr(755,root,root) %{_bindir}/owncloudcmd
b72e02cb 102%{_desktopdir}/owncloud.desktop
931f5ef6 103%{_iconsdir}/*/*/apps/*.png
c1b38b2d 104%{_datadir}/owncloud
63be3806
PG
105# conflicts mirall-libs:
106#%{_libdir}/libowncloudsync.so.*
1a8da98e 107%{_libdir}/owncloud/libocsync.so.*
fff4970d 108%dir %{_libdir}/owncloud
1a8da98e 109%{_datadir}/nautilus-python/extensions/syncstate.py*
1a8da98e 110%{_datadir}/nemo-python/extensions/syncstate.py*
931f5ef6 111%{_mandir}/man1/owncloud*
1a8da98e 112
fff4970d
PG
113### Make separate devel package
114#%{_libdir}/libowncloudsync.so
115#%{_libdir}/owncloud/libocsync.so
116#%{_includedir}/owncloudsync/
117
b72e02cb
PG
118%clean
119rm -rf $RPM_BUILD_ROOT
This page took 0.098499 seconds and 4 git commands to generate.