forked from pool/libupnpp
Michael Pujos
c6bac3db9f
- Update to version 0.20.2: * No upstream changelog available OBS-URL: https://build.opensuse.org/request/show/864623 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libupnpp?expand=0&rev=3
77 lines
2.2 KiB
RPMSpec
77 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package libupnpp
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define so_ver 9
|
|
Name: libupnpp
|
|
Version: 0.20.2
|
|
Release: 0
|
|
Summary: Library providing a higher level C++ API over libnpupnp or libupnp
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://www.lesbonscomptes.com/updmpdcli
|
|
Source0: https://www.lesbonscomptes.com/upmpdcli/downloads/libupnpp-%{version}.tar.gz
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(expat)
|
|
BuildRequires: pkgconfig(libcurl)
|
|
BuildRequires: pkgconfig(libnpupnp)
|
|
|
|
%description
|
|
Library providing a higher level C++ API over libnpupnp or libupnp
|
|
|
|
%package -n %{name}%{so_ver}
|
|
Summary: Library providing a higher level C++ API over libnpupnp or libupnp
|
|
Group: System/Libraries
|
|
|
|
%description -n %{name}%{so_ver}
|
|
Library providing a higher level C++ API over libnpupnp or libupnp
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{name}%{so_ver} = %{version}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%configure --disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*a" -delete -print
|
|
|
|
%post -p /sbin/ldconfig -n %{name}%{so_ver}
|
|
%postun -p /sbin/ldconfig -n %{name}%{so_ver}
|
|
|
|
%files -n %{name}%{so_ver}
|
|
%license COPYING
|
|
%{_libdir}/*.so.*
|
|
|
|
%files -n libupnpp-devel
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|