%define majver %(echo %version | cut -d. -f1-2) Name: libgarcon Version: 4.16.1 Release: 1mamba Summary: A menu tree management library used by XFCE Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.xfce.org Source: https://archive.xfce.org/src/xfce/garcon/%{majver}/garcon-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk-devel BuildRequires: libharfbuzz-devel BuildRequires: libpango-devel BuildRequires: libxfce4ui-devel BuildRequires: libxfce4util-devel ## AUTOBUILDREQ-END BuildRequires: libxfce4ui-devel >= 4.16.0 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A menu tree management library used by XFCE. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel A menu tree management library used by XFCE. This package contains static libraries and header files neededM for development. %package apidocs Group: Documentation Summary: %{name} API documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: gtk-doc %description apidocs This package includes the %{name} API documentation. %debug_package %prep %setup -q -n garcon-%{version} %build %configure \ --enable-gtk-doc %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang garcon %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f garcon.lang %defattr(-,root,root) %{_sysconfdir}/xdg/menus/xfce-applications.menu %{_libdir}/libgarcon-1.so.* #%{_libdir}/libgarcon-gtk2-1.so.* %{_libdir}/libgarcon-gtk3-1.so.* %{_libdir}/girepository-1.0/Garcon-1.0.typelib %{_libdir}/girepository-1.0/GarconGtk-1.0.typelib %{_datadir}/icons/hicolor/32x32/apps/org.xfce.garcon.png %{_datadir}/desktop-directories/xfce-*.directory %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/garcon-1 %dir %{_includedir}/garcon-1/garcon/ %{_includedir}/garcon-1/garcon/*.h #%dir %{_includedir}/garcon-gtk2-1 #%dir %{_includedir}/garcon-gtk2-1/garcon-gtk #%{_includedir}/garcon-gtk2-1/garcon-gtk/*.h %dir %{_includedir}/garcon-gtk3-1 %dir %{_includedir}/garcon-gtk3-1/garcon-gtk %{_includedir}/garcon-gtk3-1/garcon-gtk/*.h %{_libdir}/libgarcon-1.la %{_libdir}/libgarcon-1.so #%{_libdir}/libgarcon-gtk2-1.la #%{_libdir}/libgarcon-gtk2-1.so %{_libdir}/libgarcon-gtk3-1.la %{_libdir}/libgarcon-gtk3-1.so %{_datadir}/gir-1.0/Garcon-1.0.gir %{_datadir}/gir-1.0/GarconGtk-1.0.gir %{_libdir}/pkgconfig/garcon-1.pc #%{_libdir}/pkgconfig/garcon-gtk2-1.pc %{_libdir}/pkgconfig/garcon-gtk3-1.pc %doc NEWS TODO ChangeLog %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/garcon %{_datadir}/gtk-doc/html/garcon/* %changelog * Tue Jan 19 2021 Silvan Calarco 4.16.1-1mamba - update to 4.16.1 * Sat Jul 27 2019 Automatic Build System 0.6.4-1mamba - automatic version update by autodist * Tue Jul 02 2019 Automatic Build System 0.6.3-1mamba - automatic version update by autodist * Fri Dec 07 2018 Automatic Build System 0.6.2-1mamba - automatic version update by autodist * Sat Jun 17 2017 Automatic Build System 0.6.1-1mamba - automatic version update by autodist * Mon Mar 09 2015 Automatic Build System 0.4.0-1mamba - automatic version update by autodist * Tue May 07 2013 Automatic Build System 0.2.1-1mamba - automatic version update by autodist * Thu Oct 25 2012 Silvan Calarco 0.2.0-1mamba - update to 0.2.0 * Wed Apr 25 2012 Automatic Build System 0.1.12-1mamba - automatic version update by autodist * Sun Jun 19 2011 Automatic Build System 0.1.8-1mamba - automatic update by autodist * Sun May 01 2011 Automatic Build System 0.1.7-1mamba - automatic update by autodist * Sat Feb 12 2011 Silvan Calarco 0.1.5-1mamba - package created by autospec