Sophie

Sophie

distrib > Mageia > 6 > armv7hl > by-pkgid > 9ef4de513101452edaab7a926172abb9 > files > 5

exo-0.10.7-3.mga6.src.rpm

%define url_ver %(echo %{version} | cut -d. -f1,2)

%define major		0
%define api		1
%define libname		%mklibname %{name} %{api} %{major}
%define develname	%mklibname %{name} -d

Summary:	An extension library to Xfce desktop environment
Name:		exo
Version:	0.10.7
Release:	%mkrel 3
License:	GPLv2+
Group:		System/Libraries
URL:		http://www.xfce.org
Source:		http://archive.xfce.org/src/xfce/exo/%{url_ver}/%{name}-%{version}.tar.bz2
# Mageia patches:
Patch10:	exo-0.10.2-fix-chromium-helper.patch
Patch11:	exo-0.10.2-add-firefox-beta-helper.patch
Patch13:	exo-0.10.2-add-google-chrome-helper.patch
BuildRequires:	perl-URI
BuildRequires:	pkgconfig(gtk+-2.0)
BuildRequires:	pkgconfig(libxfce4util-1.0) >= 4.9.0
BuildRequires:	pkgconfig(libxfce4ui-1) >= 4.9.0
BuildRequires:	intltool
BuildRequires:	xfce4-dev-tools

%description
This is libexo, an extension library to Xfce, developed by os-cillation.
While Xfce comes with quite a few libraries that are targeted at
desktop development, libexo is targeted at application development.

%package -n %{libname}
Summary:	An extension library to Xfce
Group:		System/Libraries
Requires:	%{name} >= %{version}-%{release}
#Added 01/2012 (wally)
Obsoletes:	%{_lib}%{name}-1_0 < 0.7.0

%description -n %{libname}
Main library for the libexo.

%package -n %{develname}
Summary:	Headers, static libraries and documentation for libexo
Group:		Development/C
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Provides:	lib%{name}-devel = %{version}-%{release}
Obsoletes:	%{_lib}exo1_0-devel
Conflicts:	%{name} < 0.7.0

%description -n %{develname}
Headers, static libraries and documentation for libexo.

%prep
%autosetup -p1

#fix icon
sed -i -e 's,\(Icon=\).*,\1emblem-mail,' exo-open/exo-mail-reader.desktop.in

%build
%xdt_autogen
%configure2_5x \
	--disable-static
%make

%install
%makeinstall_std

# (tpg) already in %{_real_vendor}-xfce-config package
rm -rf %{buildroot}%{_sysconfdir}/xdg/xfce4/helpers.rc

# don't ship .la
find %{buildroot} -name "*.la" -delete

%find_lang %{name}-%{api}

%files -f %{name}-%{api}.lang
%doc AUTHORS README ChangeLog TODO
%{_bindir}/exo*
%dir %{_libdir}/xfce4/%{name}-%{api}/
%{_libdir}/xfce4/%{name}-%{api}/exo-helper-%{api}
%{_libdir}/xfce4/%{name}-%{api}/exo-compose-mail-%{api}
%{_datadir}/applications/*.desktop
%{_datadir}/xfce4/helpers/*.desktop
%{_iconsdir}/hicolor/*/*/*.png
%{_mandir}/man1/exo*
%dir %{_datadir}/pixmaps/exo-%{api}/
%{_datadir}/pixmaps/exo-%{api}/exo-thumbnail-frame.png

%files -n %{libname}
%{_libdir}/lib%{name}-%{api}.so.%{major}{,.*}

%files -n %{develname}
%doc %{_datadir}/gtk-doc/html/%{name}-%{api}/
%{_libdir}/lib%{name}-%{api}.so
%{_libdir}/pkgconfig/%{name}-%{api}.pc
%{_includedir}/*


%changelog
* Fri Feb 12 2016 wally <wally> 0.10.7-3.mga6
+ Revision: 958502
- fix missing mail reader icon in menus when Adwaita icon theme is used (mga#17733)

* Sun Sep 27 2015 wally <wally> 0.10.7-2.mga6
+ Revision: 884246
- add exo-helper for Google Chrome

* Mon Sep 14 2015 wally <wally> 0.10.7-1.mga6
+ Revision: 879302
- new version 0.10.7
- drop escaped URI patch (fixed in upstream)

* Tue Aug 25 2015 wally <wally> 0.10.6-2.mga6
+ Revision: 869348
- add patch from upstream bugzilla to fix exo-open failure with url encoded file paths (xfce#12017, rhbz#1246383)

* Sat Jun 20 2015 wally <wally> 0.10.6-1.mga6
+ Revision: 836266
- new version 0.10.6

* Tue Mar 03 2015 wally <wally> 0.10.3-1.mga5
+ Revision: 817393
- new version 0.10.3
- drop patches from upstream
- quote firefox-beta helper parameter

* Thu Feb 05 2015 wally <wally> 0.10.2-12.mga5
+ Revision: 813570
- add patch from upstream bugzilla to update mimeapps.list location for glib >= 2.41 (xfce#11504)

* Mon Jan 26 2015 wally <wally> 0.10.2-11.mga5
+ Revision: 812368
- remove openURL() call from firefox-beta helper

* Sat Jan 03 2015 wally <wally> 0.10.2-10.mga5
+ Revision: 808271
- add patch to add firefox-beta entry to exo-preferred-applications

* Fri Oct 17 2014 luigiwalser <luigiwalser> 0.10.2-9.mga5
+ Revision: 769645
- add missing BR perl-URI

  + umeabot <umeabot>
    - Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.10.2-7.mga5
+ Revision: 679063
- Mageia 5 Mass Rebuild

* Tue Feb 04 2014 wally <wally> 0.10.2-6.mga5
+ Revision: 581607
- add patch to fix chromium icon in exo-preferred applications (mga#12575)

* Sat Oct 19 2013 umeabot <umeabot> 0.10.2-5.mga4
+ Revision: 523609
- Mageia 4 Mass Rebuild

* Thu May 23 2013 wally <wally> 0.10.2-4.mga4
+ Revision: 425176
- add patch from upstream git to fix URI handling (xfce#10098)

* Fri Jan 11 2013 umeabot <umeabot> 0.10.2-3.mga3
+ Revision: 349868
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Jan 03 2013 wally <wally> 0.10.2-2.mga3
+ Revision: 338288
- fix file list after %%_libexecdir change
- own some unowned dirs

* Thu Dec 27 2012 wally <wally> 0.10.2-1.mga3
+ Revision: 335697
- new version 0.10.2

* Sun Dec 09 2012 wally <wally> 0.10.1-1.mga3
+ Revision: 329088
- new version 0.10.1

* Mon Dec 03 2012 wally <wally> 0.10.0-1.mga3
+ Revision: 325978
- new version 0.10.0

* Sat Nov 10 2012 wally <wally> 0.9.1-1.mga3
+ Revision: 316888
- new version 0.9.1
- drop patches from upstream

* Sat Nov 10 2012 wally <wally> 0.9.0-2.mga3
+ Revision: 316842
- add patches from upstream
  * protect against null value (xfce#9418)
  * two build fixes with newer glib
- clean .spec a bit

* Sun Oct 14 2012 wally <wally> 0.9.0-1.mga3
+ Revision: 305443
- new version 0.9.0

* Mon May 28 2012 wally <wally> 0.8.0-1.mga3
+ Revision: 248460
- new version 0.8.0
- clean .spec

* Mon Feb 13 2012 wally <wally> 0.7.1-1.mga2
+ Revision: 208452
- remove unregistered value from .desktop files
- new version 0.7.1

* Tue Jan 03 2012 wally <wally> 0.7.0-1.mga2
+ Revision: 190010
- new version 0.7.0
- drop unused patches
- fix lib pkg name
- drop python subpkg
- clean BRs
- move docs to devel pkg and don't regenerate them on build time
- clean .spec a bit

* Tue Jun 21 2011 ahmad <ahmad> 0.6.2-1.mga2
+ Revision: 111222
- Update to 0.6.2
- Drop BR hal-devel, not used any more AFAICS
- Update the file list

* Thu Jan 27 2011 ahmad <ahmad> 0.6.0-2.mga1
+ Revision: 41628
- drop old unneeded scriptlets
- don't ship .a
- replace %%py_requires -d with python-devel
- imported package exo