]> git.pld-linux.org Git - packages/xorg-lib-libXgesture.git/blob - xorg-lib-libXgesture.spec
- added dead-invalid-code,includes patches
[packages/xorg-lib-libXgesture.git] / xorg-lib-libXgesture.spec
1 Summary:        Xgesture extension library
2 Summary(pl.UTF-8):      Biblioteka rozszerzenia Xgesture
3 Name:           xorg-lib-libXgesture
4 Version:        0.1.1
5 Release:        2
6 License:        MIT
7 Group:          X11/Libraries
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)
24
25 %description
26 Xgesture extension library.
27
28 %description -l pl.UTF-8
29 Biblioteka rozszerzenia Xgesture.
30
31 %package devel
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
39
40 %description devel
41 Xgesture extension library.
42
43 This package contains the header files needed to develop programs that
44 use libXgesture.
45
46 %description devel -l pl.UTF-8
47 Biblioteka rozszerzenia Xgesture.
48
49 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
50 używających biblioteki libXgesture.
51
52 %package static
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
58
59 %description static
60 Xgesture extension library.
61
62 This package contains the static libXgesture library.
63
64 %description static -l pl.UTF-8
65 Biblioteka rozszerzenia Xgesture.
66
67 Pakiet zawiera statyczną bibliotekę libXgesture.
68
69 %prep
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 ..
73 %patch0 -p1
74 %patch1 -p1
75
76 %build
77 %{__libtoolize}
78 %{__aclocal}
79 %{__autoconf}
80 %{__autoheader}
81 %{__automake}
82 %configure
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXgesture.la
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %files
100 %defattr(644,root,root,755)
101 %doc COPYING NOTICE
102 %attr(755,root,root) %{_libdir}/libXgesture.so.*.*.*
103 %attr(755,root,root) %ghost %{_libdir}/libXgesture.so.7
104
105 %files devel
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/libXgesture.so
108 %{_includedir}/X11/extensions/gesture.h
109 %{_pkgconfigdir}/xgesture.pc
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/libXgesture.a
This page took 0.064022 seconds and 3 git commands to generate.