LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kcaldav.spec of Package KCalDAV (Project home:plushcube)

# RPM spec file for KCalDAV
#
# (C) 2009  Kumaran Santhanam
#
# This project is released under the GNU General Public License v2.

%define version    1.0.0
%define release    1

Summary: CalDAV resource for Kontact
Name: kdepim-caldav
Version: %{version}
Release: %{release}
License: GPL
Group: User Interface/Desktops
Source: kcaldav-%{version}.tar.gz
URL: http://code.google.com/p/kcaldav/
BuildRoot: /var/tmp/kcaldav-%{version}-%{release}-root
Packager: Kumaran Santhanam
Requires: kdepim
BuildRequires: gcc-c++ kdepim-devel kdepimlibs-devel qt-devel libical-devel libcurl-devel glib2-devel
Provides: kcaldav

%description

This resource provides CalDAV support for Kontact.  It has been tested
against DAViCal.  It is intended to provide the same level of CalDAV
support as other major calendaring clients such as Evolution and
Sunbird.

%changelog

* Thu Apr 22 2010 Kumaran Santhanam
  - version 1.0.0 release

* Tue Sep  1 2009 Kumaran Santhanam
  - initial version

%prep
echo $RPM_BUILD_DIR
%setup -q -n kcaldav-%{version}
%build
export CALDAV_RPM_BUILDROOT=$RPM_BUILD_ROOT; make buildforrpm

%install
make ROOT=$RPM_BUILD_ROOT install/strip

%clean
rm -rf $RPM_BUILD_ROOT

%files
%attr(755,root,root) /usr/lib/kde4/kcal_caldav.so
%attr(755,root,root) /usr/lib/libkcal_caldav.so
%attr(755,root,root) /usr/lib/libkcal_caldav.so.%{version}
%attr(644,root,root) /usr/share/kde4/services/kresources/kcal/kcal_caldav.desktop