|
@@ -1,16 +1,21 @@
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
Name: xcb-util
|
|
|
-Version: 0.3.9
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 0.4.0
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Summary: Convenience libraries sitting on top of libxcb
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
License: MIT
|
|
|
URL: http://xcb.freedesktop.org
|
|
|
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
-BuildRequires: gperf, pkgconfig, libxcb-devel >= 1.4, m4, xorg-x11-proto-devel
|
|
|
+
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
+BuildRequires: gperf
|
|
|
+BuildRequires: pkgconfig
|
|
|
+BuildRequires: m4
|
|
|
+BuildRequires: libxcb-devel >= 1.4
|
|
|
+BuildRequires: xorg-x11-proto-devel
|
|
|
BuildRequires: xorg-x11-util-macros
|
|
|
BuildRequires: chrpath
|
|
|
|
|
@@ -29,8 +34,10 @@ the X protocol but which have traditionally been provided by Xlib.
|
|
|
|
|
|
%package devel
|
|
|
Summary: Development and header files for xcb-util
|
|
|
-Group: System Environment/Libraries
|
|
|
-Requires: %{name} = %{version}-%{release}, pkgconfig
|
|
|
+Summary(ja): xcb-util の開発用ファイル
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+Requires: pkgconfig
|
|
|
|
|
|
%description devel
|
|
|
Development files for xcb-util.
|
|
@@ -53,7 +60,9 @@ the X protocol but which have traditionally been provided by Xlib.
|
|
|
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Development and header files for xcb-util
|
|
|
-Group: System Environment/Libraries
|
|
|
+Summary(ja): xcb-util の開発用ファイル
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: compat32-%{name} = %{version}-%{release}
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}-devel
|
|
@@ -69,12 +78,6 @@ Development files for xcb-util.
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
-
|
|
|
-%check
|
|
|
-
|
|
|
-make check
|
|
|
-
|
|
|
-
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
@@ -86,23 +89,22 @@ chrpath --delete $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libxcb-*.so.*
|
|
|
rm %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
+%check
|
|
|
+make check
|
|
|
|
|
|
+%post -p /sbin/ldconfig
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
-
|
|
|
%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
-
|
|
|
%clean
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
-%doc README
|
|
|
+%doc COPYING NEWS README
|
|
|
%{_libdir}/libxcb-util.so.*
|
|
|
|
|
|
%files devel
|
|
@@ -124,6 +126,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Oct 31 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 0.4.0-1
|
|
|
+- new upstream release
|
|
|
+- moved devel package to Development/Libraries Group
|
|
|
+
|
|
|
* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-2
|
|
|
- rebuild with VineSeed environment
|
|
|
|