LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File _service:set_version:polka.spec of Package polka (Project KDE:Extra)

# Copyright (c) 2011 by Sascha Manns <saigkill@opensuse.org>
# 
# 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/

# norootforbuild

Name:           polka
Version: 0.9.git.1328870101
Release: 0
License:        GPL v3
Summary:        Human Adressbook for the cloud
Url:            http://quickgit.kde.org/?p=scratch/cschumac/polka.git
Group:          Productivity/Office/Organizers
Source:         %{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  doxygen
BuildRequires:  fdupes
BuildRequires:  gettext
BuildRequires:  kdesdk4-scripts
BuildRequires:  libkde4-devel
BuildRequires:  libqt4-devel
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
This is a human adressbook for the cloud. Just a alpha Snapshot.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
This is a Development Package for %{name}

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

%build
%cmake_kde4
%make_jobs

%install
%makeinstall

%__install -Dm 0644 pics/polka-logo.png %{buildroot}%{_datadir}/pixmaps/polka.png
%suse_update_desktop_file -r %{name} Office ContactManagement

%fdupes -s %{buildroot}
%kde_post_install

%clean
test %{buildroot} != "/" && %__rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%dir %{_datadir}/doc/kde/HTML/en/%{name}
%dir %{_datadir}/kde4/apps/%{name}
%{_bindir}/%{name}
%{_libdir}/libpolka.so.*
%{_datadir}/applications/kde4/%{name}.desktop
%{_datadir}/doc/kde/HTML/en/%{name}/*
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/pixmaps/polka.png
%{_datadir}/kde4/apps/%{name}/*
%{_datadir}/kde4/config.kcfg/%{name}.kcfg
%doc src/TODO

%files devel
%defattr(-, root, root,-)
%dir %{_includedir}/%{name}
%{_libdir}/libpolka.so
%{_includedir}/polka/*.h

#%%files lang -f %{name}.lang
#%%defattr(-, root, root)

%changelog