]> git.pld-linux.org Git - packages/xorg-lib-libX11.git/blobdiff - xorg-lib-libX11.spec
up to 1.7.2
[packages/xorg-lib-libX11.git] / xorg-lib-libX11.spec
index 774076123d2e511bf46f489299f3e0499d515d1c..aba0b88a9be39ed28b6bda1309b08f14dd9e5c6e 100644 (file)
@@ -1,35 +1,39 @@
 #
 # Conditional build:
 %bcond_without static_libs     # don't build static library
-#
+
 Summary:       Core X11 protocol client library
 Summary(pl.UTF-8):     Podstawowa biblioteka kliencka protokołu X11
 Name:          xorg-lib-libX11
-Version:       1.4.3
+Version:       1.7.2
 Release:       1
 License:       MIT
 Group:         X11/Libraries
-Source0:       http://xorg.freedesktop.org/releases/individual/lib/libX11-%{version}.tar.bz2
-# Source0-md5: 85e942627aaa020813e0eb8433353563
+Source0:       https://xorg.freedesktop.org/releases/individual/lib/libX11-%{version}.tar.bz2
+# Source0-md5: a9a24be62503d5e34df6b28204956a7b
 # sync locales and their encodings with glibc
 Patch0:                %{name}-glibc-locale_sync.patch
-URL:           http://xorg.freedesktop.org/
+URL:           https://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
 BuildRequires: cpp
+BuildRequires: docbook-dtd43-xml
 BuildRequires: libtool
-BuildRequires: libxcb-devel >= 1.2
+BuildRequires: libxcb-devel >= 1.11.1
+BuildRequires: perl-Encode
 BuildRequires: pkgconfig >= 1:0.19
-BuildRequires: xmlto >= 0.0.20
+BuildRequires: sed >= 4.0
+BuildRequires: xmlto >= 0.0.22
 BuildRequires: xorg-lib-xtrans-devel
 BuildRequires: xorg-proto-inputproto-devel
 BuildRequires: xorg-proto-kbproto-devel
 BuildRequires: xorg-proto-xextproto-devel
-BuildRequires: xorg-proto-xf86bigfontproto-devel
-BuildRequires: xorg-proto-xproto-devel >= 7.0.21
-BuildRequires: xorg-sgml-doctools >= 1.5
-BuildRequires: xorg-util-util-macros >= 1.11
-Requires:      libxcb >= 1.2
+BuildRequires: xorg-proto-xf86bigfontproto-devel >= 1.2.0
+BuildRequires: xorg-proto-xproto-devel >= 7.0.25
+BuildRequires: xorg-sgml-doctools >= 1.10
+BuildRequires: xorg-util-util-macros >= 1.15
+Requires:      %{name}-data = %{version}-%{release}
+Requires:      libxcb >= 1.11.1
 Obsoletes:     libX11
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,14 +43,28 @@ Core X11 protocol client library.
 %description -l pl.UTF-8
 Podstawowa biblioteka kliencka protokołu X11.
 
+%package data
+Summary:       Data files for libX11 library
+Summary(pl.UTF-8):     Pliki danych biblioteki libX11
+Group:         X11/Libraries
+Conflicts:     xorg-lib-libX11 < 1.6.3-2
+BuildArch:     noarch
+
+%description data
+Data files for libX11 library.
+
+%description data -l pl.UTF-8
+Pliki danych biblioteki libX11.
+
 %package devel
 Summary:       Header files for libX11 library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libX11
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      xorg-proto-kbproto-devel
-Requires:      xorg-proto-xproto-devel >= 7.0.13
-Requires:      libxcb-devel >= 1.2
+Requires:      libxcb-devel >= 1.11.1
+# after <X11/extensions/XKBgeom.h> removal
+Requires:      xorg-proto-kbproto-devel >= 1.0.7-2019.1.3
+Requires:      xorg-proto-xproto-devel >= 7.0.25
 Obsoletes:     libX11-devel
 
 %description devel
@@ -80,8 +98,14 @@ Pakiet zawiera statyczną bibliotekę libX11.
 
 %prep
 %setup -q -n libX11-%{version}
+# do we need this patch for anything? (aka is any pld user in need for these new locales)
+# https://bugs.freedesktop.org/show_bug.cgi?id=7415
 %patch0 -p1
 
+# support __libmansuffix__ and __filemansuffix__ with "x" suffix (per FHS 2.3)
+%{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' \
+           -e 's,\.so man__filemansuffix__/,.so man5/,' man/*.man
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
@@ -95,8 +119,8 @@ Pakiet zawiera statyczną bibliotekę libX11.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
+       INSTALL="install -p" \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libX11
@@ -109,6 +133,9 @@ for dir in XIM i18n/framework i18n/localedb i18n/trans libX11; do
        sed -i -e "s#$RPM_BUILD_ROOT##g" rpm-doc/$dir/*.html
 done
 
+# for xorg-app-x11perf and possibly others
+install -d $RPM_BUILD_ROOT%{_libdir}/X11
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -125,15 +152,18 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog README
 %attr(755,root,root) %{_libdir}/libX11.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libX11.so.6
 %attr(755,root,root) %{_libdir}/libX11-xcb.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libX11-xcb.so.1
 %dir %{_libdir}/X11
-%{_libdir}/X11/Xcms.txt
+
+%files data
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README.md
 %dir %{_datadir}/X11
 %{_datadir}/X11/XErrorDB
+%{_datadir}/X11/Xcms.txt
 %dir %{_datadir}/X11/locale
 %{_datadir}/X11/locale/compose.dir
 %{_datadir}/X11/locale/locale.alias
@@ -177,18 +207,20 @@ fi
 %{_datadir}/X11/locale/tscii-0
 
 %lang(am) %{_datadir}/X11/locale/am_ET.UTF-8
+%lang(cs) %{_datadir}/X11/locale/cs_CZ.UTF-8
 %lang(el) %{_datadir}/X11/locale/el_GR.UTF-8
 %lang(fi) %{_datadir}/X11/locale/fi_FI.UTF-8
 %lang(ja) %{_datadir}/X11/locale/ja
 %lang(ja) %{_datadir}/X11/locale/ja.JIS
-%lang(ja) %{_datadir}/X11/locale/ja.S90
 %lang(ja) %{_datadir}/X11/locale/ja.SJIS
-%lang(ja) %{_datadir}/X11/locale/ja.U90
 %lang(ja) %{_datadir}/X11/locale/ja_JP.UTF-8
+%lang(km) %{_datadir}/X11/locale/km_KH.UTF-8
 %lang(ko) %{_datadir}/X11/locale/ko
 %lang(ko) %{_datadir}/X11/locale/ko_KR.UTF-8
 %lang(pt_BR) %{_datadir}/X11/locale/pt_BR.UTF-8
+%lang(pt) %{_datadir}/X11/locale/pt_PT.UTF-8
 %lang(ru) %{_datadir}/X11/locale/ru_RU.UTF-8
+%lang(sr) %{_datadir}/X11/locale/sr_RS.UTF-8
 %lang(th) %{_datadir}/X11/locale/th_TH
 %lang(th) %{_datadir}/X11/locale/th_TH.UTF-8
 %lang(vi) %{_datadir}/X11/locale/vi_VN.tcvn
@@ -203,7 +235,8 @@ fi
 %lang(zh_TW) %{_datadir}/X11/locale/zh_TW
 %lang(zh_TW) %{_datadir}/X11/locale/zh_TW.UTF-8
 %lang(zh_TW) %{_datadir}/X11/locale/zh_TW.big5
-%{_mandir}/man5/*Compose.5x*
+%{_mandir}/man5/Compose.5*
+%{_mandir}/man5/XCompose.5*
 
 %files devel
 %defattr(644,root,root,755)
@@ -213,11 +246,52 @@ fi
 %{_libdir}/libX11.la
 %{_libdir}/libX11-xcb.la
 %{_includedir}/X11/ImUtil.h
-%{_includedir}/X11/X*.h
+%{_includedir}/X11/XKBlib.h
+%{_includedir}/X11/Xcms.h
+%{_includedir}/X11/Xlib.h
+%{_includedir}/X11/Xlib-xcb.h
+%{_includedir}/X11/XlibConf.h
+%{_includedir}/X11/Xlibint.h
+%{_includedir}/X11/Xlocale.h
+%{_includedir}/X11/Xregion.h
+%{_includedir}/X11/Xresource.h
+%{_includedir}/X11/Xutil.h
 %{_includedir}/X11/cursorfont.h
+%{_includedir}/X11/extensions/XKBgeom.h
 %{_pkgconfigdir}/x11.pc
 %{_pkgconfigdir}/x11-xcb.pc
-%{_mandir}/man3/*.3x*
+%{_mandir}/man3/AllPlanes.3*
+%{_mandir}/man3/Bitmap*.3*
+%{_mandir}/man3/BlackPixel*.3*
+%{_mandir}/man3/CellsOfScreen.3*
+%{_mandir}/man3/ClientWhitePointOfCCC.3*
+%{_mandir}/man3/ConnectionNumber.3*
+%{_mandir}/man3/Default*.3*
+%{_mandir}/man3/Display*.3*
+%{_mandir}/man3/DoesBackingStore.3*
+%{_mandir}/man3/DoesSaveUnders.3*
+%{_mandir}/man3/EventMaskOfScreen.3*
+%{_mandir}/man3/HeightMMOfScreen.3*
+%{_mandir}/man3/HeightOfScreen.3*
+%{_mandir}/man3/ImageByteOrder.3*
+%{_mandir}/man3/Is*Key.3*
+%{_mandir}/man3/LastKnownRequestProcessed.3*
+%{_mandir}/man3/MaxCmapsOfScreen.3*
+%{_mandir}/man3/MinCmapsOfScreen.3*
+%{_mandir}/man3/NextRequest.3*
+%{_mandir}/man3/PlanesOfScreen.3*
+%{_mandir}/man3/ProtocolRevision.3*
+%{_mandir}/man3/ProtocolVersion.3*
+%{_mandir}/man3/QLength.3*
+%{_mandir}/man3/RootWindow*.3*
+%{_mandir}/man3/Screen*.3*
+%{_mandir}/man3/ServerVendor.3*
+%{_mandir}/man3/VendorRelease.3*
+%{_mandir}/man3/VisualOfCCC.3*
+%{_mandir}/man3/WhitePixel*.3*
+%{_mandir}/man3/WidthMMOfScreen.3*
+%{_mandir}/man3/WidthOfScreen.3*
+%{_mandir}/man3/X*.3*
 
 %if %{with static_libs}
 %files static
This page took 0.12661 seconds and 4 git commands to generate.