[packages/mirall: 1/3] - Initial add
caleb
caleb at pld-linux.org
Sat Sep 21 18:39:56 CEST 2013
commit cb614e787a205108acf801145c744389927b8c9d
Author: Caleb Maclennan <caleb at pld-linux.org>
Date: Sat Sep 21 19:24:31 2013 +0300
- Initial add
mirall.spec | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 107 insertions(+)
---
diff --git a/mirall.spec b/mirall.spec
new file mode 100644
index 0000000..7a7600b
--- /dev/null
+++ b/mirall.spec
@@ -0,0 +1,107 @@
+# TODO:
+# * Fix ocsync packaging for and fix plugin dependencies here
+# * Fix and package lang stuff
+Summary: Desktop file sync client for directory sharing and syncronization
+Name: mirall
+Version: 1.4.0
+Release: 0.1
+License: GPL v2
+Group: Libraries
+Source0: http://download.owncloud.com/download/%{name}-%{version}.tar.bz2
+# Source0-md5: 05a69082b4e940b4282c2b05344c143a
+URL: http://www.owncloud.org
+BuildRequires: check
+BuildRequires: cmake
+BuildRequires: doxygen
+BuildRequires: libstdc++-devel
+BuildRequires: ocsync-devel
+BuildRequires: QtGui-devel
+BuildRequires: QtWebKit-devel
+BuildRequires: QtTest-devel
+BuildRequires: kde4-icons-oxygen
+Requires: ocsync
+Requires: iproute2
+Requires: net-tools
+Requires: net-tools
+Requires: kde4-icons-oxygen
+Requires: sitecopy
+Requires: ruby-owncloud-admin
+#Requires: ocsync-plugin-sftp
+#Requires: ocsync-plugin-smb
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mirall is the the QT baesd frontend desktop client for owncloud using ocsync as a backend.
+
+%package -n owncloud-client
+Summary: Desktop file sync client for owncloud, a Dropbox-like directory sharing and syncronization tool
+Group: Applications
+Requires: ocsync-owncloud
+Requires: %{name} = %{version}-%{release}
+
+%description -n owncloud-client
+Meta package to install the front end client for owncloud, a Dropbox like directory
+sharing and syncronization tool.
+
+%package devel
+Summary: Header files for %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{name}
+
+%prep
+%setup -q
+
+%build
+if test ! -e "build"; then
+ %{__mkdir} build
+fi
+
+cd build
+
+%cmake \
+ -DCSYNC_INCLUDE_PATH=%{_includedir}/ocsync \
+ -DCMAKE_C_FLAGS:STRING="%{optflags}" \
+ -DCMAKE_CXX_FLAGS:STRING="%{optflags}" \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
+ -DPREFIX=%{_prefix} \
+ -DSYSCONFDIR=%{_sysconfdir} \
+ $RPM_BUILD_ROOT/%{name}-%{version} \
+ ..
+
+%{__make}
+%{__make} doc
+
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd build
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md COPYING
+%attr(755,root,root) %{_bindir}/owncloud
+%dir %{_sysconfdir}/ownCloud
+%{_sysconfdir}/ownCloud/sync-exclude.lst
+%attr(755,root,root) %{_libdir}/libowncloudsync.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libowncloudsync.so.0
+%{_desktopdir}/owncloud.desktop
+%{_datadir}/icons/hicolor/48x48/apps/owncloud.png
+
+%files devel
+%attr(755,root,root) %{_libdir}/libowncloudsync.so
+
+%files -n owncloud-client
+%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mirall.git/commitdiff/955cac42347f4c10ba5b5a349e44893ac35ba9b2
More information about the pld-cvs-commit
mailing list