]>
Commit | Line | Data |
---|---|---|
5c79f133 | 1 | Summary: X Damage extension library |
6d511b09 | 2 | Summary(pl.UTF-8): Biblioteka rozszerzenia X Damage |
5c79f133 | 3 | Name: xorg-lib-libXdamage |
12164e84 JB |
4 | Version: 1.1.5 |
5 | Release: 1 | |
5c79f133 AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
12164e84 JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/lib/libXdamage-%{version}.tar.bz2 |
9 | # Source0-md5: e3f554267a7a04b042dc1f6352bd6d99 | |
10 | URL: https://xorg.freedesktop.org/ | |
6dacf543 | 11 | BuildRequires: autoconf >= 2.60 |
5c79f133 | 12 | BuildRequires: automake |
5c79f133 | 13 | BuildRequires: libtool |
d69a4c9e | 14 | BuildRequires: pkgconfig >= 1:0.19 |
12164e84 | 15 | BuildRequires: xorg-lib-libX11-devel |
ef24ef4e | 16 | BuildRequires: xorg-lib-libXfixes-devel |
1265c40f | 17 | BuildRequires: xorg-proto-damageproto-devel >= 1.1 |
12164e84 JB |
18 | BuildRequires: xorg-proto-fixesproto-devel |
19 | BuildRequires: xorg-proto-xextproto-devel | |
110130a9 | 20 | BuildRequires: xorg-util-util-macros >= 1.8 |
00cdd28d | 21 | Obsoletes: libXdamage |
39f95ee2 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5c79f133 | 23 | |
5c79f133 AM |
24 | %description |
25 | X Damage extension library. | |
26 | ||
2ccc129c | 27 | %description -l pl.UTF-8 |
5c79f133 AM |
28 | Biblioteka rozszerzenia X Damage. |
29 | ||
5c79f133 | 30 | %package devel |
f55f518e | 31 | Summary: Header files for libXdamage library |
6d511b09 | 32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXdamage |
5c79f133 | 33 | Group: X11/Development/Libraries |
ef24ef4e | 34 | Requires: %{name} = %{version}-%{release} |
12164e84 | 35 | Requires: xorg-lib-libX11-devel |
5c79f133 | 36 | Requires: xorg-lib-libXfixes-devel |
1265c40f | 37 | Requires: xorg-proto-damageproto-devel >= 1.1 |
00cdd28d | 38 | Obsoletes: libXdamage-devel |
5c79f133 AM |
39 | |
40 | %description devel | |
41 | X Damage extension library. | |
42 | ||
43 | This package contains the header files needed to develop programs that | |
f55f518e | 44 | use libXdamage. |
5c79f133 | 45 | |
2ccc129c | 46 | %description devel -l pl.UTF-8 |
5c79f133 AM |
47 | Biblioteka rozszerzenia X Damage. |
48 | ||
2ccc129c JR |
49 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
50 | używających biblioteki libXdamage. | |
5c79f133 | 51 | |
5c79f133 | 52 | %package static |
ef24ef4e | 53 | Summary: Static libXdamage library |
6d511b09 | 54 | Summary(pl.UTF-8): Biblioteka statyczna libXdamage |
5c79f133 | 55 | Group: Development/Libraries |
ef24ef4e | 56 | Requires: %{name}-devel = %{version}-%{release} |
00cdd28d | 57 | Obsoletes: libXdamage-static |
5c79f133 AM |
58 | |
59 | %description static | |
60 | X Damage extension library. | |
61 | ||
62 | This package contains the static libXdamage library. | |
63 | ||
2ccc129c | 64 | %description static -l pl.UTF-8 |
5c79f133 AM |
65 | Biblioteka rozszerzenia X Damage. |
66 | ||
2ccc129c | 67 | Pakiet zawiera statyczną bibliotekę libXdamage. |
5c79f133 | 68 | |
5c79f133 AM |
69 | %prep |
70 | %setup -q -n libXdamage-%{version} | |
71 | ||
5c79f133 AM |
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 | pkgconfigdir=%{_pkgconfigdir} | |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post -p /sbin/ldconfig | |
92 | %postun -p /sbin/ldconfig | |
93 | ||
5c79f133 AM |
94 | %files |
95 | %defattr(644,root,root,755) | |
12164e84 | 96 | %doc AUTHORS COPYING ChangeLog NEWS README.md |
ef24ef4e | 97 | %attr(755,root,root) %{_libdir}/libXdamage.so.*.*.* |
df12a059 | 98 | %attr(755,root,root) %ghost %{_libdir}/libXdamage.so.1 |
5c79f133 AM |
99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
ef24ef4e | 102 | %attr(755,root,root) %{_libdir}/libXdamage.so |
5c79f133 | 103 | %{_libdir}/libXdamage.la |
9c1cb35c | 104 | %{_includedir}/X11/extensions/Xdamage.h |
5c79f133 AM |
105 | %{_pkgconfigdir}/xdamage.pc |
106 | ||
5c79f133 AM |
107 | %files static |
108 | %defattr(644,root,root,755) | |
109 | %{_libdir}/libXdamage.a |