Group :: System/Legacy libraries
RPM: libpangox-compat
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _name pangox-compat
%define ver_major 0.0
Name: lib%_name
Version: %ver_major.2
Release: alt2
Summary: Obsolete pangox library
License: LGPL-2.0+
Group: System/Libraries
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz
Patch1: 0002-disable-shaper.patch
Conflicts: libpango < 1.32.0
%define glib_ver 2.31
BuildPreReq: glib2-devel >= %glib_ver
BuildRequires: libpango-devel libX11-devel
%description
This is a compatibility library providing the obsolete pangox library
that is not shipped by Pango itself anymore.
%package devel
Summary: Libraries and include files for developing with %_name
Group: Development/C
Requires: %name = %version-%release
Conflicts: libpango-devel < 1.32.0
%description devel
This package provides the necessary development libraries and include
files to develop with %_name.
%prep
%setup -n %_name-%version
%patch1 -p1
%build
%configure --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
%make_build
%install
%makeinstall_std
%check
%make check
%files
%_libdir/*.so.*
%files devel
%_sysconfdir/pango/pangox.aliases
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%changelog
…
Full changelog you can see here
%define ver_major 0.0
Name: lib%_name
Version: %ver_major.2
Release: alt2
Summary: Obsolete pangox library
License: LGPL-2.0+
Group: System/Libraries
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz
Patch1: 0002-disable-shaper.patch
Conflicts: libpango < 1.32.0
%define glib_ver 2.31
BuildPreReq: glib2-devel >= %glib_ver
BuildRequires: libpango-devel libX11-devel
%description
This is a compatibility library providing the obsolete pangox library
that is not shipped by Pango itself anymore.
%package devel
Summary: Libraries and include files for developing with %_name
Group: Development/C
Requires: %name = %version-%release
Conflicts: libpango-devel < 1.32.0
%description devel
This package provides the necessary development libraries and include
files to develop with %_name.
%prep
%setup -n %_name-%version
%patch1 -p1
%build
%configure --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
%make_build
%install
%makeinstall_std
%check
%make check
%files
%_libdir/*.so.*
%files devel
%_sysconfdir/pango/pangox.aliases
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%changelog
…
Full changelog you can see here