source: projects/specs/trunk/lib/libx/libxcb/libxcb-vl.spec @ 5870

Revision 5870, 5.1 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

RevLine 
[521]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[2203]3%define xpyb_version 1.2
[521]4
5Summary:        A C binding to the X11 protocol
6Summary(ja):    X11 プロトコルの C による実装
7Name:           libxcb
[5870]8Version:        1.8.1
[2203]9Release:        1%{?_dist_release}
[521]10
11Group:          System Environment/Libraries
12License:        MIT
13URL:            http://xcb.freedesktop.org/
14Source0:        http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
15
[5870]16Patch10:        libxcb-1.8.1-no-pthread-stubs.patch
[521]17
18BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires:  autoconf automake libtool pkgconfig
20#BuildRequires:  doxygen
21#BuildRequires:  graphviz
22BuildRequires:  libXau-devel
23BuildRequires:  libxslt
[527]24BuildRequires:  xcb-proto >= 1.6
[521]25BuildRequires:  xorg-x11-proto-devel
26BuildRequires:  xorg-x11-util-macros
[1863]27BuildRequires:  python-devel
[521]28
[5549]29Obsoletes:      %{name}-python < 1.8
30
[521]31%description
32The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a
33small footprint, latency hiding, direct access to the protocol, improved
34threading support, and extensibility.
35
36%package        devel
37Summary:        Development files for %{name}
38Group:          Development/Libraries
39Requires:       %{name} = %{version}-%{release}
40Requires:       pkgconfig
41
42%description    devel
43The %{name}-devel package contains libraries and header files for
44developing applications that use %{name}.
45
46%package        doc
47Summary:        Documentation for %{name}
48Group:          Documentation
49
50%description    doc
51The %{name}-doc package contains documentation for the %{name} library.
52
53%package        -n compat32-%{name}
54Summary:        A C binding to the X11 protocol
55Summary(ja):    X11 プロトコルの C による実装
56Group:          System Environment/Libraries
57
58%description    -n compat32-%{name}
59The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a
60small footprint, latency hiding, direct access to the protocol, improved
61threading support, and extensibility.
62
63%package        -n compat32-%{name}-devel
64Summary:        Development files for %{name}
65Group:          Development/Libraries
66Requires:       compat32-%{name} = %{version}-%{release}
67Requires:       %{name}-devel = %{version}-%{release}
68
69%description    -n compat32-%{name}-devel
70The %{name}-devel package contains libraries and header files for
71developing applications that use %{name}.
72
73%prep
[5549]74%setup -q
[521]75%patch10 -p1
76
77%build
78autoreconf -v --install
79%configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} --disable-selinux
80make %{?_smp_mflags}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84make install DESTDIR=$RPM_BUILD_ROOT
85find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
86install -m 644 COPYING NEWS README $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
87
88find $RPM_BUILD_ROOT -name '*.la' -delete
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95
96%post -n compat32-%{name} -p /sbin/ldconfig
97%postun -n compat32-%{name} -p /sbin/ldconfig
98
99%files
100%defattr(-,root,root,-)
101%{_libdir}/*.so.*
102
103%files devel
104%defattr(-,root,root,-)
105%{_includedir}/xcb
106%{_libdir}/*.so
107%{_libdir}/pkgconfig/*.pc
108
109%files doc
110%defattr(-,root,root,-)
111%{_datadir}/doc/%{name}-%{version}
112
113%if %{build_compat32}
114%files -n compat32-%{name}
115%defattr(-,root,root,-)
116%{_libdir}/*.so.*
117
118%files  -n compat32-%{name}-devel
119%defattr(-,root,root,-)
120%{_libdir}/*.so
121%{_libdir}/pkgconfig/*.pc
122%endif
123
124%changelog
[5870]125* Sat Mar 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
126- new upstream release
127- update Patch10 (libxcb-1.8.1-no-pthread-stubs.patch)
128
[5549]129* Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8-1
130- new upstream release
131- remove Source2
132- remove python sub package
133
[2203]134* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-1
135- new upstream release
136- update Patch10
137
[1863]138* Tue Sep 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5-3
139- add BuildRequires: python-devel
140
[1851]141* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.5-2
142- build with rpm-4.8.1-1 for pkg-config file
143
[527]144* Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-1
145- new upstream release
146
[521]147* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.4-2
148- rebuild with python-2.6
149
150* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
151- new upstream release
152- add libxcb python binding (xpyb)
153
154* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2-2
155- added compat32 package for x86_64 arch support
156
157* Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-1
158- new upstream release
159
160* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.1-2
161- spec in utf-8
162- added japanese summary
163
164* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
165- new versioning policy
166
167* Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
168- initial build for Vine Linux
169
170* Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1
171- libxcb 1.1
172
173* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 1.0-3
174- libxcb-1.0-abstract-socket.patch: When connecting to the X server, prefer
175  abstract-namespace unix sockets to filesystem-bound sockets.
176
177* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.0-2
178- Rebuild for PPC toolchain bug
179
180* Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1
181- Initial revision.
Note: See TracBrowser for help on using the repository browser.