libart_lgpl.spec revision 10139
10139N/A#
10139N/A# spec file for package libart_lgpl
10139N/A#
20904N/A# Copyright (c) 2005 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
20895N/A# Owner: harrylu
10139N/A#
17180N/AName: libart_lgpl
18603N/ALicense: LGPL
17180N/AGroup: System/Libraries/GNOME
12285N/AVersion: 2.3.17
10139N/ARelease: 1
19980N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
20904N/ASummary: Libart is a library for high-performace 2D graphics
18905N/ASource: http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-%{version}.tar.bz2
10139N/ASource1: libart_lgpl_2.3.gz
18615N/AURL: http://www.levien.com/libart
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
20904N/ADocdir: %{_defaultdocdir}/doc
12285N/AAutoreqprov: on
12773N/APrereq: /sbin/ldconfig
12773N/A
12773N/A%description
18266N/ALibart is a library for high-performace 2d graphics. It
10139N/Ais currently being used as the anti-aliased rendering
10737N/Aengine for the GNOME Canvas.
11419N/A
17733N/A
10139N/A%package devel
13494N/ASummary: Libart is a library for high-performace 2D graphics
11419N/AGroup: System/Libraries/GNOME
11895N/ARequires: %{name} = %{version}
13494N/A
10737N/A%description devel
13494N/ALibart is a library for high-performace 2d graphics. It
15306N/Ais currently being used as the anti-aliased rendering
16081N/Aengine for the GNOME Canvas.
13494N/A
16081N/A%prep
16445N/A%setup -q
16081N/A
14281N/A
14127N/A%build
16081N/A%ifos linux
14281N/Aif [ -x /usr/bin/getconf ]; then
16445N/A CPUS=`getconf _NPROCESSORS_ONLN`
16081N/Afi
15756N/A%else
16139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16139N/A%endif
16139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16445N/A CPUS=1
16139N/Afi
16339N/A
16339N/Alibtoolize --force
16448N/Aaclocal $ACLOCAL_FLAGS -I .
16448N/Aautoheader
16622N/Aautomake -a -c -f
16620N/Aautoconf
16959N/A
16966N/ACFLAGS="$RPM_OPT_FLAGS" \
17275N/A./configure --prefix=%{_prefix}
17275N/Amake -j $CPUS
17345N/A
17345N/A%install
18486N/Amake install DESTDIR=$RPM_BUILD_ROOT
18486N/Ainstall -d $RPM_BUILD_ROOT/usr/share/man/man3
19926N/Ainstall --mode=0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/man/man3
19926N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
20127N/Arm $RPM_BUILD_ROOT%{_libdir}/*.a
20057N/A
20127N/A%clean
20127N/Arm -rf $RPM_BUILD_ROOT
20814N/A
20153N/A%files
20784N/A%defattr(-,root,root)
20904N/A%{_libdir}/*.so.*
20842N/A
10139N/A%files devel
10139N/A%defattr(-,root,root)
10139N/A%{_bindir}/libart2-config
10139N/A%{_libdir}/*.so
10139N/A%{_libdir}/pkgconfig/*.pc
10139N/A%{_includedir}/libart-2.0
10139N/A%{_mandir}/man3/*
10139N/A
10139N/A%changelog
10139N/A* Fri May 06 2005 - glynn.foster@sun.com
10139N/A- Bump to 2.3.17
10139N/A* Tue Aug 24 2004 - laca@sun.com
10139N/A- Added libart2-config back
10139N/A* Fri Aug 20 2004 - niall.power@sun.com
10139N/A- packaging fixes for rpm4
10139N/A* Wed Jul 07 2004 - dermot.mccluskey@sun.com
10139N/A- added "-j $CPUS" to make to speed up builds
10139N/A* Fri Feb 20 2004 - <matt.keenan@sun.com>
10139N/A- Update Distro
12285N/A* Fri Feb 06 2004 - <niall.power@sun.com>
12285N/A- small patch typo: missing "-"p1
12285N/A* Fri Feb 06 2004 - <niall.power@sun.com>
12285N/A- add patch for -uninstalled pkgconfig file
15811N/A- autotoolize
10139N/A* Fri Oct 06 2003 - <ghee.teo@sun.com>
13449N/A- Created Quicksilver build.
13494N/A* Thu Aug 14 2003 - <laca@sun.com>
13449N/A- move lib*.so to -devel, remove *.a, *.la
13494N/A* Sun Jul 26 2003 - <markmc@sun.com> 2.3.13
20784N/A- Initial spec file
20784N/A