On Tue, 05 Jun 2007 09:18:57 -0400, Gerry Reno wrote:
I have been wanting to see a VDE2 package for Fedora for a while
now
and so I took a little time to write a spec file for it. I have used it
to build fc6 i386 (my platform) RPMS/SRPM. Not sure if the fedora-devel
list is where I should submit these but I would like to contribute these
to Fedora as I think in light of increased QEMU usage that this would be
of interest to the general community and is a good candidate for having
it included in Fedora directly.
Gerry
A few findings:
Requires: libc.so.6(GLIBC_2.4), rpmlib(CompressedFileNames) <=
3.0.4-1, libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.0), libvde2, libc.so.6(GLIBC_2.1.3),
rtld(GNU_HASH), rpmlib(PayloadFilesHavePrefix) <= 4.0-1, libvdeplug.so.2,
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4)
Drop all these. They are automatically found and added by rpm-build.
# do not end description with a ./dot/period
Why not?
%package -n %{libname}-devel
Summary: VDE development libraries
Group: Development/Other
Requires: %libname = %version-%release
is missing here.
%files -n %{libname}
%{_libdir}/libvde*.so.*
%defattr is missing here.
%files -n %{libname}-devel
%defattr is missing here.
%{_includedir}/libvde*.h
%{_libdir}/libvde*.so
%{_libdir}/libvde*.*a
%{_libdir}/vde2/libvde*.so
%{_libdir}/vde2/libvde*.*a
%dir %{_libdir}/vde2
is missing here. The *.*a wildcards ought to be adjusted as not to
include static libraries.
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
are missing.