File attica.spec of Package attica

#
# spec file for package attica (Version 0.1.4)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           attica
Version:        0.2.2
Release:        1
License:        LGPLv2.1+
Summary:        Open Collaboration Service client library
Url:            http://websvn.kde.org/trunk/kdesupport/attica
Group:          System/GUI/KDE
Source:         attica-%{version}.tar.bz2
Source99:       baselibs.conf
BuildRequires:  cmake
BuildRequires:  kde4-filesystem
BuildRequires:  libqt4-devel
Requires:       libattica0 = %{version}
Requires:       libqt4 > 4.4
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Attica is a library to access Open Collaboration Service servers.

%package -n libattica0
License:        LGPLv2.1+
Summary:        Open Collaboration Service client library - development files
Group:          System/GUI/KDE

%description -n libattica0
Attica is a library to access Open Collaboration Service servers.

%package -n libattica-devel
License:        LGPLv2.1+
Summary:        Open Collaboration Service client library - development files
Group:          Development/Libraries/C and C++
Requires:       libattica0 >= %{version}

%description -n libattica-devel
Development files for attica, a library to access Open Collaboration Service servers.

%prep
%setup -q -n attica-%{version}

%build
%cmake_kde4 -d build
%make_jobs

%install
cd build
%make_install

%post -n libattica0 -p /sbin/ldconfig

%postun -n libattica0 -p /sbin/ldconfig

%files -n libattica0
%defattr(-,root,root)
%doc README AUTHORS COPYING
%{_libdir}/libattica*.so.*

%files -n libattica-devel
%defattr(-,root,root)
%{_libdir}/libattica*.so
%{_libdir}/pkgconfig/libattica*.pc
%{_includedir}/attica

%changelog
openSUSE Build Service is sponsored by