libpango/libpango.spec

377 lines
13 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f 1-2)
%define libver 1.0
%define modulesver 1.8.0
%ifarch x86_64
%define arch_suffix -64
%else
%define arch_suffix -32
%endif
Name: libpango
Version: 1.36.8
Release: 3mamba
Summary: System for layout and rendering of internationalized text
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.pango.org
# bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname}
Source: http://ftp.gnome.org/pub/GNOME/sources/pango/%{majver}/pango-%{version}.tar.xz
Patch0: libpango-1.36.8-lib64.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXft-devel
BuildRequires: libXrender-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpng-devel
BuildRequires: libthai-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%if "%{stage1}" != "1"
BuildRequires: gobject-introspection-devel
%endif
BuildRequires: libfontconfig-devel >= 2.10.91
Obsoletes: pango
Provides: pango = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
#checking Carbon/Carbon.h usability... no
#checking Carbon/Carbon.h presence... no
#checking for Carbon/Carbon.h... no
#checking for LIBTHAI... no
%description
A library to handle unicode strings as well as complex bidirectional or context dependent shaped strings.
It is the next step on Gtk+ internationalization.
%package devel
Summary: %{summary}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libdrm-devel
Requires: dri2proto-devel
Obsoletes: pango-devel
Provides: pango-devel = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The pango-devel package includes the static libraries and header files for the pango package.
This package contains static libraries and header files need for development.
%package apidocs
Summary: %{pkgname} API documentation
Group: Documentation
Requires: gtk-doc
%description apidocs
%{pkgname} API documentation.
%prep
%setup -q -n pango-%{version}
%patch0 -p1
%build
# for patch0
autoreconf -f -i
%configure \
--program-suffix=%{arch_suffix} \
%if "%{stage1}" == "1"
--enable-introspection=no
%endif
# --enable-gtk-doc warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -d -m0755 %{buildroot}%{_sysconfdir}/pango
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%posttrans
if [ $1 -ge 1 ]; then
mkdir -p %{_sysconfdir}/pango/%{_target_platform}
%{_bindir}/pango-querymodules%{arch_suffix} > %{_sysconfdir}/pango/%{_target_platform}/pango.modules
%ifnarch x86_64
if [ ! -e /usr/bin/pango-querymodules-64 ]; then
%endif
ln -snf pango-querymodules%{arch_suffix} %{_bindir}/pango-querymodules
ln -snf pango-view%{arch_suffix} %{_bindir}/pango-view
%ifnarch x86_64
fi
%endif
fi
# legacy cleanups
rm -f /etc/pango/pango.modules
rm -f /etc/pango/i686-pc-linux-gnu/pango.modules
rmdir /etc/pango/i686-pc-linux-gnu
exit 0
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/pango
%{_bindir}/pango-querymodules%{arch_suffix}
%{_bindir}/pango-view%{arch_suffix}
%{_libdir}/libpango-%{libver}.so.*
%{_libdir}/libpangocairo-%{libver}.so.*
%{_libdir}/libpangoft2-%{libver}.so.*
#%{_libdir}/libpangox-%{libver}.so.*
%{_libdir}/libpangoxft-%{libver}.*
%{_libdir}/pango/%{modulesver}/modules/*.la
%{_libdir}/pango/%{modulesver}/modules/*.so
%if "%{stage1}" != "1"
%{_libdir}/girepository-1.0/Pango*.typelib
%endif
%{_mandir}/man1/pango-querymodules%{arch_suffix}.1*
%{_mandir}/man1/pango-view%{arch_suffix}.1*
#%{_mandir}/man1/preload.1.gz
%doc AUTHORS ChangeLog
%files devel
%defattr(-,root,root)
%{_includedir}/pango-%{libver}/pango/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libpango-%{libver}.la
%{_libdir}/libpangocairo-%{libver}.la
%{_libdir}/libpangoft2-%{libver}.la
#%{_libdir}/libpangox-%{libver}.la
%{_libdir}/libpango-%{libver}.so
%{_libdir}/libpangocairo-%{libver}.so
%{_libdir}/libpangoft2-%{libver}.so
#%{_libdir}/libpangox-%{libver}.so
%{_datadir}/gir-1.0/Pango*.gir
#%doc COPYING NEWS README
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/pango
%{_datadir}/gtk-doc/html/pango/*
%changelog
* Tue Mar 31 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.8-3mamba
- add patch to support biarch configuration
* Thu Mar 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.8-2mamba
- executable and configuration support for biarch environment
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 1.36.8-1mamba
- automatic version update by autodist
* Thu Sep 04 2014 Automatic Build System <autodist@mambasoft.it> 1.36.7-1mamba
- automatic version update by autodist
* Sun Aug 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.6-2mamba
- move %{_datadir}/gir-1.0/Pango*.gir to -devel package
* Sat Aug 16 2014 Automatic Build System <autodist@mambasoft.it> 1.36.6-1mamba
- automatic version update by autodist
* Tue Jun 24 2014 Automatic Build System <autodist@mambasoft.it> 1.36.5-1mamba
- automatic version update by autodist
* Tue Mar 18 2014 Automatic Build System <autodist@mambasoft.it> 1.36.3-1mamba
- automatic version update by autodist
* Wed Feb 05 2014 Automatic Build System <autodist@mambasoft.it> 1.36.2-1mamba
- automatic version update by autodist
* Mon Nov 11 2013 Automatic Build System <autodist@mambasoft.it> 1.36.1-1mamba
- automatic version update by autodist
* Mon Oct 07 2013 Automatic Build System <autodist@mambasoft.it> 1.36.0-1mamba
- automatic version update by autodist
* Sat Sep 07 2013 Automatic Build System <autodist@mambasoft.it> 1.35.3-1mamba
- automatic update by autodist
* Wed Aug 21 2013 Automatic Build System <autodist@mambasoft.it> 1.35.2-1mamba
- automatic update by autodist
* Fri Jun 21 2013 Automatic Build System <autodist@mambasoft.it> 1.35.0-1mamba
- automatic version update by autodist
* Mon May 13 2013 Automatic Build System <autodist@mambasoft.it> 1.34.1-1mamba
- automatic version update by autodist
* Tue Mar 26 2013 Automatic Build System <autodist@mambasoft.it> 1.34.0-1mamba
- automatic version update by autodist
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 1.33.9-1mamba
- automatic version update by autodist
* Sat Mar 09 2013 Automatic Build System <autodist@mambasoft.it> 1.33.8-1mamba
- automatic version update by autodist
* Mon Feb 25 2013 Automatic Build System <autodist@mambasoft.it> 1.33.7-1mamba
- automatic version update by autodist
* Tue Dec 18 2012 Automatic Build System <autodist@mambasoft.it> 1.32.5-1mamba
- automatic version update by autodist
* Fri Dec 07 2012 Automatic Build System <autodist@mambasoft.it> 1.32.4-1mamba
- automatic version update by autodist
* Sun Dec 02 2012 Automatic Build System <autodist@mambasoft.it> 1.32.3-1mamba
- automatic version update by autodist
* Wed Nov 14 2012 Automatic Build System <autodist@mambasoft.it> 1.32.2-1mamba
- automatic version update by autodist
* Fri Oct 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.32.1-2mamba
- package %{_sysconfdir}/pango directory removed since previous release
* Wed Oct 10 2012 Automatic Build System <autodist@mambasoft.it> 1.32.1-1mamba
- automatic version update by autodist
* Sun Jul 29 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.30.1-2mamba
- move introspection files from -devel to main package
* Tue Jun 05 2012 Automatic Build System <autodist@mambasoft.it> 1.30.1-1mamba
- automatic version update by autodist
* Fri May 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.30.0-2mamba
- libpango-devel: require dri2proto-devel and libdrm-devel
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 1.30.0-1mamba
- update to 1.30.0
* Wed Nov 23 2011 Automatic Build System <autodist@mambasoft.it> 1.29.5-1mamba
- automatic version update by autodist
* Wed Sep 28 2011 Automatic Build System <autodist@mambasoft.it> 1.29.4-1mamba
- automatic version update by autodist
* Wed Sep 28 2011 Automatic Build System <autodist@mambasoft.it> 1.29.3-1mamba
- automatic version update by autodist
* Tue Apr 05 2011 Automatic Build System <autodist@mambasoft.it> 1.28.4-1mamba
- automatic update by autodist
* Mon Oct 04 2010 Automatic Build System <autodist@mambasoft.it> 1.28.3-1mamba
- automatic update to 1.28.3 by autodist
* Mon Oct 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.2-2mamba
- rebuilt with gobject-introspection 0.9.10 as required by libgtk 2.22
* Tue Sep 28 2010 Automatic Build System <autodist@mambasoft.it> 1.28.2-1mamba
- automatic update to 1.28.2 by autodist
* Fri Jul 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.1-3mamba
- rebuilt with libpng 1.4
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 1.28.1-2mamba
- automatic rebuild by autodist
* Tue Jun 15 2010 Automatic Build System <autodist@mambasoft.it> 1.28.1-1mamba
- automatic update to 1.28.1 by autodist
* Sat May 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.0-1mamba
- update to 1.28.0
* Sat Sep 26 2009 Automatic Build System <autodist@mambasoft.it> 1.26.0-1mamba
- automatic update to 1.26.0 by autodist
* Wed Jul 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24.5-2mamba
- posttrans script: run ldconfig before pango-querymodules
* Tue Jul 21 2009 Automatic Build System <autodist@mambasoft.it> 1.24.5-1mamba
- automatic update by autodist
* Wed Jul 15 2009 Automatic Build System <autodist@mambasoft.it> 1.24.4-1mamba
- automatic update by autodist
* Mon Jun 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24.3-1mamba
- update to 1.24.3
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 1.22.4-2mamba
- automatic rebuild by autodist
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.4-1mamba
- automatic update by autodist
* Mon Dec 01 2008 gil <puntogil@libero.it> 1.22.3-1mamba
- update to 1.22.3
* Mon Jun 02 2008 gil <puntogil@libero.it> 1.21.1-1mamba
- update to 1.21.1
* Wed Oct 24 2007 Aleph0 <aleph0@openmamba.org> 1.18.3-1mamba
- update to 1.18.3
* Wed Sep 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.2-1mamba
- update to 1.18.2
* Tue Apr 10 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 1.16.1-1mamba
- update to version 1.16.1
* Fri Jan 05 2007 Aleph0 <aleph0@openmamba.org> 1.14.8-2qilnx
- new subpackage apidocs with API documentation
* Wed Jan 03 2007 Aleph0 <aleph0@openmamba.org> 1.14.8-1qilnx
- update to version 1.14.8 by autospec
- updated specfile to permit automatic building
- added missing build requirements
* Mon Jun 19 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.10.4-1qilnx
- update to version 1.10.4 by autospec
* Fri Mar 03 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.10.2-2qilnx
- added missing build requirement
* Mon Dec 12 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.2-1qilnx
- update to version 1.10.2 by autospec
* Wed Sep 14 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.10.0-1qilnx
- update to version 1.10.0 by autospec
* Mon Aug 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.8.2-1qilnx
- update to version 1.8.2 by autospec
* Mon Dec 20 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-1qilnx
- update to version 1.8.0 by autospec
* Tue Oct 12 2004 Massimo Pintore <massimo.pintore@qilinux.it> 1.6.0-1qilnx
- update to version 1.6.0 by autospec
- source renamed to libpango
* Tue Jun 22 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-3qilnx
- fixed obsolete statement of pango
* Tue Jun 22 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2qilnx
- added creation of pango.modules
* Tue Jun 22 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1qilnx
- new version build
* Tue Dec 30 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.3.1-1qilnx
- new version rebuild (recreated after previous source RPM loss from repository)
* Fri Jun 13 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.2.1-3qilnx
- fixed configuration files location
* Fri Jun 13 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.2.1-2qilnx
- added ldconfig execution
* Fri Jun 06 2003 Alessandro Ramazzina <alessandro.ramazzina@qinet.it> 1.2.1-1qilnx
- creation of pango package