6 |
Name: libxdamage |
Name: libxdamage |
7 |
Summary: X Damage Library |
Summary: X Damage Library |
8 |
Version: 1.1.3 |
Version: 1.1.3 |
9 |
Release: %mkrel 1 |
Release: %mkrel 2 |
10 |
Group: Development/X11 |
Group: Development/X11 |
11 |
License: MIT |
License: MIT |
12 |
URL: http://xorg.freedesktop.org |
URL: http://xorg.freedesktop.org |
17 |
BuildRequires: x11-proto-devel >= 1.2.0 |
BuildRequires: x11-proto-devel >= 1.2.0 |
18 |
BuildRequires: x11-util-macros >= 1.0.1 |
BuildRequires: x11-util-macros >= 1.0.1 |
19 |
|
|
|
BuildRoot: %{_tmppath}/%{name}-root |
|
|
|
|
20 |
%description |
%description |
21 |
X Damage Library. |
X Damage Library. |
22 |
|
|
32 |
X Damage Library. |
X Damage Library. |
33 |
|
|
34 |
%files -n %{libname} |
%files -n %{libname} |
|
%defattr(-,root,root) |
|
35 |
%{_libdir}/libXdamage.so.%{major}* |
%{_libdir}/libXdamage.so.%{major}* |
36 |
|
|
37 |
#----------------------------------------------------------- |
#----------------------------------------------------------- |
56 |
fi |
fi |
57 |
|
|
58 |
%files -n %{develname} |
%files -n %{develname} |
|
%defattr(-,root,root) |
|
59 |
%{_libdir}/libXdamage.so |
%{_libdir}/libXdamage.so |
|
%{_libdir}/libXdamage.la |
|
60 |
%{_libdir}/pkgconfig/xdamage.pc |
%{_libdir}/pkgconfig/xdamage.pc |
61 |
%{_includedir}/X11/extensions/Xdamage.h |
%{_includedir}/X11/extensions/Xdamage.h |
62 |
|
|
75 |
Static development files for %{name}. |
Static development files for %{name}. |
76 |
|
|
77 |
%files -n %{staticdevelname} |
%files -n %{staticdevelname} |
|
%defattr(-,root,root) |
|
78 |
%{_libdir}/libXdamage.a |
%{_libdir}/libXdamage.a |
79 |
|
|
80 |
#----------------------------------------------------------- |
#----------------------------------------------------------- |
83 |
%setup -q -n libXdamage-%{version} |
%setup -q -n libXdamage-%{version} |
84 |
|
|
85 |
%build |
%build |
86 |
%configure2_5x --x-includes=%{_includedir}\ |
%configure2_5x --disable-static |
|
--x-libraries=%{_libdir} |
|
|
|
|
87 |
%make |
%make |
88 |
|
|
89 |
%install |
%install |
|
rm -rf %{buildroot} |
|
90 |
%makeinstall_std |
%makeinstall_std |
91 |
|
|
92 |
%clean |
rm -f %{buildroot}%{_libdir}/*.la |
|
rm -rf %{buildroot} |
|
93 |
|
|