]> git.pld-linux.org Git - packages/xcb-proto.git/blobdiff - xcb-proto.spec
- updated to 1.17.0
[packages/xcb-proto.git] / xcb-proto.spec
index 8b4c7c45e42e98b74fb9e914b7b77d823380111c..a83641b82f768c66c2377713d830404475df9cff 100644 (file)
@@ -3,24 +3,28 @@
 %bcond_without python2 # CPython 2.x module
 %bcond_without python3 # CPython 3.x module
 
-%define                _enable_debug_packages  0
-
 Summary:       XML-XCB protocol description files
 Summary(pl.UTF-8):     Pliki opisu protokołu XML-XCB
 Name:          xcb-proto
-Version:       1.14.1
-Release:       4
+Version:       1.17.0
+Release:       1
 License:       MIT
 Group:         Development/Libraries
-#Source0:      https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
+#Source0:      https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
 Source0:       https://xorg.freedesktop.org/releases/individual/proto/%{name}-%{version}.tar.xz
-# Source0-md5: ecd6955dab1a7b9ba9756a11b8bdb48f
+# Source0-md5: c415553d2ee1a8cea43c3234a079b53f
 URL:           https://xcb.freedesktop.org/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1:1.12.6
 BuildRequires: libxml2-progs
-%{?with_python2:BuildRequires: python >= 1:2.5}
-%{?with_python3:BuildRequires: python3 >= 1:3.2}
+%if %{with python2}
+BuildRequires: python >= 1:2.5
+BuildRequires: python-modules >= 1:2.5
+%endif
+%if %{with python3}
+BuildRequires: python3 >= 1:3.2
+BuildRequires: python3-modules >= 1:3.2
+%endif
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: tar >= 1:1.22
@@ -32,6 +36,7 @@ Requires:     python-xcbgen = %{version}-%{release}
 Requires:      python3 >= 1:3.2
 Requires:      python3-xcbgen = %{version}-%{release}
 %endif
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -53,7 +58,6 @@ Summary:      Python 2 xcbgen module
 Summary(pl.UTF-8):     Moduł xcbgen dla Pythona 2
 Group:         Libraries/Python
 Requires:      python-modules >= 1:2.5
-BuildArch:     noarch
 
 %description -n python-xcbgen
 Python 2 xcbgen module.
@@ -123,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc COPYING NEWS README.md TODO doc/xml-xcb.txt
 %{_datadir}/xcb
-%{_pkgconfigdir}/xcb-proto.pc
+%{_npkgconfigdir}/xcb-proto.pc
 
 %if %{with python2}
 %files -n python-xcbgen
This page took 0.087537 seconds and 4 git commands to generate.