]> git.pld-linux.org Git - packages/xcb-util-wm.git/blame - xcb-util-wm.spec
- updated to 0.4.2, drop .la files
[packages/xcb-util-wm.git] / xcb-util-wm.spec
CommitLineData
7792b399
JB
1Summary: XCB util-wm module
2Summary(pl.UTF-8): Moduł XCB util-wm
3Name: xcb-util-wm
0c81b741
JB
4Version: 0.4.2
5Release: 1
7792b399
JB
6License: MIT
7Group: Libraries
0c81b741
JB
8Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
9# Source0-md5: 581b3a092e3c0c1b4de6416d90b969c3
10URL: https://xcb.freedesktop.org/XcbUtil/
7792b399
JB
11BuildRequires: gperf
12BuildRequires: libxcb-devel >= 1.4
13BuildRequires: m4
14BuildRequires: pkgconfig
0c81b741 15BuildRequires: tar >= 1:1.22
7792b399 16BuildRequires: xcb-proto >= 1.6
fc8e4749 17BuildRequires: xorg-util-util-macros >= 1.16.0
0c81b741 18BuildRequires: xz
dca689bf 19Requires: libxcb >= 1.4
ce5fb063 20Conflicts: xcb-util < 0.3.8
7792b399
JB
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24The xcb-util module provides a number of libraries which sit on top of
25libxcb, the core X protocol library, and some of the extension
26libraries. These experimental libraries provide convenience functions
27and interfaces which make the raw X protocol more usable. Some of the
28libraries also provide client-side code which is not strictly part of
29the X protocol but which have traditionally been provided by Xlib.
30
31XCB util-wm module provides the following libraries:
32- ewmh: Both client and window-manager helpers for EWMH.
33- icccm: Both client and window-manager helpers for ICCCM.
34
35%description -l pl.UTF-8
36xcb-util udostępnia wiele bibliotek opartych powyżej libxcb (głównej
37biblioteki protokołu X) oraz trochę bibliotek rozszerzeń. Te
38eksperymentalne biblioteki udostępniają wygodne funkcje i interfejsy
39czyniące surowy protokół X bardziej używalnym. Niektóre biblioteki
40udostępniają także kod kliencki nie będący ściśle częścią protokołu X,
41ale tradycyjnie dostarczany przez Xlib.
42
43Moduł XCB util-wm udostępnia następującą biliotekę:
44- ewmh: funkcje pomocnicze dla klientów i zarządców okien do EWMH.
45- icccm: funkcje pomocnicze dla klientów i zarządców okien do ICCCM.
46
47%package devel
48Summary: Header files for XCB util-wm libraries
49Summary(pl.UTF-8): Pliki nagłówkowe bibliotek XCB util-wm
50Group: Development/Libraries
51Requires: %{name} = %{version}-%{release}
52Requires: libxcb-devel >= 1.4
ce5fb063 53Conflicts: xcb-util < 0.3.8
7792b399
JB
54
55%description devel
56Header files for XCB util-wm libraries.
57
58%description devel -l pl.UTF-8
59Pliki nagłówkowe bibliotek XCB util-wm.
60
61%package static
62Summary: Static XCB util-wm libraries
63Summary(pl.UTF-8): Statyczne biblioteki XCB util-wm
64Group: Development/Libraries
65Requires: %{name}-devel = %{version}-%{release}
66
67%description static
68Static XCB util-wm libraries.
69
70%description static -l pl.UTF-8
71Statyczne biblioteki XCB util-wm.
72
73%prep
74%setup -q
75
76%build
77%configure \
78 --disable-silent-rules
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
0c81b741
JB
87# obsoleted by pkg-config
88%{__rm} $RPM_BUILD_ROOT%{_libdir}/libxcb-{ewmh,icccm}.la
89
7792b399
JB
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95
96%files
97%defattr(644,root,root,755)
0c81b741 98%doc ChangeLog NEWS README.md
7792b399
JB
99%attr(755,root,root) %{_libdir}/libxcb-icccm.so.*.*.*
100%attr(755,root,root) %ghost %{_libdir}/libxcb-icccm.so.4
101%attr(755,root,root) %{_libdir}/libxcb-ewmh.so.*.*.*
dca689bf 102%attr(755,root,root) %ghost %{_libdir}/libxcb-ewmh.so.2
7792b399
JB
103
104%files devel
105%defattr(644,root,root,755)
106%attr(755,root,root) %{_libdir}/libxcb-ewmh.so
107%attr(755,root,root) %{_libdir}/libxcb-icccm.so
7792b399
JB
108%{_includedir}/xcb/xcb_ewmh.h
109%{_includedir}/xcb/xcb_icccm.h
110%{_pkgconfigdir}/xcb-ewmh.pc
111%{_pkgconfigdir}/xcb-icccm.pc
112
113%files static
114%defattr(644,root,root,755)
115%{_libdir}/libxcb-ewmh.a
116%{_libdir}/libxcb-icccm.a
This page took 0.12787 seconds and 4 git commands to generate.