License: MIT
Summary: X Damage extension library
Url: http://www.x.org
-Group: System Environment/Libraries
-
+Group: Graphics/X Window System
Source: %{name}-%{version}.tar.bz2
+Source1001: libXdamage.manifest
BuildRequires: pkgconfig(damageproto) >= 1.1.0
BuildRequires: pkgconfig(xextproto)
%prep
%setup -q
+cp %{SOURCE1001} .
%build
-%configure --disable-static \
- LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+%configure --disable-static
make %{?_smp_mflags}
%install
%remove_docs
%post -p /sbin/ldconfig
+
%postun -p /sbin/ldconfig
%files
+%manifest %{name}.manifest
%defattr(-,root,root,-)
-%doc COPYING
+%license COPYING
%{_libdir}/libXdamage.so.1
%{_libdir}/libXdamage.so.1.1.0
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/X11/extensions/Xdamage.h
%{_libdir}/libXdamage.so
-%{_libdir}/pkgconfig/xdamage.p
+%{_libdir}/pkgconfig/xdamage.pc