From 16206909986c7084e219918fab2ec6a5b09c6b1c Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 30 Oct 2012 20:26:24 -0700 Subject: [PATCH] packaging: Intial packaging Change-Id: I1ccaecc47000220da03121336c79baded3630532 Signed-off-by: Philippe Coval --- packaging/pixman.spec | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 packaging/pixman.spec diff --git a/packaging/pixman.spec b/packaging/pixman.spec new file mode 100644 index 0000000..e5c4edf --- /dev/null +++ b/packaging/pixman.spec @@ -0,0 +1,52 @@ +#sbs-git:slp/pkgs/p/pixman pixman 0.26.0 67eba3516f06fef40915917d7396b68108ee6316 + +Name: pixman +Version: 0.26.0 +Release: 3 +License: MIT +Summary: Pixel manipulation library +Url: http://www.x.org/ +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +BuildRequires: pkgconfig(libpng12) +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +Pixel manipulation library + +%package devel +Summary: Development components for the pixman library +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Pixel manipulation library + +%prep +%setup -q + +%build + +%reconfigure --disable-arm-iwmmxt +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/libpixman-1*.so.* + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/pixman-1 +%{_includedir}/pixman-1/pixman.h +%{_includedir}/pixman-1/pixman-version.h +%{_libdir}/libpixman-1*.so +%{_libdir}/pkgconfig/pixman-1.pc + -- 2.34.1