2 # * Fix ocsync packaging for and fix plugin dependencies here
3 # * Fix and package lang stuff
4 # * Package ruby gem based cli
5 Summary: Desktop file sync client for directory sharing and syncronization
11 Source0: https://download.owncloud.com/desktop/stable/%{name}-%{version}.tar.bz2
12 # Source0-md5: f662f4510ef26b5484f754304f8d9295
13 URL: http://www.owncloud.org
14 BuildRequires: QtGui-devel
15 BuildRequires: QtTest-devel
16 BuildRequires: QtWebKit-devel
17 BuildRequires: QtKeychain-devel
20 BuildRequires: doxygen
21 BuildRequires: kde4-icons-oxygen
22 BuildRequires: libstdc++-devel
23 BuildRequires: qt4-build
24 BuildRequires: qt4-linguist
26 Requires: kde4-icons-oxygen
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Mirall is the the QT baesd frontend desktop client for owncloud using
35 Summary: A nautilus extension for %{name}
37 Requires: %{name} = %{version}-%{release}
38 Requires: nautilus-python
41 A mirall extension to nautilus file browser.
44 Summary: Header files for %{name}
45 Requires: %{name} = %{version}-%{release}
48 Header files for %{name}
54 if test ! -e "build"; then
61 -DCSYNC_INCLUDE_PATH=%{_includedir}/ocsync \
62 -DCMAKE_C_FLAGS:STRING="%{optflags}" \
63 -DCMAKE_CXX_FLAGS:STRING="%{optflags}" \
64 -DCMAKE_SKIP_RPATH=ON \
65 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
66 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
67 -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
69 -DSYSCONFDIR=%{_sysconfdir} \
70 $RPM_BUILD_ROOT/%{name}-%{version} \
79 rm -rf $RPM_BUILD_ROOT
84 DESTDIR=$RPM_BUILD_ROOT
86 mv ${RPM_BUILD_ROOT}/%{_libdir}/owncloud/* ${RPM_BUILD_ROOT}/%{_libdir}/
87 rmdir ${RPM_BUILD_ROOT}/%{_libdir}/owncloud
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %doc README.md COPYING ChangeLog
98 %attr(755,root,root) %{_bindir}/owncloud
99 %attr(755,root,root) %{_bindir}/owncloudcmd
100 %dir %{_sysconfdir}/ownCloud
101 %{_sysconfdir}/ownCloud/sync-exclude.lst
102 %attr(755,root,root) %{_libdir}/libowncloudsync.so.*.*.*
103 %ghost %{_libdir}/libowncloudsync.so.0
104 %attr(755,root,root) %{_libdir}/libocsync.so.*
105 %{_desktopdir}/owncloud.desktop
106 %{_iconsdir}/hicolor/*/apps/own*.png
107 %dir %{_datadir}/owncloud
108 %dir %{_datadir}/owncloud/i18n
109 %{_datadir}/owncloud/i18n/*
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libowncloudsync.so
114 %attr(755,root,root) %{_libdir}/libocsync.so
115 %{_libdir}/libhttpbf.a
116 %{_includedir}/httpbf.h
117 %dir %{_includedir}/owncloudsync
118 %dir %{_includedir}/owncloudsync/mirall
119 %dir %{_includedir}/owncloudsync/creds
120 %{_includedir}/owncloudsync/mirall/*
121 %{_includedir}/owncloudsync/creds/*
124 %defattr(644,root,root,755)
125 %{_datadir}/nautilus-python/extensions/*.py