]> git.pld-linux.org Git - packages/xorg-lib-libXpresent.git/commitdiff
- new auto/th/xorg-lib-libXpresent-1.0.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 19 Apr 2015 18:33:21 +0000 (20:33 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 19 Apr 2015 18:33:21 +0000 (20:33 +0200)
xorg-lib-libXpresent.spec [new file with mode: 0644]

diff --git a/xorg-lib-libXpresent.spec b/xorg-lib-libXpresent.spec
new file mode 100644 (file)
index 0000000..7137aeb
--- /dev/null
@@ -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
This page took 0.085969 seconds and 4 git commands to generate.