%define _name exo
Name: lib%_name
Version: 0.12.11
Release: alt3
Summary: Extension library to Xfce
Summary (ru_RU.UTF-8): Библиотека расширений Xfce
License: LGPLv2+ and GPLv2+
Group: System/Libraries
Url: https://www.xfce.org
Packager: Xfce Team <xfce@packages.altlinux.org>
# Upstream: git://git.xfce.org/xfce/exo
Source: %_name-%version.tar
Patch: %_name-%version-%release.patch
BuildRequires: rpm-build-xfce4 xfce4-dev-tools > 4.9 libxfce4util-devel libxfce4ui-devel
BuildRequires: libgtk+3-devel libxfce4ui-gtk3-devel
BuildRequires: libICE-devel glib2-devel >= 2.27 libgtk+2-devel
BuildRequires: gtk-doc intltool perl-URI time
Requires: %name-common = %version-%release
Requires: libgtk+2-common
# There is no longer python bindings for exo.
Conflicts: python-module-exo < 0.7.0
%define _unpackaged_files_terminate_build 1
%description
Libexo is an extension library to Xfce, developed by os-cillation.
While Xfce comes with a quite few libraries that are targeted at desktop
development, libexo is targeted at application development.
%description -l ru_RU.UTF-8
Libexo - библиотека расширений Xfce предназначенная для использования в
приложениях разрабатываемых под Xfce.
%package common
Summary: Common files for %name
Group: Graphical desktop/XFce
Requires: xfce4-common
BuildArch: noarch
%description common
Common files used by all %name variants.
%package -n %_name-utils
Summary: Utility files for %name
Group: Graphical desktop/XFce
%description -n %_name-utils
This package conteins utility files for %name.
%package -n %_name-csource
Summary: C code generation utility for arbitrary data
Group: Development/C
%description -n %_name-csource
This package contains %_name-csource utility.
It is a small utility that generates C code containing arbitrary data,
useful for compiling texts or other data directly into programs.
%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release libxfce4util-devel > 4.5
Requires: %_name-csource = %version-%release
%description devel
This package contains development files required for packaging
%name-based software.
%package gtk3
Summary: Extension library to Xfce (GTK+3 version)
Group: System/Libraries
Requires: %name-common = %version-%release
%description gtk3
Libexo is an extension library to Xfce, developed by os-cillation.
While Xfce comes with a quite few libraries that are targeted at desktop
development, libexo is targeted at application development.
This is a GTK+3 version.
%package gtk3-devel
Summary: Development files for %name-gtk3
Group: Development/C
Requires: %name-gtk3 = %version-%release
Requires: %_name-csource = %version-%release
%description gtk3-devel
This package contains development files required for packaging
%name-based software.
This is a GTK+3 version.
%package devel-doc
Summary: Documentation files for %name
Group: Development/Documentation
Requires: %name-devel = %version-%release
BuildArch: noarch
%description devel-doc
This package contains documentation files required for packaging
%name-based software.
%prep
%setup -n %_name-%version
%patch -p1
# Don't use git tag in version.
%xfce4_drop_gitvtag libexo_version_tag configure.ac.in
%build
%xfce4reconf
%configure \
--disable-static \
--enable-maintainer-mode \
--enable-gtk2 \
--enable-gtk-doc \
--enable-debug=minimum
# Seems there is race in desktop files processing
export NPROCS=1
%make_build
%install
%makeinstall_std
%find_lang %_name-1
%check
make check
%files
%_libdir/%name-1.so.*
%files common -f %_name-1.lang
%doc AUTHORS NEWS TODO README
%config(noreplace) %_sysconfdir/xdg/xfce4/helpers.rc
%_datadir/xfce4/*
%exclude %_datadir/xfce4/helpers/debian-*.desktop
%_desktopdir/*
%_iconsdir/hicolor/*/*/*
%_pixmapsdir/%_name/
%files -n %_name-utils
%_bindir/*
%exclude %_bindir/exo-csource
%_libdir/xfce4/*
%_man1dir/*
%exclude %_man1dir/exo-csource.1.*
%files -n %_name-csource
%_bindir/exo-csource
%_man1dir/exo-csource.1.*
%files devel
%_includedir/%_name-1/
%_libdir/%name-1.so
%_pkgconfigdir/%_name-1.pc
%files gtk3
%_libdir/%name-2.so.*
%files gtk3-devel
%_includedir/%_name-2/
%_libdir/%name-2.so
%_pkgconfigdir/%_name-2.pc
%files devel-doc
%_datadir/gtk-doc/html/%{_name}*
%changelog
* Thu Nov 17 2022 Mikhail Efremov <sem@altlinux.org> 0.12.11-alt3
- exo-helper: Properly quote command parameters (fixes: CVE-2022-45062).
* Wed Sep 01 2021 Mikhail Efremov <sem@altlinux.org> 0.12.11-alt2
- Added chromium-gost.desktop file.
* Thu Dec 19 2019 Mikhail Efremov <sem@altlinux.org> 0.12.11-alt1
- Don't use rpm-build-licenses.
- Updated to 0.12.11.
* Fri Nov 22 2019 Mikhail Efremov <sem@altlinux.org> 0.12.10-alt1
- Updated to 0.12.10.
* Mon Nov 18 2019 Mikhail Efremov <sem@altlinux.org> 0.12.9-alt1
- Updated to 0.12.9.
* Mon Aug 12 2019 Mikhail Efremov <sem@altlinux.org> 0.12.8-alt1
- Updated to 0.12.8.
* Mon Jul 29 2019 Mikhail Efremov <sem@altlinux.org> 0.12.7-alt1
- Updated to 0.12.7.
* Fri Jun 14 2019 Mikhail Efremov <sem@altlinux.org> 0.12.6-alt1
- Updated to 0.12.6.
* Mon May 13 2019 Mikhail Efremov <sem@altlinux.org> 0.12.5-alt1
- Don't use deprecated PreReq.
- Updated to 0.12.5.
* Mon Jan 21 2019 Mikhail Efremov <sem@altlinux.org> 0.12.4-alt1
- Updated to 0.12.4.
* Tue Oct 16 2018 Mikhail Efremov <sem@altlinux.org> 0.12.3-alt1
- Updated to 0.12.3.
* Tue Aug 07 2018 Mikhail Efremov <sem@altlinux.org> 0.12.2-alt1
- Set NPROCS=1 for build.
- Update url.
- Enable debug (minimum level).
- Move translations to common subpackage.
- Split out common and utils subpackages from libexo.
- Drop %%exclude for categories icons.
- Build GTK+3 version.
- Updated to 0.12.2.
* Sat Apr 28 2018 Mikhail Efremov <sem@altlinux.org> 0.10.7-alt2
- Added helper New Moon Web browser (by Anton Midyukov)
(closes: #34637).
* Mon Sep 14 2015 Mikhail Efremov <sem@altlinux.org> 0.10.7-alt1
- Updated to 0.10.7.
* Tue May 26 2015 Mikhail Efremov <sem@altlinux.org> 0.10.6-alt1
- Updated to 0.10.6.
* Tue Mar 17 2015 Mikhail Efremov <sem@altlinux.org> 0.10.4-alt1
- Updated to 0.10.4.
* Thu Mar 05 2015 Mikhail Efremov <sem@altlinux.org> 0.10.3-alt1
- Don't package menu categories icons.
- Updated to 0.10.3.
* Mon Jan 12 2015 Mikhail Efremov <sem@altlinux.org> 0.10.2-alt3.git20150112
- Fix Xfce name (XFce,XFCE -> Xfce).
- Upstream git snapshot.
* Fri Dec 28 2012 Mikhail Efremov <sem@altlinux.org> 0.10.2-alt2
- Bring back changes for xfce4-terminal.
* Thu Dec 27 2012 Mikhail Efremov <sem@altlinux.org> 0.10.2-alt1
- Temporally revert commits for xfce4-terminal.
- Updated to 0.10.2.
* Mon Dec 10 2012 Mikhail Efremov <sem@altlinux.org> 0.10.1-alt1
- Updated to 0.10.1.
* Mon Dec 03 2012 Mikhail Efremov <sem@altlinux.org> 0.10.0-alt1
- Updated to 0.10.0.
- Don't package Debian-specific helpers.
- Require xfce4-common.
* Sun Apr 29 2012 Mikhail Efremov <sem@altlinux.org> 0.8.0-alt1
- Updated to 0.8.0.
* Tue Apr 17 2012 Mikhail Efremov <sem@altlinux.org> 0.7.3-alt1
- Updated to 0.7.3.
* Mon Apr 09 2012 Mikhail Efremov <sem@altlinux.org> 0.7.2-alt1
- Updated to 0.7.2.
* Mon Feb 13 2012 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt1
- Updated to 0.7.1.
* Fri Dec 30 2011 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt1
- Drop python module subpackage.
- Drop obsileted patches.
- Updated to 0.7.0.
* Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.6.2-alt3.1
- Rebuild with Python-2.7
* Wed Aug 31 2011 Mikhail Efremov <sem@altlinux.org> 0.6.2-alt3
- Drop obsoleted fix-russian-translation.patch.
- Updated Russian translation.
* Mon Aug 15 2011 Mikhail Efremov <sem@altlinux.org> 0.6.2-alt2
- Rename and update fix-russian-translation.patch.
- Updated Russian translation (by Artem Zolochevskiy).
* Fri Jun 24 2011 Mikhail Efremov <sem@altlinux.org> 0.6.2-alt1
- Updated alt-translation.patch.
- Updated to 0.6.2.
* Tue Feb 15 2011 Mikhail Efremov <sem@altlinux.org> 0.6.0-alt3
- Own %%_pixmapsdir/exo-1 dir.
- Enable tests.
- Fix tests.
- Package libexo-devel-doc as noarch.
* Fri Feb 11 2011 Mikhail Efremov <sem@altlinux.org> 0.6.0-alt2
- Fix build with glib >= 2.27.
* Thu Jan 20 2011 Mikhail Efremov <sem@altlinux.org> 0.6.0-alt1
- Rename package: exo -> libexo.
- Fix build python module on x86_64 (based on patch from FC).
- Fix license.
- Spec cleanup.
- Update and enable alt-translation.patch.
- Drop exo-0.3.2-alt-noatime.patch (obsolete).
- Drop exo-0.3.2-alt-eject.patch (obsolete).
- Drop alt-exo-iocharset.patch (obsolete).
- Updated to 0.6.0.
* Thu Jan 20 2011 Igor Vlasenko <viy@altlinux.ru> 0.3.101-alt2.1
- rebuild for set:provides by request of mithraen
* Tue Jan 05 2010 Denis Koryavov <dkoryavov@altlinux.org> 0.3.101-alt2
- Fix build with gtkdocize.
* Wed Nov 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.101-alt1.1
- Rebuilt with python 2.6
* Mon Apr 20 2009 Denis Koryavov <dkoryavov@altlinux.org> 0.3.101-alt1
- Xfce 4.6.1
* Sun Apr 12 2009 Denis Koryavov <dkoryavov@altlinux.org> 0.3.100-alt1
- Xfce 4.6.0
* Tue Jan 27 2009 Eugene Ostapets <eostapets@altlinux.ru> 0.3.99.1-alt1
- Xfce 4.6rc1
* Thu Jan 22 2009 Eugene Ostapets <eostapets@altlinux.ru> 0.3.93-alt1
- Xfce 4.6 beta 3
* Fri Oct 24 2008 Eugene Ostapets <eostapets@altlinux.org> 0.3.91-alt1
- Xfce 4.6 beta1
* Fri Jan 25 2008 Grigory Batalov <bga@altlinux.ru> 0.3.4-alt2.1
- Rebuilt with python-2.5.
* Wed Dec 12 2007 Alex V. Myltsev <avm@altlinux.ru> 0.3.4-alt2
- restore lost changes (now as patches)
- pull Russian translation from SVN
- create version script for libexo (new symbol added)
* Mon Dec 10 2007 Eugene Ostapets <eostapets@altlinux.org> 0.3.4-alt1
- Xfce 4.4.2 release
* Wed Nov 21 2007 Alex V. Myltsev <avm@altlinux.ru> 0.3.2-alt6
- Russian translation fixes
* Mon Oct 29 2007 Alex V. Myltsev <avm@altlinux.ru> 0.3.2-alt5
- use 'noatime' if allowed by HAL
- enable mount notifications through libnotify
* Wed Sep 12 2007 Alex V. Myltsev <avm@altlinux.ru> 0.3.2-alt4
- fix #12702: pushing eject on the disc drive should now work.
* Tue Jun 19 2007 Eugene Ostapets <eostapets@altlinux.ru> 0.3.2-alt3
- try fix 11176
* Sun Jun 17 2007 Eugene Ostapets <eostapets@altlinux.ru> 0.3.2-alt2
- fix 12005
* Fri Mar 16 2007 Eugene Ostapets <eostapets@altlinux.ru> 0.3.2-alt1
- add requires for hal
* Mon Jan 22 2007 Eugene Ostapets <eostapets@altlinux.ru> 0.3.2-alt0.1
- Xfce 4.4 release
* Sun Nov 05 2006 Eugene Ostapets <eostapets@altlinux.ru> 0.3.1.12-alt1
- Xfce 4.4rc2
* Mon Oct 30 2006 Eugene Ostapets <eostapets@altlinux.ru> 0.3.1.10rc1-alt2
- Fix buildreq and cleanup spec
* Sat Sep 30 2006 Eugene Ostapets <eostapets@altlinux.ru> 0.3.1.10rc1-alt1
- Xfce 4.4rc1
* Wed Oct 12 2005 Eugene Ostapets <eostapets@altlinux.ru> 0.3.0-alt2
- fix macro
* Sun Mar 20 2005 Andrey Astafiev <andrei@altlinux.ru> 0.3.0-alt1
- 0.3.0
* Sat Dec 25 2004 Andrey Astafiev <andrei@altlinux.ru> 0.2.0-alt1
- First version of RPM package for Sisyphus.