From b401a0a106b578df328b26c617414e9957993f09 Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Tue, 12 Jun 2012 17:15:19 -0700 Subject: [PATCH] Add packaging files for Tizen --- packaging/pixman.changes | 2 ++ packaging/pixman.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 packaging/pixman.changes create mode 100644 packaging/pixman.spec diff --git a/packaging/pixman.changes b/packaging/pixman.changes new file mode 100644 index 0000000..4573873 --- /dev/null +++ b/packaging/pixman.changes @@ -0,0 +1,2 @@ +* Wed Jun 12 2012 - Rusty Lynch - 0.27.1+1+c2230 +- Packaging snapshot of master diff --git a/packaging/pixman.spec b/packaging/pixman.spec new file mode 100644 index 0000000..d13a73c --- /dev/null +++ b/packaging/pixman.spec @@ -0,0 +1,51 @@ +Name: pixman +Summary: Pixel manipulation library +Version: 0.27.1+1+c2230 +Release: 1 +Group: System/Libraries +License: MIT +URL: http://www.x.org/ +Source0: %{name}-%{version}.tar.bz2 +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(libpng12) + +%description +Pixel manipulation library + +%package devel +Summary: Development components for the pixman library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Pixel manipulation library + +%prep +%setup -q -n %{name}-%{version} + +%build + +%reconfigure +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%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.7.4