libpixman/libpixman.spec

Name: libpixman
Summary: Merge of libpixregion and libic
Version: 0.1.6
Release: 1
License: MIT
Group: System Environment/Libraries
URL: http://www.cairographics.org/
Description: libpixman is a merge of libpixregion and libic.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag


%{?el4:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}

Summary: Merge of libpixregion and libic
Name: libpixman
Version: 0.1.6
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.cairographics.org/

Source: http://www.cairographics.org/snapshots/libpixman-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: pkgconfig, gcc-c++
Obsoletes: slim, libic, libpixregion

%description
libpixman is a merge of libpixregion and libic.

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libpixman-devel
%{?_without_modxorg:Requires: XFree86-devel}
%{!?_without_modxorg:Requires: libX11-devel}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING NEWS README
%{_libdir}/libpixman.so.*

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/pixman.h
%{_libdir}/libpixman.a
%exclude %{_libdir}/libpixman.la
%{_libdir}/libpixman.so
%{_libdir}/pkgconfig/libpixman.pc

%changelog
* Thu May 31 2007 Dag Wieers <dag@wieers.com> - 0.1.6-1
- Updated to release 0.1.6.
- Fixed static dependency to XFree86-devel.

* Sun Jan 02 2005 Dag Wieers <dag@wieers.com> - 0.1.2-1
- Updated to release 0.1.2.

* Sun Jul 25 2004 Dag Wieers <dag@wieers.com> - 0.1.1-1
- Updated to release 0.1.1.

* Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 0.1.0-0
- Initial package. (using DAR)