source: projects/specs/trunk/x/xcb-util/xcb-util-vl.spec @ 12185

Revision 12185, 5.6 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           xcb-util
4Version:        0.4.0
5Release:        2%{?_dist_release}
6Summary:        Convenience libraries sitting on top of libxcb
7
8Group:          System Environment/Libraries
9License:        MIT
10URL:            http://xcb.freedesktop.org
11Source0:        http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildRequires:  gperf
15BuildRequires:  pkgconfig
16BuildRequires:  m4
17BuildRequires:  libxcb-devel >= 1.4
18BuildRequires:  xorg-x11-proto-devel
19BuildRequires:  xorg-x11-util-macros
20BuildRequires:  chrpath
21
22Vendor: Project Vine
23Distribution: Vine Linux
24
25%description
26The xcb-util module provides a number of libraries which sit on top of
27libxcb, the core X protocol library, and some of the extension
28libraries. These experimental libraries provide convenience functions
29and interfaces which make the raw X protocol more usable. Some of the
30libraries also provide client-side code which is not strictly part of
31the X protocol but which have traditionally been provided by Xlib.
32
33
34%package        devel
35Summary:        Development and header files for xcb-util
36Summary(ja):    xcb-util の開発用ファイル
37Group:          Development/Libraries
38Requires:       %{name} = %{version}-%{release}
39Requires:       pkgconfig
40
41%description    devel
42Development files for xcb-util.
43
44
45# compat32
46%package -n compat32-%{name}
47Summary: Convenience libraries sitting on top of libxcb
48Group: System Environment/Libraries
49Requires: %{name} = %{version}-%{release}
50
51%description -n compat32-%{name}
52The xcb-util module provides a number of libraries which sit on top of
53libxcb, the core X protocol library, and some of the extension
54libraries. These experimental libraries provide convenience functions
55and interfaces which make the raw X protocol more usable. Some of the
56libraries also provide client-side code which is not strictly part of
57the X protocol but which have traditionally been provided by Xlib.
58
59
60%package -n compat32-%{name}-devel
61Summary:        Development and header files for xcb-util
62Summary(ja):    xcb-util の開発用ファイル
63Group:          Development/Libraries
64Requires:       compat32-%{name} = %{version}-%{release}
65Requires:       %{name}-devel = %{version}-%{release}
66
67%description -n compat32-%{name}-devel
68Development files for xcb-util.
69
70
71%prep
72%setup -q
73
74
75%build
76%configure --with-pic --disable-static
77
78make %{?_smp_mflags}
79
80%install
81rm -rf %{buildroot}
82
83make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
84
85# remove RPATH
86chrpath --delete $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libxcb-*.so.*
87
88rm %{buildroot}%{_libdir}/*.la
89
90
91%check
92make check
93
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
97%post -n compat32-%{name} -p /sbin/ldconfig
98%postun -n compat32-%{name} -p /sbin/ldconfig
99
100%clean
101rm -rf %{buildroot}
102
103
104%files
105%defattr(-,root,root,-)
106%license COPYING
107%doc NEWS README
108%{_libdir}/libxcb-util.so.*
109
110%files devel
111%defattr(-,root,root,-)
112%{_libdir}/pkgconfig/*.pc
113%{_libdir}/libxcb-util.so
114%{_includedir}/xcb/*.h
115
116# compat32
117%if %{build_compat32}
118%files -n compat32-%{name}
119%defattr(-,root,root,-)
120%{_libdir}/libxcb-util.so.*
121
122%files -n compat32-%{name}-devel
123%defattr(-,root,root,-)
124%{_libdir}/libxcb-util.so
125%endif
126
127
128%changelog
129* Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.0-2
130- rebuilt with current environment.
131
132* Fri Oct 31 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 0.4.0-1
133- new upstream release
134- moved devel package to Development/Libraries Group
135
136* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-2
137- rebuild with VineSeed environment
138
139* Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-1
140- new upstream release
141
142* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.8-1
143- new upstream release
144- add BuildRequires: xorg-x11-util-macros
145
146* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.6-2
147- rebuild with rpm-4.8.1 for pkg-config file
148
149* Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp>  0.3.6-1
150- initial build for Vine Linux
151
152* Fri Aug 28 2009 Michal Nowak <mnowak@redhat.com> - 0.3.6-1
153- 0.3.6
154
155* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
156- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
157
158* Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 0.3.5-1
159- xcb-util 0.3.5
160
161* Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 0.3.4-2
162- Explicitly list DSOs so we're notified of version changes.
163
164* Sat Jun 13 2009 Michal Nowak <mnowak@redhat.com> - 0.3.4-1
165- 0.3.4; needed for Awesome 3.3
166
167* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2
168- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
169
170* Fri Feb 20 2009 Michal Nowak <mnowak@redhat.com> - 0.3.3-1
171- 0.3.3
172- removed patches already in git (and 0.3.3)
173
174* Fri Dec 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-2
175- hack the sed lines after %%configure out and hack chrpath in
176- make check is running again
177
178* Thu Dec 18 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-1
179- 0.3.2
180- remove rpath (x86-64)
181- xcb_keysyms: remove xcb_lookup_t
182- Revert "keysyms: use xcb_key_lookup_t type for col paramter"
183- temporary disabled %%check due to RPATH regression
184
185* Thu Dec  4 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-2
186- patch for exit() in aux library (Peter Harris)
187- slight changes in spec file
188
189* Mon Nov 24 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-1
190- 0.3.1
191- fix license issue (Jonathan Landis)
192
193* Fri Sep 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.0-1
194- bump to 0.3.0
195
196* Sun Aug 17 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-2
197- new build deps: gperf, pkgconfig, libxcb, m4, xorg-x11-proto-devel
198- not installing *.a files anymore
199- configure with --with-pic
200
201* Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-1
202- initial package
203
Note: See TracBrowser for help on using the repository browser.