]> git.pld-linux.org Git - packages/xorg-lib-libXxf86dga.git/blob - xorg-lib-libXxf86dga.spec
- updated to 1.1.6
[packages/xorg-lib-libXxf86dga.git] / xorg-lib-libXxf86dga.spec
1 Summary:        XFree86-DGA extension client library
2 Summary(pl.UTF-8):      Biblioteka kliencka rozszerzenia XFree86-DGA
3 Name:           xorg-lib-libXxf86dga
4 Version:        1.1.6
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/libXxf86dga-%{version}.tar.xz
9 # Source0-md5:  74d1acf93b83abeb0954824da0ec400b
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  sed >= 4.0
16 BuildRequires:  tar >= 1:1.22
17 BuildRequires:  xorg-lib-libX11-devel >= 1.6
18 BuildRequires:  xorg-lib-libXext-devel
19 BuildRequires:  xorg-proto-xextproto-devel
20 BuildRequires:  xorg-proto-xf86dgaproto-devel >= 2.0.99.2
21 BuildRequires:  xorg-proto-xproto-devel
22 BuildRequires:  xorg-util-util-macros >= 1.8
23 BuildRequires:  xz
24 Requires:       xorg-lib-libX11 >= 1.6
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 XFree86-DGA (Direct Graphics Access) extension client library.
29
30 %description -l pl.UTF-8
31 Biblioteka kliencka rozszerzenia XFree86-DGA (Direct Graphics Access -
32 bezpośredniego dostępu do grafiki).
33
34 %package devel
35 Summary:        Header files for libXxf86dga library
36 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libXxf86dga
37 Group:          X11/Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       xorg-lib-libX11-devel >= 1.6
40 Requires:       xorg-lib-libXext-devel
41 Requires:       xorg-proto-xf86dgaproto-devel >= 2.0.99.2
42
43 %description devel
44 This package contains the header files needed to develop programs that
45 use libXxf86dga.
46
47 %description devel -l pl.UTF-8
48 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
49 używających biblioteki libXxf86dga.
50
51 %package static
52 Summary:        Static libXxf86dga library
53 Summary(pl.UTF-8):      Biblioteka statyczna libXxf86dga
54 Group:          X11/Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 This package contains the static libXxf86dga library.
59
60 %description static -l pl.UTF-8
61 Pakiet zawiera statyczną bibliotekę libXxf86dga.
62
63 %prep
64 %setup -q -n libXxf86dga-%{version}
65
66 # support __libmansuffix__ with "x" suffix (per FHS 2.3)
67 %{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
68
69 %build
70 %{__libtoolize}
71 %{__aclocal}
72 %{__autoconf}
73 %{__autoheader}
74 %{__automake}
75 %configure
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.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 COPYING ChangeLog README.md
96 %attr(755,root,root) %{_libdir}/libXxf86dga.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libXxf86dga.so.1
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libXxf86dga.so
102 %{_includedir}/X11/extensions/Xxf86dga.h
103 %{_includedir}/X11/extensions/xf86dga1.h
104 %{_pkgconfigdir}/xxf86dga.pc
105 %{_mandir}/man3/XDGA*.3*
106 %{_mandir}/man3/XF86DGA.3*
107 %{_mandir}/man3/XFree86-DGA.3*
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/libXxf86dga.a
This page took 0.08178 seconds and 3 git commands to generate.