From eed14901ec1037703c11f166bae1ac8330e1a337 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 30 Oct 2012 19:53:20 -0700 Subject: [PATCH] add packaging --- packaging/libXrender.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 packaging/libXrender.spec 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 -- 2.7.4