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