libdmapsharing/libdmapsharing.spec

65 lines
2.0 KiB
RPMSpec
Raw Normal View History

2020-06-18 10:46:49 +08:00
Name: libdmapsharing
2024-02-26 17:25:52 +08:00
Version: 3.9.13
Release: 1
2020-06-18 10:46:49 +08:00
Summary: A library of DMAP
License: LGPLv2+
URL: http://www.flyn.org/projects/libdmapsharing/
Source: http://www.flyn.org/projects/libdmapsharing/libdmapsharing-%{version}.tar.gz
BuildRequires: pkgconfig glib2-devel libsoup-devel >= 2.32 gdk-pixbuf2-devel
BuildRequires: gstreamer1-plugins-base-devel pkgconfig(avahi-client)
BuildRequires: pkgconfig(avahi-glib) vala-tools libgee-devel
BuildRequires: pkgconfig(libsoup-3.0)
2020-06-18 10:46:49 +08:00
%description
Libdmapsharing is a library which allows programs to access, share and
control the playback of media content using DMAP.
%package devel
Summary: Development files for libdmapsharing
Requires: libdmapsharing = %{version}-%{release}
Provides: libdmapsharing-vala = %{version}-%{release}
Obsoletes: libdmapsharing-vala < %{version}-%{release}
%description devel
libdmapsharing implements the DMAP protocols. This includes support for
DAAP and DPAP. This package provides the libraries, include files, Vala language
bindings and other resources needed for developing applications using libdmapsharing.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-tests --disable-check
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
2020-06-18 10:46:49 +08:00
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS COPYING ChangeLog README
%{_libdir}/libdmapsharing-4.0.so.*
2020-06-18 10:46:49 +08:00
%files devel
%{_includedir}/libdmapsharing-4.0/
%{_libdir}/{pkgconfig/libdmapsharing-4.0.pc,libdmapsharing-4.0.so,libdmapsharing-4.0.a}
%{_libdir}/girepository-1.0/Dmap-4.0.typelib
%{_datadir}/{gtk-doc/html/libdmapsharing-4.0,gir-1.0/Dmap-4.0.gir}
%{_datadir}/vala/vapi/libdmapsharing-4.0.vapi
2020-06-18 10:46:49 +08:00
%changelog
2024-02-26 17:25:52 +08:00
* Mon Feb 26 2024 liyanan <liyanan61@h-partners.com> - 3.9.13-1
- Upgrade to 3.9.13
* Tue Apr 11 2023 xu_ping <707078654@qq.com> - 3.9.12-1
- Upgrade to 3.9.12
2020-06-18 10:46:49 +08:00
* Wed Apr 15 2020 chengzihan <chengzihan2@huawei.com> - 2.9.37-7
- Package init