diff --git a/libwnck.spec b/libwnck.spec index 4f4976b..78a96d5 100644 --- a/libwnck.spec +++ b/libwnck.spec @@ -1,7 +1,7 @@ -%define apiver %(echo %version | cut -d. -f 1).0 -%define majver %(echo %version | cut -d. -f 1-2) +%define apiver 3 +%define majver %(echo %version | cut -d. -f 1) Name: libwnck -Version: 3.36.0 +Version: 40.1 Release: 1mamba Summary: libwnck implements pagers, tasklists, and other such things Group: System/Libraries @@ -9,42 +9,23 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.gnome.org -Source: http://ftp.gnome.org/pub/GNOME/sources/libwnck/%{majver}/%{name}-%{version}.tar.xz +Source: https://download.gnome.org/sources/libwnck/%{majver}/%{name}-%{version}.tar.xz License: LGPL BuildRequires: pkgconfig BuildRequires: gettext-devel ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: gtk-doc -BuildRequires: libatk-devel -BuildRequires: libcairo-devel -BuildRequires: libexpat-devel -BuildRequires: libfontconfig-devel -BuildRequires: libfreetype-devel -BuildRequires: libglib-devel -BuildRequires: libglitz-devel -BuildRequires: libgtk-devel -BuildRequires: libICE-devel -BuildRequires: libpango-devel -BuildRequires: libpixman-devel -BuildRequires: libpng-devel -BuildRequires: libpthread-stubs-devel -BuildRequires: libselinux-devel -BuildRequires: libSM-devel -BuildRequires: libstartup-notification-devel -BuildRequires: libstdc++6-devel -BuildRequires: libuuid-devel BuildRequires: libX11-devel -BuildRequires: libXau-devel -BuildRequires: libxcb-devel -BuildRequires: libxcb-util-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXext-devel BuildRequires: libXrender-devel BuildRequires: libXres-devel -BuildRequires: libz-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk3-devel +BuildRequires: libpango-devel +BuildRequires: libstartup-notification-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Libwnck (pronounced "libwink") is used to implement pagers, tasklists, and other such things. @@ -56,8 +37,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Libwnck (pronounced "libwink") is used to implement pagers, tasklists, and other such things. - -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package apidocs Summary: %{name} API documentation @@ -67,12 +47,14 @@ Requires: gtk-doc %description apidocs %{name} API documentation. +%debug_package + %prep %setup -q %build %meson \ - -Dgtk-doc=true + -Dgtk_doc=true %meson_build @@ -82,7 +64,7 @@ Requires: gtk-doc rm -f %{buildroot}%{_libdir}/*.la -%{find_lang} %{name}-%{apiver} +%{find_lang} %{name} --all-name %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -90,28 +72,32 @@ rm -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files -f %{name}-%{apiver}.lang +%files -f %{name}.lang %defattr(-,root,root) -%{_bindir}/wnck-urgency-monitor -%{_libdir}/libwnck-3.so.* +%{_libdir}/libwnck-%{apiver}.so.* +%{_libdir}/girepository-1.0/Wnck-*.typelib %doc AUTHORS COPYING %files devel %defattr(-,root,root) -%{_bindir}/wnckprop -%{_libdir}/libwnck-3.so -%{_libdir}/girepository-1.0/Wnck-*.typelib -%{_datadir}/gir-1.0/Wnck-*.gir -%{_libdir}/pkgconfig/*.pc %dir %{_includedir}/libwnck-?.?/libwnck %{_includedir}/libwnck-?.?/libwnck/*.h +%{_bindir}/wnck-urgency-monitor +%{_bindir}/wnckprop +%{_libdir}/libwnck-%{apiver}.so +%{_datadir}/gir-1.0/Wnck-*.gir +%{_libdir}/pkgconfig/*.pc %doc ChangeLog NEWS README -#%files apidocs -#%defattr(-,root,root) -#%{_datadir}/gtk-doc/html/%{name}-%{apiver}/ +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/%{name}-%{apiver}.0 +%{_datadir}/gtk-doc/html/%{name}-%{apiver}.0/* %changelog +* Sat May 14 2022 Silvan Calarco 40.1-1mamba +- update to 40.1 + * Tue Feb 09 2021 Automatic Build System 3.36.0-1mamba - automatic version update by autodist