Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
libkface-kde4
libkface.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libkface.spec of Package libkface-kde4
# # spec file for package libkface # # Copyright (c) 2015 SUSE LINUX 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: libkface BuildRequires: libkde4-devel %if %{suse_version} >= 1500 BuildRequires: opencv3_3-devel %else BuildRequires: opencv-devel >= 2.4.9 %endif Summary: wrapper around LibFace to perform face recognition and detection over pictures License: LGPL-2.1+ Group: Development/Libraries/KDE Url: http://www.kde.org Version: 15.08.3 Release: 0 Source0: %{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE fix_opencv3.patch -- Fix libkface to work with openCV version 3.0. This is based on upstream changes Patch0: fix_opencv3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires %description Libkface is a Qt/C++ wrapper around LibFace to perform face recognition and detection over pictures %prep %setup -q -n %{name}-%{version} %patch0 -p3 %build %if %{suse_version} > 1320 || 0%{?sle_version} > 120100 %cmake_kde4 -d build -- -DENABLE_OPENCV3=ON %else %cmake_kde4 -d build %endif %make_jobs %install cd build %makeinstall %kde_post_install %clean rm -rf $RPM_BUILD_ROOT %package -n libkface3 Summary: wrapper around LibFace to perform face recognition and detection over pictures Group: Development/Libraries/KDE Requires: libkface %description -n libkface3 Libkface is a Qt/C++ wrapper around LibFace to perform face recognition and detection over pictures %files -n libkface3 %defattr(-,root,root) %_kde4_libdir/libkface.so.* %post -n libkface3 -p /sbin/ldconfig %postun -n libkface3 -p /sbin/ldconfig %package devel Summary: wrapper around LibFace to perform face recognition and detection over pictures Group: Development/Libraries/KDE Requires: libkface3 = %version %description devel Libkface is a Qt/C++ wrapper around LibFace to perform face recognition and detection over pictures %files devel %defattr(-,root,root) %doc COPYING README %_kde4_libdir/libkface.so /usr/include/libkface/ %_kde4_libdir/pkgconfig/libkface.pc %_kde4_libdir/cmake/Kface-3.5.0/ %files %defattr(-,root,root) %_kde4_appsdir/libkface/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor