[packages/xorg-lib-libXpresent] - new

qboosh qboosh at pld-linux.org
Sun Apr 19 20:31:32 CEST 2015


commit ab9ffef089a45f5755397cb8ef63b474d63436d9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 19 20:33:21 2015 +0200

    - new

 xorg-lib-libXpresent.spec | 108 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 108 insertions(+)
---
diff --git a/xorg-lib-libXpresent.spec b/xorg-lib-libXpresent.spec
new file mode 100644
index 0000000..7137aeb
--- /dev/null
+++ b/xorg-lib-libXpresent.spec
@@ -0,0 +1,108 @@
+Summary:	Xpresent extension library
+Summary(pl.UTF-8):	Biblioteka rozszerzenia Xpresent
+Name:		xorg-lib-libXpresent
+Version:	1.0.0
+Release:	1
+License:	MIT
+Group:		X11/Libraries
+Source0:	http://xorg.freedesktop.org/releases/individual/lib/libXpresent-%{version}.tar.bz2
+# Source0-md5:	edd87ac15bb666081898dd7382fcbff5
+URL:		http://xorg.freedesktop.org/
+BuildRequires:	autoconf >= 2.60
+BuildRequires:	automake
+BuildRequires:	libtool
+BuildRequires:	pkgconfig >= 1:0.19
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-proto-presentproto-devel >= 1.0
+BuildRequires:	xorg-proto-xextproto-devel
+BuildRequires:	xorg-proto-xproto-devel
+BuildRequires:	xorg-util-util-macros >= 1.8
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Xpresent extension library.
+
+%description -l pl.UTF-8
+Biblioteka rozszerzenia Xpresent.
+
+%package devel
+Summary:	Header files for libXpresent library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libXpresent
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	xorg-lib-libX11-devel
+Requires:	xorg-proto-presentproto-devel >= 1.0
+Requires:	xorg-proto-xproto-devel
+
+%description devel
+Xpresent extension library.
+
+This package contains the header files needed to develop programs that
+use libXpresent.
+
+%description devel -l pl.UTF-8
+Biblioteka rozszerzenia Xpresent.
+
+Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
+używających biblioteki libXpresent.
+
+%package static
+Summary:	Static libXpresent library
+Summary(pl.UTF-8):	Biblioteka statyczna libXpresent
+Group:		X11/Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Xpresent extension library.
+
+This package contains the static libXpresent library.
+
+%description static -l pl.UTF-8
+Biblioteka rozszerzenia Xpresent.
+
+Pakiet zawiera statyczną bibliotekę libXpresent.
+
+%prep
+%setup -q -n libXpresent-%{version}
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXpresent.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README
+%attr(755,root,root) %{_libdir}/libXpresent.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libXpresent.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libXpresent.so
+%{_includedir}/X11/extensions/Xpresent.h
+%{_pkgconfigdir}/xpresent.pc
+%{_mandir}/man3/Xpresent.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libXpresent.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-lib-libXpresent.git/commitdiff/ab9ffef089a45f5755397cb8ef63b474d63436d9



More information about the pld-cvs-commit mailing list