%global git_date 20241204 %global git_hash 39cf9735 %global git_ver 4.20 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: exo Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Application library for the Xfce desktop environment # libexo-hal exo-helper mount-notify and exo-mount are all GPLv2+ # everything else is LGPLv2+ License: LGPLv2+ and GPLv2+ URL: https://gitlab.xfce.org/xfce/exo.git Source0: %{url}/%{src_name} BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: gettext BuildRequires: perl-URI BuildRequires: pkgconfig(glib-2.0) >= 2.24.0 BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: libnotify-devel BuildRequires: intltool >= 0.31 BuildRequires: chrpath BuildRequires: desktop-file-utils BuildRequires: gobject-introspection-devel BuildRequires: make BuildRequires: xfce4-dev-tools %description Extension library for Xfce, targeted at application development. %package devel Summary: Development tools for exo library Requires: %{name} = %{version}-%{release} Requires: libxfce4util-devel Requires: pkgconfig %description devel Development tools and static libraries and header files for the exo library. %prep %autosetup -p1 -n %{name} %build ./autogen.sh %configure --enable-gtk-doc --enable-maintainer-mode --disable-static %make_build %install %make_install find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' %find_lang exo %files -f exo.lang %license COPYING %doc AUTHORS NEWS THANKS %{_bindir}/exo-desktop-item-edit %{_bindir}/exo-open %{_libdir}/libexo-2.so.0 %{_libdir}/libexo-2.so.0.1.0 %{_datadir}/pixmaps/exo %{_mandir}/man1/exo-open.1.* %files devel %doc %{_datadir}/gtk-doc %{_includedir}/exo* %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %changelog %autochangelog