From b12bea362bd79a5774b77304c0cea32c92181f7a Mon Sep 17 00:00:00 2001 From: guibuilder_pel7x64builder0 Date: Wed, 28 Nov 2018 12:33:16 +0100 Subject: [PATCH] pangox-compat package creation Signed-off-by: guibuilder_pel7x64builder0 --- SPECS/pangox-compat.spec | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 SPECS/pangox-compat.spec diff --git a/SPECS/pangox-compat.spec b/SPECS/pangox-compat.spec new file mode 100644 index 0000000..29ca286 --- /dev/null +++ b/SPECS/pangox-compat.spec @@ -0,0 +1,61 @@ +Name: pangox-compat +Version: 0.0.2 +Release: 2%{?dist} +Summary: Compatibility library for pangox + +License: LGPLv2+ +URL: http://ftp.gnome.org/pub/GNOME/sources/pangox-compat/0.0/ +Source0: http://ftp.gnome.org/pub/GNOME/sources/pangox-compat/0.0/%{name}-%{version}.tar.xz + +BuildRequires: pango-devel + +%description +This is a compatibility library providing the obsolete pangox library +that is not shipped by Pango itself anymore. + +%package devel +Summary: Development files for pangox-compat +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc README COPYING NEWS AUTHORS +%{_libdir}/libpango*-*.so.* +%dir %{_sysconfdir}/pango +%config %{_sysconfdir}/pango/pangox.aliases + +%files devel +%{_libdir}/libpango*.so +%{_includedir}/* +%{_libdir}/pkgconfig/* + +%changelog +* Tue Feb 05 2013 Parag Nemade - 0.0.2-2 +- Resolves:rh#907552 - unowned directory /etc/pango after pangox-compat installation + +* Fri Nov 09 2012 Kalev Lember - 0.0.2-1 +- Update to 0.0.2 + +* Tue Aug 28 2012 Parag Nemade - 0.0.1-1 +- Initial package