Name: mirall Version: 1.0.4 Release: 2%{?dist} License: GPLv2+ Summary: The ownCloud Client Url: http://www.gitorious.org/owncloud/mirall/ Source0: http://download.owncloud.com/download/mirall-%{version}.tar.bz2 Source1: owncloud-client.desktop Provides: owncloud-client BuildRequires: cmake BuildRequires: csync-devel BuildRequires: oxygen-icon-theme BuildRequires: iniparser-devel BuildRequires: qt4-devel >= 4.7 BuildRequires: inetd desktop-file-utils Requires: iproute Requires: csync-plugin-owncloud >= 0.50.8 Requires: net-tools Requires: oxygen-icon-theme %description Mirall The ownCloud client - gitorious.org/owncloud/mirall Mirall owncloud-client enables you to connect to your private ownCloud Server. With it you can create folders in your home directory, and keep the contents of those folders synced with your ownCloud server. Simply copy a file into the directory and the ownCloud Client does the rest. %prep %setup -q %{name}-%{version} %build mkdir build pushd build %cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} make %{?_smp_mflags} popd %install pushd build make install DESTDIR=%{buildroot} popd desktop-file-install \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE1} %files %defattr(-,root,root,-) %doc README.md COPYING %{_bindir}/mirall %{_bindir}/owncloud %{_libdir}/libowncloudsync.so %{_libdir}/libmirallsync.so %{_datadir}/applications/owncloud-client.desktop %{_datadir}/icons/hicolor/48x48/apps/owncloud.png %{_datadir}/icons/hicolor/48x48/apps/mirall.png %{_datadir}/mirall %config %{_bindir}/../../etc/exclude.lst %changelog * Sat Aug 11 2012 - added mirall icon and smp flags plus code cleanup * Sat Aug 11 2012 - Initial try