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