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