From: Anas Nashif Date: Wed, 31 Oct 2012 02:53:20 +0000 (-0700) Subject: add packaging X-Git-Tag: accepted/trunk/20130205.192818~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2FlibXrender.git;a=commitdiff_plain;h=eed14901ec1037703c11f166bae1ac8330e1a337 add packaging --- diff --git a/packaging/libXrender.spec b/packaging/libXrender.spec new file mode 100644 index 0000000..563dadf --- /dev/null +++ b/packaging/libXrender.spec @@ -0,0 +1,58 @@ +Name: libXrender +Version: 0.9.7 +Release: 0 +License: MIT +Summary: X Rendering Extension library +Url: http://cgit.freedesktop.org/xorg/lib/libXrender/ +Group: Development/Libraries/C and C++ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXrender +Source: %{name}-%{version}.tar.bz2 +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(renderproto) >= 0.9 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xorg-macros) >= 1.8 + +%description +The Xrender library is designed as a lightweight library interface to +the Render extension. + +%package devel +Summary: Development files for the X11 Render Extension library +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +The Xrender library is designed as a lightweight library interface to +the Render extension. + +This package contains the development headers for the library found +in %{name}. + +%prep +%setup -q + +%build +%reconfigure --docdir=%_docdir/%{name} --disable-static +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libXrender.so.1* + +%files devel +%defattr(-,root,root) +%{_includedir}/X11/* +%{_libdir}/libXrender.so +%{_libdir}/pkgconfig/xrender.pc +%_docdir/%{name} + +%changelog