1 Summary: Xgesture extension library
2 Summary(pl.UTF-8): Biblioteka rozszerzenia Xgesture
3 Name: xorg-lib-libXgesture
8 Source0: http://download.tizen.org/releases/2.2.1/latest/repos/tizen-main/source/libXgesture-%{version}-3.3.src.rpm
9 # Source0-md5: 95e27d4041313b8a24746c5655282b39
10 Patch0: %{name}-dead-invalid-code.patch
11 Patch1: %{name}-includes.patch
12 URL: https://xorg.freedesktop.org/
13 BuildRequires: autoconf >= 2.60
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: pkgconfig >= 1:0.19
17 BuildRequires: xorg-lib-libX11-devel
18 BuildRequires: xorg-lib-libXext-devel
19 BuildRequires: xorg-proto-gestureproto-devel >= 0.1.0
20 BuildRequires: xorg-proto-xextproto-devel
21 BuildRequires: xorg-util-util-macros >= 1.8
22 Obsoletes: libXgesture
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Xgesture extension library.
28 %description -l pl.UTF-8
29 Biblioteka rozszerzenia Xgesture.
32 Summary: Header files for libXgesture library
33 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXgesture
34 Group: X11/Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: xorg-lib-libXext-devel
37 Requires: xorg-proto-gestureproto-devel >= 0.1.0
38 Obsoletes: libXgesture-devel
41 Xgesture extension library.
43 This package contains the header files needed to develop programs that
46 %description devel -l pl.UTF-8
47 Biblioteka rozszerzenia Xgesture.
49 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
50 używających biblioteki libXgesture.
53 Summary: Static libXgesture library
54 Summary(pl.UTF-8): Biblioteka statyczna libXgesture
55 Group: X11/Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
57 Obsoletes: libXgesture-static
60 Xgesture extension library.
62 This package contains the static libXgesture library.
64 %description static -l pl.UTF-8
65 Biblioteka rozszerzenia Xgesture.
67 Pakiet zawiera statyczną bibliotekę libXgesture.
70 %setup -q -c -T -n libXgesture-%{version}
71 rpm2cpio %{SOURCE0} | cpio -i libXgesture-%{version}.tar.gz
72 tar xf libXgesture-%{version}.tar.gz -C ..
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
91 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXgesture.la
94 rm -rf $RPM_BUILD_ROOT
96 %post -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
100 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/libXgesture.so.*.*.*
103 %attr(755,root,root) %ghost %{_libdir}/libXgesture.so.7
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/libXgesture.so
108 %{_includedir}/X11/extensions/gesture.h
109 %{_pkgconfigdir}/xgesture.pc
112 %defattr(644,root,root,755)
113 %{_libdir}/libXgesture.a