Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > e57e3f8c37a687feb4b398821fee6380 > files > 2

pangox-compat-0.0.2-2.mga3.src.rpm

%define api_version     1.0
%define lib_major       0
%define lib_name        %mklibname pangox %{api_version} %{lib_major}
%define libnamedev      %mklibname -d pangox

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

Summary:        Compatibility library providing the obsolete pangox library
Name:           pangox-compat
Version:        0.0.2
Release:        %mkrel 2
License:        LGPLv2+
Group:          System/Internationalization
URL:            http://www.pango.org/
BuildRequires: pkgconfig(glib-2.0) >= 2.31.0
BuildRequires: pkgconfig(gmodule-no-export-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(x11)
Source0:        http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
Conflicts:	pango < 1.32.0

%description
This is a compatibility library providing the obsolete pangox library
that is not shipped by Pango itself anymore.

%package -n %{lib_name} 
Summary:        %{summary}
Group:          %{group}
Conflicts:	%{_lib}pango1.0_0 < 1.32.0

%description -n %{lib_name}
This is a compatibility library providing the obsolete pangox library
that is not shipped by Pango itself anymore.

%package -n %{libnamedev}
Summary:        %{summary}
Group:          Development/GNOME and GTK+
Requires:	%{lib_name} = %{version}
Provides:	%{name}-devel = %{version}-%{release}
Conflicts:	%{_lib}pango1.0-devel < 1.32.0

%description -n %{libnamedev}
This package includes the static libraries and header files
for the pangox package.

%prep
%setup -q

%build
%configure2_5x --disable-static
%make

%install
%makeinstall_std

# remove unpackaged files
find %{buildroot} -name *.la | xargs rm

%files
%config(noreplace) %{_sysconfdir}/pango/pangox.aliases

%files -n %{lib_name}
%{_libdir}/libpangox-%{api_version}.so.%{lib_major}*

%files -n %{libnamedev}
%{_libdir}/libpangox-%{api_version}.so
%{_libdir}/pkgconfig/*
%{_includedir}/*


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.0.2-2.mga3
+ Revision: 362385
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Oct 18 2012 ovitters <ovitters> 0.0.2-1.mga3
+ Revision: 307798
- new version 0.0.2

* Fri Sep 28 2012 fwang <fwang> 0.0.1-1.mga3
+ Revision: 298865
- update file list
- imported package pangox-compat