File vacuum-im-plugins-kinotifications.spec of Package vacuum-im-plugins-kinotifications

#
# spec file for package vacuum-im-plugins-kinotifications
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright Andrey Karepin <egdfree@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/
#


#
%define app_name vacuum

Name:           vacuum-im-plugins-kinotifications
Summary:        Vacuum-IM notification messages through Qt Kinetic
Version:        0.0.1
Release:        1
%if 0%{?suse_version} < 1120
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%endif
License:        GPLv3
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
Url:            http://www.vacuum-im.org/
Requires:       vacuum-im
BuildRequires:  aspell-devel cmake libQtWebKit-devel libqt4-devel libvacuumutils1_7 vacuum-im-devel
BuildRequires:  fdupes

%description
Popup notofications animated with Qt Kinetic Vacuum-IM extension plugin

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

%build
%{__mkdir} build
cd build
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=%{_prefix} -DINSTALL_LIB_DIR=%{_lib} -DVACUUM_SRC_PATH=%{_includedir}/%{app_name} -DVACUUM_LIB_PATH=%{_lib}
%{__make} %{?_smp_mflags}

%install
pushd build
%{make_install}
popd

%fdupes %{buildroot}%{_datadir}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_libdir}/%{app_name}
%{_datadir}/%{app_name}

%changelog
openSUSE Build Service is sponsored by