File xcb-util-image.spec of Package xcb-util-image
xxxxxxxxxx
1
#
2
# spec file for package xcb-util-image
3
#
4
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
Name: xcb-util-image
20
%define lname libxcb-image0
21
Version: 0.4.0
22
Release: 0
23
Summary: XCB utility module for XImage/XShmImage-like functions
24
License: MIT
25
Group: Development/Libraries/C and C++
26
Url: http://xcb.freedesktop.org/
27
28
#Git-Clone: git://anongit.freedesktop.org/xcb/util-image
29
#Git-Web: http://cgit.freedesktop.org/xcb/util-image/
30
Source: %name-%version.tar.bz2
31
Source1: baselibs.conf
32
BuildRoot: %{_tmppath}/%{name}-%{version}-build
33
#git#BuildRequires: autoconf >= 2.59c, automake, libtool
34
BuildRequires: pkgconfig
35
BuildRequires: pkgconfig(xcb) >= 1.4
36
BuildRequires: pkgconfig(xcb-proto) >= 1.6
37
BuildRequires: pkgconfig(xcb-shm)
38
BuildRequires: pkgconfig(xcb-util)
39
BuildRequires: pkgconfig(xorg-macros) >= 1.6.0
40
BuildRequires: pkgconfig(xproto) >= 7.0.8
41
42
%description
43
The XCB util modules provide a number of libraries which sit on top
44
of libxcb, the core X protocol library, and some of the extension
45
libraries.
46
47
Included in this package is:
48
49
- image: Port of Xlib's XImage and XShmImage functions.
50
51
%package -n %lname
52
Summary: XCB utility module for XImage/XShmImage-like functions
53
Group: System/Libraries
54
55
%description -n %lname
56
The XCB util modules provide a number of libraries which sit on top
57
of libxcb, the core X protocol library, and some of the extension
58
libraries.
59
60
Included in this package is:
61
62
- image: Port of Xlib's XImage and XShmImage functions.
63
64
%package devel
65
Summary: Development files for the XCB image utility module
66
Group: Development/Libraries/C and C++
67
Requires: %lname = %version
68
69
%description devel
70
The XCB util modules provide a number of libraries which sit on top
71
of libxcb, the core X protocol library, and some of the extension
72
libraries.
73
74
This package contains the development headers for the library found
75
in %lname.
76
77
%prep
78
%setup -q
79
80
%build
81
%configure --disable-static
82
make %{?_smp_mflags}
83
84
%install
85
make install DESTDIR="%buildroot"
86
rm -f "%buildroot/%_libdir"/*.la
87
88
%post -n %lname -p /sbin/ldconfig
89
90
%postun -n %lname -p /sbin/ldconfig
91
92
%files -n %lname
93
%defattr(-,root,root)
94
%_libdir/libxcb-image.so.0*
95
96
%files devel
97
%defattr(-,root,root)
98
%_includedir/xcb
99
%_libdir/libxcb-image.so
100
%_libdir/pkgconfig/xcb-image.pc
101
102
%changelog
103