rebuilt with debug package and build fixes [release 16.04.0-3mamba;Fri Apr 16 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:05:16 +01:00
parent a58ddf50b4
commit 459889d149

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: libdbusmenu Name: libdbusmenu
Version: 16.04.0 Version: 16.04.0
Release: 2mamba Release: 3mamba
Summary: DBus Menu Library Summary: DBus Menu Library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -27,7 +27,6 @@ BuildRequires: libpango-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: vala-tools BuildRequires: vala-tools
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
A small little library that was created by pulling out some comon code out of indicator-applet. A small little library that was created by pulling out some comon code out of indicator-applet.
@ -111,17 +110,38 @@ Requires: gtk-doc
%description apidocs %description apidocs
%{name} API documentation. %{name} API documentation.
%debug_package
%prep %prep
%setup -q %setup -q
# don't treat warnings as errors
%build sed -i 's/-Werror//' libdbusmenu-*/Makefile.{am,in}
%configure --enable-introspection
%make -j1
tar xf %{SOURCE0} tar xf %{SOURCE0}
mv %{name}-%{version} gtk2 mv %{name}-%{version} gtk2
cd gtk2 cd gtk2
%configure --with-gtk=2 --enable-introspection sed -i 's/-Werror//' libdbusmenu-*/Makefile.{am,in}
%build
export HAVE_VALGRIND_TRUE=''
export HAVE_VALGRIND_FALSE='#'
%configure \
--enable-introspection \
--disable-dumper \
--disable-static \
--disable-tests
%make -j1
cd gtk2
%configure \
--with-gtk=2 \
--enable-introspection \
--disable-dumper \
--disable-static \
--disable-tests
%make -j1 %make -j1
cd .. cd ..
@ -159,28 +179,24 @@ rm -fr %{buildroot}/usr/share/doc/libdbusmenu
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/libdbusmenu-*/libdbusmenu-glib %{_includedir}/libdbusmenu-*/libdbusmenu-glib
%{_libdir}/libdbusmenu-glib.a
%{_libdir}/libdbusmenu-glib.la %{_libdir}/libdbusmenu-glib.la
%{_libdir}/libdbusmenu-glib.so %{_libdir}/libdbusmenu-glib.so
%{_libdir}/pkgconfig/dbusmenu-glib-0.4.pc %{_libdir}/pkgconfig/dbusmenu-glib-0.4.pc
#
%{_libexecdir}/dbusmenu-bench %{_libexecdir}/dbusmenu-bench
%{_libexecdir}/dbusmenu-dumper
%{_libexecdir}/dbusmenu-testapp
%files jsonloader #%files jsonloader
%defattr(-,root,root) #%defattr(-,root,root)
%{_libdir}/libdbusmenu-jsonloader.so.* #%{_libdir}/libdbusmenu-jsonloader.so.*
%{_datadir}/libdbusmenu/json/test-gtk-label.json #%{_datadir}/libdbusmenu/json/test-gtk-label.json
%files jsonloader-devel #%files jsonloader-devel
%defattr(-,root,root) #%defattr(-,root,root)
%dir %{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-jsonloader #%dir %{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-jsonloader
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-jsonloader/* #%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-jsonloader/*
%{_libdir}/libdbusmenu-jsonloader.a #%{_libdir}/libdbusmenu-jsonloader.a
%{_libdir}/libdbusmenu-jsonloader.la #%{_libdir}/libdbusmenu-jsonloader.la
%{_libdir}/libdbusmenu-jsonloader.so #%{_libdir}/libdbusmenu-jsonloader.so
%{_libdir}/pkgconfig/dbusmenu-jsonloader-0.4.pc #%{_libdir}/pkgconfig/dbusmenu-jsonloader-0.4.pc
%files gtk %files gtk
%defattr(-,root,root) %defattr(-,root,root)
@ -192,7 +208,6 @@ rm -fr %{buildroot}/usr/share/doc/libdbusmenu
%dir %{_includedir}/libdbusmenu-gtk-0.4 %dir %{_includedir}/libdbusmenu-gtk-0.4
%dir %{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk %dir %{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk
%{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/*.h %{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/*.h
%{_libdir}/libdbusmenu-gtk.a
%{_libdir}/libdbusmenu-gtk.la %{_libdir}/libdbusmenu-gtk.la
%{_libdir}/libdbusmenu-gtk.so %{_libdir}/libdbusmenu-gtk.so
%{_libdir}/pkgconfig/dbusmenu-gtk-0.4.pc %{_libdir}/pkgconfig/dbusmenu-gtk-0.4.pc
@ -209,7 +224,6 @@ rm -fr %{buildroot}/usr/share/doc/libdbusmenu
%dir %{_includedir}/libdbusmenu-gtk3-0.4 %dir %{_includedir}/libdbusmenu-gtk3-0.4
%dir %{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk %dir %{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk
%{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/*.h %{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/*.h
%{_libdir}/libdbusmenu-gtk3.a
%{_libdir}/libdbusmenu-gtk3.la %{_libdir}/libdbusmenu-gtk3.la
%{_libdir}/libdbusmenu-gtk3.so %{_libdir}/libdbusmenu-gtk3.so
%{_libdir}/pkgconfig/dbusmenu-gtk3-0.4.pc %{_libdir}/pkgconfig/dbusmenu-gtk3-0.4.pc
@ -224,6 +238,9 @@ rm -fr %{buildroot}/usr/share/doc/libdbusmenu
%{_datadir}/gtk-doc/html/libdbusmenu-gtk/* %{_datadir}/gtk-doc/html/libdbusmenu-gtk/*
%changelog %changelog
* Fri Apr 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 16.04.0-3mamba
- rebuilt with debug package and build fixes
* Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.04.0-2mamba * Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.04.0-2mamba
- add gtk2 version - add gtk2 version