Sophie

Sophie

distrib > Arklinux > devel > i586 > media > main-src > by-pkgid > ea1dbab89f619eb2d61411cd5286f2b0 > files > 2

pango-1.28.0-1ark.src.rpm

%define glib_version 2.6.0
%define pkgconfig_version 0.12
%define freetype_version 2.1.2
%define fontconfig_version 1.0.1

Summary:            System for layout and rendering of internationalized text.
Name:               pango
Version:            1.28.0
Release:            1ark
License:            LGPL
Group:              Deprecated/System/Libraries
Source:             http://ftp.acc.umu.se/pub/GNOME/sources/pango/1.28/%{name}-%{version}.tar.bz2
URL:                http://www.pango.org
BuildRequires:      glib-devel >= %{glib_version}
BuildRequires:      pkgconfig >= %{pkgconfig_version}
BuildRequires:      freetype-devel >= %{freetype_version}
BuildRequires:      fontconfig-devel >= %{fontconfig_version}
BuildRequires:      xorg-devel
BuildRequires:      cairo-devel >= 1.8.0
BuildRequires:      zlib-devel
BuildRoot:          %{_tmppath}/%{name}-root

%description
Pango is a system for layout and rendering of internationalized text.

This package is deprecated and may disappear in the future. New applications
should use Qt, which includes a better text rendering library.

%package devel
Summary:            System for layout and rendering of internationalized text.
Group:              Deprecated/Development/Libraries/C
Requires:           %{name} = %{version}-%{release}
Requires:           xorg-devel
Requires:           glib-devel >= %{glib_version}
Requires:           freetype-devel >= %{freetype_version}
Requires:           fontconfig-devel >= %{fontconfig_version}

%description devel
The pango-devel package includes the header files
and developer docs for the pango package.

Install pango-devel if you want to develop programs which will use
pango.

This package is deprecated and may disappear in the future. New applications
should use Qt, which includes a better text rendering library.

%package cairo
Summary: %name support for writing to the Cairo graphics renderer
Group: Deprecated/System/Libraries
Requires: %name = %version-%release

%description cairo
%name support for writing to the Cairo graphics renderer

%prep
%setup -q
libtoolize --force
aclocal
autoheader
automake -a
autoconf

find . -name "*.m4" | xargs fixm4

%build
%configure --disable-gtk-doc
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make DESTDIR="$RPM_BUILD_ROOT" install
# hack to make pango.modules reappear
touch %{buildroot}/etc/pango/pango.modules

PANGOXFT_SO=$RPM_BUILD_ROOT%{_libdir}/libpangoxft-1.0.so
if ! test -e $PANGOXFT_SO; then
        echo "$PANGOXFT_SO not found; did not build with Xft support?"
        ls $RPM_BUILD_ROOT%{_libdir}
        exit 1
fi

# nuke unwanted file
rm -rf $RPM_BUILD_ROOT%{_bindir}/pango-view

%clean
rm -rf %{buildroot}

%post
/sbin/ldconfig
%{_bindir}/pango-querymodules > /etc/pango/pango.modules

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%doc README AUTHORS COPYING ChangeLog TODO
%doc examples/HELLO.utf8
%_libdir/libpango-*.so*
%_libdir/libpangoft2-*.so*
%_libdir/libpangox-*.so*
%_libdir/libpangoxft-*.so*
%_libdir/pango
%_bindir/pango-querymodules
%dir %_sysconfdir/pango
%config %_sysconfdir/pango/pangox.aliases
%ghost %_sysconfdir/pango/pango.modules

%files devel
%defattr(-, root, root)
%doc docs/TEXT docs/xml docs/html
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%{_datadir}/gtk-doc
%{_mandir}/man1/*

%files cairo
%defattr(-, root, root)
%_libdir/libpangocairo*.so*

%changelog
* Mon Jun 14 2010 Bernhard Rosenkraenzer <bero@arklinux.org> 1.28.0-1ark
- 1.28.0

* Thu Dec 25 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 1.22.4-1ark
- 1.22.4

* Sat Sep 13 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 1.20.5-1ark
- 1.20.5

* Sat Feb  2 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 1.18.4-1ark
- 1.18.4
- Split cairo support into a separate package to avoid
  SDL_Pango -> pango -> cairo dependency -- SDL applications don't use
  cairo

* Wed May  2 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 1.16.4-1ark
- 1.16.4
- Add deprecation notice

* Fri Aug 18 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 1.14.0-1ark
- Rebuild to get rid of libfreetype.la mess
- Remove libtool files
- Move the .so file where it belongs
- Update while at it

* Fri Feb 17 2006 Logan Rathbone <logan.rathbone@utoronto.ca> 1.11.5
- 1.11.5 (GNOME 2.13.91)
- Change Group name

* Sun Jan 15 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 1.10.2-1ark
- Make it build on x86_64
- Make it build with X11R7
- Remove some extremely broken packaging hacks, running ldconfig from
  spec files and setting LD_LIBRARY_PATH is EVIL
- 1.10.2

* Tue Oct 11 2005 Logan Rathbone <logan.rathbone@utoronto.ca> 1.10.1-2ark
- Gah!  It didn't build with Xft last time!  Workaround
- Put in a test to make sure that doesn't happen again

* Mon Oct 10 2005 Logan Rathbone <logan.rathbone@utoronto.ca> 1.10.1-1ark
- 1.10.1

* Wed Sep 14 2005 Logan Rathbone <logan.rathbone@utoronto.ca> 1.10.0-2ark
- Rebuild with cairo

* Wed Sep 14 2005 Logan Rathbone <logan.rathbone@utoronto.ca> 1.10.0-1ark
- 1.10.0
- Own %%_datadir/gtk-doc

* Wed Apr 06 2005 Logan Rathbone <logan.rathbone@utoronto.ca> 1.8.1-1ark
- 1.8.1

* Sun Jan 23 2005 David Tio <deux@arklinux.org> 1.8.0-1ark
- 1.8.0

* Tue Jun 15 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.4.0-7ark
- Rebuild to pick up new libXft soname

* Sun Mar 28 2004 Ark Linux Team <arklinux@arklinux.org> 1.4.0-6ark
- automated rebuild

* Wed Mar 24 2004 Natasha Sainty <natasha@arklinux.org> 1.4.0-5ark
- ok, so clearly pango.modules _is_ needed

* Wed Mar 24 2004 Natasha Sainty <natasha@arklinux.org> 1.4.0-4ark
- really fix library paths (added DESTDIR to makeinstall step)
- removed pango.modules (do we need this?!??!)

* Tue Mar 23 2004 Gary Greene <greeneg@arklinux.org> 1.4.0-3ark
- Fix it so the devel package is able to find the modules.

* Mon Mar 22 2004 Ark Linux Team <arklinux@arklinux.org> 1.4.0-2ark
- automated rebuild

* Mon Mar 22 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.4.0-1ark
- Fix broken m4 scripts
- 1.4.0

* Fri Mar 12 2004 David Tio <deux@arklinux.org> 1.3.6-1ark
- 1.3.6

* Sun Feb 15 2004 David Tio <deux@arklinux.org> 1.3.2-5ark
- added evil Xft2 patches

* Wed Oct 01 2003 Tio Hiap Ho <deux@arklinux.org> 1.2.5-2ark
- rebuilt with new glib

* Thu Aug 28 2003 Tio Hiap Ho <deux@arklinux.org> 1.2.5-1ark
- 1.2.5

* Tue Aug 26 2003 Tio Hiap Ho <deux@arklinux.org> 1.2.3-1ark
- 1.2.3

* Fri Feb 14 2003 Sergio Visinoni <piffio@arklinux.org> 1.2.1-3ark
- I've always hated  Valentine's day...

* Fri Feb 14 2003 Sergio Visinoni <piffio@arklinux.org> 1.2.1-2ark
- Add PreReq

* Fri Feb 07 2003 Sergio Visinoni <piffio@arklinux.org> 1.2.1-1ark
- 1.2.1
- Clean up spec file

* Fri Nov 22 2002 Sergio Visinoni <piffio@arklinux.org> 1.1.3-3ark
- Clean up spec and rebuild

* Fri Nov 22 2002 Ark Linux Team <arklinux@arklinux.org> 1.1.3-2ark
- automated rebuild

* Tue Nov 19 2002 Sergio Visinoni <piffio@arklinux.org> 1.1.3-1ark
- 1.1.3

* Tue Sep 03 2002 Sergio Visinoni <piffio@arklinux.org> 1.1.0-5ark
- Version 1.1.0
- Remove automake-1.4 dependency