libupnp/libupnp.spec

87 lines
2.1 KiB
RPMSpec
Raw Normal View History

2024-01-08 17:29:02 +08:00
Version: 1.14.18
2022-01-13 17:44:05 +08:00
Summary: Universal Plug and Play (UPnP) SDK
Name: libupnp
2022-12-13 15:24:23 +08:00
Release: 1
2022-07-29 11:06:08 +08:00
License: BSD-3-Clause
2022-01-13 17:44:05 +08:00
URL: https://github.com/pupnp/pupnp
2023-08-04 13:52:29 +08:00
Source: %{url}/archive/release-%{version}/%{name}-%{version}.tar.gz
2020-07-23 11:25:27 +08:00
2021-01-29 10:15:00 +08:00
BuildRequires: gcc
BuildRequires: make
2022-01-13 17:44:05 +08:00
BuildRequires: libtool
2020-07-23 11:25:27 +08:00
%description
The Universal Plug and Play (UPnP) SDK for Linux provides
support for building UPnP-compliant control points, devices,
and bridges on Linux.
%package devel
2022-01-13 17:44:05 +08:00
Summary: Include files needed for development with libupnp
Requires: libupnp%{?_isa} = %{version}-%{release}
2020-07-23 11:25:27 +08:00
%description devel
The libupnp-devel package contains the files necessary for development with
the UPnP SDK libraries.
%prep
2022-01-13 17:44:05 +08:00
%autosetup -p1 -n pupnp-release-%{version}
2020-07-23 11:25:27 +08:00
2020-07-23 11:25:27 +08:00
%build
2022-01-13 17:44:05 +08:00
autoreconf -vif
2020-07-23 11:25:27 +08:00
%configure \
--enable-static=no \
--enable-ipv6
# remove rpath from libtool
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%make_install
%{__rm} %{buildroot}%{_libdir}/{libixml.la,libupnp.la}
%ldconfig_scriptlets
%files
%license COPYING
%doc THANKS
2021-01-29 10:15:00 +08:00
%{_libdir}/libixml.so.11*
%{_libdir}/libupnp.so.17*
2020-07-23 11:25:27 +08:00
%files devel
%{_includedir}/upnp/
%{_libdir}/libixml.so
%{_libdir}/libupnp.so
%{_libdir}/pkgconfig/libupnp.pc
%changelog
2024-01-08 17:29:02 +08:00
* Mon Jan 08 2024 peijiankang <peijiankang@kylinos.cn> - 1.14.18-1
- update to upstream version 1.14.18
2023-08-04 13:52:29 +08:00
* Fri Aug 04 2023 yajun<yajun@kylinos.cn> - 1.14.17-1
- update to upstream version 1.14.17
2022-12-13 15:24:23 +08:00
* Tue Dec 13 2022 lijian <lijian2@kylinos.cn> - 1.14.15-1
- update to upstream version 1.14.15
2022-07-29 11:06:08 +08:00
* Fri Jul 29 2022 liukuo <liukuo@kylinos.cn> - 1.14.12-2
- License compliance rectification
2022-01-13 17:44:05 +08:00
* Thu Jan 13 2022 pei-jiankang <peijiankang@kylinos.cn> - 1.14.12-1
- update to upstream version 1.14.12
* Fri Aug 13 2021 douyan <douyan@kylinos.cn> - 1.14.7-1
- Update to version 1.14.7-1
2021-01-29 10:15:00 +08:00
* Fri Jan 29 2021 lvhan <lvhan@kylinos.cn> - 1.12.1-2
- Update to version 1.12.1-2
- fix CVE-2020-13848
* Thu Jul 23 2020 Zhao Yang <yangzhao1@kylinos.cn> - 1.8.4-1
2022-01-13 17:44:05 +08:00
- Initial release for openEuler