File attica.spec of Package attica
#
# spec file for package attica (Version 0.2.0)
#
# 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
BuildRequires: cmake kde4-filesystem libqt4-devel
Url: http://websvn.kde.org/trunk/kdesupport/attica
Version: 0.2.0
Release: 1
License: LGPLv2.1+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/GUI/KDE
Summary: Open Collaboration Service client library
Requires: libqt4 > 4.4
Source: attica-%{version}.tar.bz2
Source99: baselibs.conf
Requires: libattica0 = %{version}
%description
Attica is a library to access Open Collaboration Service servers.
Authors:
--------
Cornelius Schumacher <schumacher@kde.org>
Frederik Gladhorn <gladhorn@kde.org>
%package -n libattica0
License: LGPLv2.1+
Group: System/GUI/KDE
Summary: Open Collaboration Service client library - development files
%description -n libattica0
Attica is a library to access Open Collaboration Service servers.
Authors:
--------
Cornelius Schumacher <schumacher@kde.org>
Frederik Gladhorn <gladhorn@kde.org>
%package -n libattica-devel
License: LGPLv2.1+
Group: Development/Libraries/C and C++
Summary: Open Collaboration Service client library - development files
Requires: libattica0 >= %{version}
%description -n libattica-devel
Development files for attica, Attica a library to access Open Collaboration Service servers.
Authors:
--------
Cornelius Schumacher <schumacher@kde.org>
Frederik Gladhorn <gladhorn@kde.org>
%prep
%setup -q -n attica-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
%post -n libattica0 -p /sbin/ldconfig
%postun -n libattica0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%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