]> git.pld-linux.org Git - packages/xorg-lib-libXgesture.git/blob - xorg-lib-libXgesture.spec
2e40c451cc26c4d039c1dc35e76230e6dfce2ecb
[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:        1
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 URL:            http://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  xorg-lib-libX11-devel
16 BuildRequires:  xorg-lib-libXext-devel
17 BuildRequires:  xorg-proto-gestureproto-devel >= 0.1.0
18 BuildRequires:  xorg-proto-xextproto-devel
19 BuildRequires:  xorg-util-util-macros >= 1.8
20 Obsoletes:      libXgesture
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Xgesture extension library.
25
26 %description -l pl.UTF-8
27 Biblioteka rozszerzenia Xgesture.
28
29 %package devel
30 Summary:        Header files for libXgesture library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libXgesture
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       xorg-lib-libXext-devel
35 Requires:       xorg-proto-gestureproto-devel >= 0.1.0
36 Obsoletes:      libXgesture-devel
37
38 %description devel
39 Xgesture extension library.
40
41 This package contains the header files needed to develop programs that
42 use libXgesture.
43
44 %description devel -l pl.UTF-8
45 Biblioteka rozszerzenia Xgesture.
46
47 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
48 używających biblioteki libXgesture.
49
50 %package static
51 Summary:        Static libXgesture library
52 Summary(pl.UTF-8):      Biblioteka statyczna libXgesture
53 Group:          X11/Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55 Obsoletes:      libXgesture-static
56
57 %description static
58 Xgesture extension library.
59
60 This package contains the static libXgesture library.
61
62 %description static -l pl.UTF-8
63 Biblioteka rozszerzenia Xgesture.
64
65 Pakiet zawiera statyczną bibliotekę libXgesture.
66
67 %prep
68 %setup -q -c -T -n libXgesture-%{version}
69 rpm2cpio %{SOURCE0} | cpio -i libXgesture-%{version}.tar.gz
70 tar xf libXgesture-%{version}.tar.gz -C ..
71
72 %build
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
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 COPYING NOTICE
96 %attr(755,root,root) %{_libdir}/libXgesture.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libXgesture.so.7
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libXgesture.so
102 %{_libdir}/libXgesture.la
103 %{_includedir}/X11/extensions/gesture.h
104 %{_pkgconfigdir}/xgesture.pc
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/libXgesture.a
This page took 0.043592 seconds and 2 git commands to generate.