From 5edc233d8d991c0d5310d60d996f1b53f3661bdf Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Sep 01 2010 10:53:33 +0000 Subject: Add all header files from debian/wireshark-dev.header-files to the devel subpackage (except dissectors - they seem to be useless for plugin development) --- diff --git a/wireshark.spec b/wireshark.spec index aacc64f..713a90c 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -186,43 +186,20 @@ desktop-file-install --vendor fedora \ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps install -m 644 image/wsicon48.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/wireshark.png -#install devel files +#install devel files (inspired by debian/wireshark-dev.header-files) install -d -m 0755 $RPM_BUILD_ROOT/%{_includedir}/wireshark IDIR="${RPM_BUILD_ROOT}%{_includedir}/wireshark" mkdir -p "${IDIR}/epan" +mkdir -p "${IDIR}/epan/crypt" mkdir -p "${IDIR}/epan/ftypes" mkdir -p "${IDIR}/epan/dfilter" mkdir -p "${IDIR}/wiretap" -install -m 644 color.h "${IDIR}/" -install -m 644 register.h "${IDIR}/" -install -m 644 epan/packet.h "${IDIR}/epan/" -install -m 644 epan/prefs.h "${IDIR}/epan/" -install -m 644 epan/proto.h "${IDIR}/epan/" -install -m 644 epan/tvbuff.h "${IDIR}/epan/" -install -m 644 epan/pint.h "${IDIR}/epan/" -install -m 644 epan/to_str.h "${IDIR}/epan/" -install -m 644 epan/value_string.h "${IDIR}/epan/" -install -m 644 epan/column_info.h "${IDIR}/epan/" -install -m 644 epan/frame_data.h "${IDIR}/epan/" -install -m 644 epan/packet_info.h "${IDIR}/epan/" -install -m 644 epan/column-utils.h "${IDIR}/epan/" -install -m 644 epan/epan.h "${IDIR}/epan/" -install -m 644 epan/range.h "${IDIR}/epan/" -install -m 644 epan/ipv4.h "${IDIR}/epan" -install -m 644 epan/nstime.h "${IDIR}/epan/" -install -m 644 epan/ipv6-utils.h "${IDIR}/epan/" -install -m 644 epan/guid-utils.h "${IDIR}/epan/" -install -m 644 epan/exceptions.h "${IDIR}/epan/" -install -m 644 epan/address.h "${IDIR}/epan/" -install -m 644 epan/slab.h "${IDIR}/epan/" -install -m 644 epan/tfs.h "${IDIR}/epan/" -install -m 644 epan/except.h "${IDIR}/epan/" -install -m 644 epan/emem.h "${IDIR}/epan/" -install -m 644 epan/ftypes/ftypes.h "${IDIR}/epan/ftypes/" -install -m 644 epan/dfilter/dfilter.h "${IDIR}/epan/dfilter/" -install -m 644 epan/dfilter/drange.h "${IDIR}/epan/dfilter/" -install -m 644 wiretap/wtap.h "${IDIR}/wiretap/" - +install -m 644 color.h config.h register.h "${IDIR}/" +install -m 644 epan/*.h "${IDIR}/epan/" +install -m 644 epan/crypt/*.h "${IDIR}/epan/crypt" +install -m 644 epan/ftypes/*.h "${IDIR}/epan/ftypes" +install -m 644 epan/dfilter/*.h "${IDIR}/epan/dfilter" +install -m 644 wiretap/*.h "${IDIR}/wiretap" # Create pkg-config control file. mkdir -p "${RPM_BUILD_ROOT}%{_libdir}/pkgconfig"