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

Revision 9044, 5.6 KB checked in by inagaki, 9 years ago (diff)

2014-11-01 Ryoichi INAGAKI <ryo1@…>

  • libxcb, xcb-proto, xcb-util, xcb-util-image, xcb-util-keysyms, xcb-util-renderutil: updated
  • xcb-util-cursor, xcb-util-wm: changed Group


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