Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
libkcompactdisc
libkcompactdisc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libkcompactdisc.spec of Package libkcompactdisc
# # spec file for package libkcompactdisc # # Copyright (c) 2017 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/ # %bcond_without lang Name: libkcompactdisc Version: 17.04.2 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: KDE CD Library License: GPL-2.0+ Group: System/GUI/KDE Url: http://www.kde.org Source0: %{name}-%{version}.tar.xz BuildRequires: alsa-devel BuildRequires: extra-cmake-modules BuildRequires: kcoreaddons-devel BuildRequires: kdelibs4support-devel BuildRequires: ki18n-devel BuildRequires: phonon4qt5-devel BuildRequires: pkgconfig BuildRequires: solid-devel BuildRequires: xz BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KCompactDisc - A CD drive interface for the KDE Project. %package -n libKF5CompactDisc5 Summary: KDE CD Library Group: System/Libraries Recommends: %{name}-lang Provides: %{name} = %{version} %description -n libKF5CompactDisc5 This is the multi-platform CD-Player library for creating various CD-Player-UIs. %package devel Summary: KDE CD Library: Build Environment Group: Development/Libraries/C and C++ Requires: libKF5CompactDisc5 = %{version} %description devel This package contains the development headers for libkcompactdisc. %if %{with lang} %lang_package %endif %prep %setup -q FAKE_BUILDDATE=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%{b} %{e} %{Y}') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/wmlib/wm_helpers.c %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %if %{with lang} %find_lang %{name} --with-man --all-name %endif %post -n libKF5CompactDisc5 -p /sbin/ldconfig %postun -n libKF5CompactDisc5 -p /sbin/ldconfig %files -n libKF5CompactDisc5 %defattr(-,root,root) %{_libdir}/libKF5CompactDisc.so.* %files devel %defattr(-,root,root) %{_includedir}/KF5/KCompactDisc/ %{_includedir}/KF5/kcompactdisc_version.h %{_libdir}/cmake/KF5CompactDisc/ %{_libdir}/libKF5CompactDisc.so %{_kf5_mkspecsdir}/qt_KCompactDisc.pri %if %{with lang} %files lang -f %{name}.lang %doc COPYING* %endif %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