From fb0e5d8636c2c0cf620674306b0d7377ff715ff1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 15 Aug 2005 12:17:57 +0000 Subject: [PATCH] - new try - all xorg files prefixed with xorg-kind_of_package where kind of package can be seen at http://xorg.freedesktop.org/X11R7.0-RC0/ Changed files: xorg-lib-libX11.spec -> 1.1 --- xorg-lib-libX11.spec | 126 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 xorg-lib-libX11.spec diff --git a/xorg-lib-libX11.spec b/xorg-lib-libX11.spec new file mode 100644 index 0000000..ffb5e1f --- /dev/null +++ b/xorg-lib-libX11.spec @@ -0,0 +1,126 @@ + +# +Summary: X11 Base library +Summary(pl): Podstawowa biblioteka X11 +Name: xorg-lib-libX11 +Version: 0.99.0 +Release: 0.02 +License: MIT +Group: X11/Libraries +Source0: http://xorg.freedesktop.org/X11R7.0-RC0/lib/libX11-%{version}.tar.bz2 +# Source0-md5: 0bb745ed34f8bf09d0c0d89ff91c56b4 +URL: http://xorg.freedesktop.org/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: xorg-proto-bigreqsproto-devel +BuildRequires: xorg-proto-inputproto-devel +BuildRequires: xorg-proto-kbproto-devel +BuildRequires: xorg-lib-libXau-devel +BuildRequires: xorg-lib-libXdmcp-devel +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: xorg-util-util-macros +BuildRequires: xorg-proto-xcmiscproto-devel +BuildRequires: xorg-proto-xextproto-devel +BuildRequires: xorg-proto-xf86bigfontproto-devel +BuildRequires: xorg-lib-xtrans-devel +BuildRoot: %{tmpdir}/libX11-%{version}-root-%(id -u -n) + +%define _prefix /usr/X11R6 +%define _mandir %{_prefix}/man + +%description +X11 Base library. + +%description -l pl +Podstawowa biblioteka X11. + + +%package devel +Summary: Header files libX11 development +Summary(pl): Pliki nag³ówkowe do biblioteki libX11 +Group: X11/Development/Libraries +Requires: xorg-lib-libX11 = %{version}-%{release} +Requires: xorg-proto-kbproto-devel +Requires: xorg-lib-libXau-devel +Requires: xorg-lib-libXdmcp-devel + +%description devel +X11 Base library. + +This package contains the header files needed to develop programs that +use these libX11. + +%description devel -l pl +Podstawowa biblioteka X11. + +Pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania programów +u¿ywaj±cych biblioteki libX11. + + +%package static +Summary: Static libX11 libraries +Summary(pl): Biblioteki statyczne libX11 +Group: Development/Libraries +Requires: xorg-lib-libX11-devel = %{version}-%{release} + +%description static +X11 Base library. + +This package contains the static libX11 library. + +%description static -l pl +Podstawowa biblioteka X11. + +Pakiet zawiera statyczn± bibliotekê libX11. + + +%prep +%setup -q -n libX11-%{version} + + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --enable-man-pages=3 + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + pkgconfigdir=%{_pkgconfigdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%defattr(644,root,root,755) +%doc AUTHORS README +%attr(755,root,wheel) %{_libdir}/libX11.so.* +%{_libdir}/X11/locale +%{_datadir}/X11 + + +%files devel +%defattr(644,root,root,755) +%{_includedir}/X11/*.h +%{_libdir}/libX11.la +%attr(755,root,wheel) %{_libdir}/libX11.so +%{_pkgconfigdir}/x11.pc +%{_mandir}/man3/*.3* + + +%files static +%defattr(644,root,root,755) +%{_libdir}/libX11.a -- 2.44.0