add packaging
authorAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 02:53:20 +0000 (19:53 -0700)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 02:53:20 +0000 (19:53 -0700)
packaging/libXrender.spec [new file with mode: 0644]

diff --git a/packaging/libXrender.spec b/packaging/libXrender.spec
new file mode 100644 (file)
index 0000000..563dadf
--- /dev/null
@@ -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