%define majver %(echo %version | cut -d. -f1-2) Name: libgarcon Version: 0.6.4 Release: 1mamba Summary: A menu tree management library used by XFCE Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://wiki.xfce.org/releng/4.8/roadmap/garcon?s[]=garcon Source: http://archive.xfce.org/src/libs/garcon/%{majver}/garcon-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libffi-devel BuildRequires: libglib-devel BuildRequires: libselinux-devel BuildRequires: libxfce4util-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END 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 need 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. %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.* %{_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 %{_libdir}/pkgconfig/garcon-1.pc %{_libdir}/pkgconfig/garcon-gtk2-1.pc %{_libdir}/pkgconfig/garcon-gtk3-1.pc %doc NEWS README TODO ChangeLog %files apidocs %defattr(-,root,root) %{_datadir}/gtk-doc/html/garcon %changelog * 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