disable gtkdoc to avoid conflict with non-legacy package [release 1.0.3-3mamba;Tue Apr 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:30:03 +01:00
parent 011aae9978
commit 5a821e455d

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: libgssdp10 Name: libgssdp10
Version: 1.0.3 Version: 1.0.3
Release: 2mamba Release: 3mamba
Summary: A library that implements resource discovery and announcement over SSDP. Summary: A library that implements resource discovery and announcement over SSDP.
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -12,16 +12,15 @@ Source: ftp://ftp.gnome.org/pub/gnome/sources/gssdp/%{majver}/gssdp-%{ver
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk2-devel BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libsoup-devel BuildRequires: libsoup-devel
BuildRequires: pkg-config
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -38,17 +37,24 @@ GSSDP implements resource discovery and announcement over SSDP.
This package contains static libraries and header files need for development. This package contains static libraries and header files need for development.
%debug_package
%prep %prep
%setup -q -n gssdp-%{version} %setup -q -n gssdp-%{version}
%build %build
%configure %configure \
--with-html-dir=%{_datadir}/gtk-doc/html/gssdp10 \
--program-suffix=10
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -63,7 +69,7 @@ This package contains static libraries and header files need for development.
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/gssdp-device-sniffer %{_bindir}/gssdp-device-sniffer10
%{_datadir}/gssdp/gssdp-device-sniffer.ui %{_datadir}/gssdp/gssdp-device-sniffer.ui
%{_includedir}/gssdp-1.0/libgssdp/gssdp*.h %{_includedir}/gssdp-1.0/libgssdp/gssdp*.h
%{_libdir}/libgssdp-1.0.a %{_libdir}/libgssdp-1.0.a
@ -71,14 +77,17 @@ This package contains static libraries and header files need for development.
%{_libdir}/libgssdp-1.0.so %{_libdir}/libgssdp-1.0.so
%{_libdir}/girepository-1.0/GSSDP-*.typelib %{_libdir}/girepository-1.0/GSSDP-*.typelib
%{_datadir}/gir-1.0/GSSDP-*.gir %{_datadir}/gir-1.0/GSSDP-*.gir
%dir %{_datadir}/gtk-doc/html/gssdp
%{_datadir}/gtk-doc/html/gssdp/*
%{_datadir}/vala/vapi/gssdp-1.0.deps %{_datadir}/vala/vapi/gssdp-1.0.deps
%{_datadir}/vala/vapi/gssdp-1.0.vapi %{_datadir}/vala/vapi/gssdp-1.0.vapi
%dir %{_datadir}/gtk-doc/html/gssdp10
%{_datadir}/gtk-doc/html/gssdp10/*
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README %doc ChangeLog NEWS README
%changelog %changelog
* Tue Apr 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-3mamba
- disable gtkdoc to avoid conflict with non-legacy package
* Fri Nov 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-2mamba * Fri Nov 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-2mamba
- legacy package - legacy package