1 Summary: XFree86-DGA extension client library
2 Summary(pl.UTF-8): Biblioteka kliencka rozszerzenia XFree86-DGA
3 Name: xorg-lib-libXxf86dga
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)
26 XFree86-DGA (Direct Graphics Access) extension client library.
28 %description -l pl.UTF-8
29 Biblioteka kliencka rozszerzenia XFree86-DGA (Direct Graphics Access -
30 bezpośredniego dostępu do grafiki).
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
42 This package contains the header files needed to develop programs that
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.
50 Summary: Static libXxf86dga library
51 Summary(pl.UTF-8): Biblioteka statyczna libXxf86dga
52 Group: X11/Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 This package contains the static libXxf86dga library.
58 %description static -l pl.UTF-8
59 Pakiet zawiera statyczną bibliotekę libXxf86dga.
62 %setup -q -n libXxf86dga-%{version}
64 # support __libmansuffix__ with "x" suffix (per FHS 2.3)
65 %{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
83 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
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
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*
108 %defattr(644,root,root,755)
109 %{_libdir}/libXxf86dga.a