Files
taglib-extras/taglib-extras.spec
Christophe Giboudeaux b02d05c259 Accepting request 690413 from home:wolfi323:branches:KDE:Extra
- Drop unused libkde4-devel BuildRequires, the KDE4 integration has
  been removed upstream in 1.0
- BuildRequire cmake and gcc-c++ instead that are needed for
  building and were implicitly pulled in by libkde4-devel
- Remove unrecognized cmake options
- Use %cmake macro instead of calling cmake directly
- Run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/690413
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/taglib-extras?expand=0&rev=4
2019-04-01 15:25:18 +00:00

82 lines
2.4 KiB
RPMSpec

#
# spec file for package taglib-extras
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
Name: taglib-extras
Version: 1.0.1
Release: 0
Summary: Extra plugins for TagLib
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://amarok.kde.org
Source0: taglib-extras-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM taglib-extras-fix-findtaglib-1_10.patch mlin@suse.com -- fix wrong string comparison of version number
Patch0: taglib-extras-fix-findtaglib-1_10.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: taglib-devel >= 1.6
Obsoletes: taglib-extras < %{version}
Provides: taglib-extras = %{version}
%description
Unofficial TagLib file type plugins maintained by the Amarok project
%package devel
Summary: Extra plugins for TagLib
Group: Development/Libraries/C and C++
Requires: libstdc++-devel
Requires: libtag-extras1 = %{version}
%description devel
Unofficial TagLib file type plugins maintained by the Amarok project
%package -n libtag-extras1
Summary: Extra plugins for TagLib
Group: System/GUI/KDE
%description -n libtag-extras1
Unofficial TagLib file type plugins maintained by the Amarok project
%prep
%setup -q
%patch0 -p1
%build
%cmake ..
make %{?_smp_mflags} VERBOSE=1
%install
%cmake_install
%post -n libtag-extras1 -p /sbin/ldconfig
%postun -n libtag-extras1 -p /sbin/ldconfig
%files -n libtag-extras1
%license COPYING.LGPL
%doc AUTHORS ChangeLog
%{_libdir}/libtag-extras*.so.*
%files -n taglib-extras-devel
%license COPYING.LGPL
%doc AUTHORS ChangeLog
%{_bindir}/taglib-extras-config
%{_includedir}/taglib-extras
%{_libdir}/libtag-extras*.so
%{_libdir}/pkgconfig/*.pc
%changelog