This commit is contained in:
parent
4eb83d2680
commit
03c49c55b3
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 7 13:48:57 CET 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- added [t]ethereal symlinks [#252117]
|
||||||
|
- cleaned spec file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 7 10:56:50 CET 2007 - prusnak@suse.cz
|
Wed Feb 7 10:56:50 CET 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ Group: Productivity/Networking/Diagnostic
|
|||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Summary: A Network Traffic Analyser
|
Summary: A Network Traffic Analyser
|
||||||
Version: 0.99.5
|
Version: 0.99.5
|
||||||
Release: 2
|
Release: 7
|
||||||
URL: http://www.wireshark.org/
|
URL: http://www.wireshark.org/
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}.desktop
|
Source1: %{name}.desktop
|
||||||
@ -120,41 +120,35 @@ cd wiretap
|
|||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
cd ..
|
cd ..
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fstack-protector" ./configure \
|
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
||||||
--prefix=%{_prefix} \
|
%configure \
|
||||||
--sysconfdir=%{_sysconfdir} \
|
--enable-gtk2 \
|
||||||
--mandir=%{_mandir} \
|
--enable-ipv6 \
|
||||||
--libdir=%{_libdir} \
|
--with-pcap \
|
||||||
--enable-gtk2 \
|
--with-zlib \
|
||||||
--enable-ipv6 \
|
--with-pcre \
|
||||||
--with-pcap \
|
--with-ssl \
|
||||||
--with-zlib \
|
--with-net-snmp \
|
||||||
--with-pcre \
|
--with-krb5 \
|
||||||
--with-ssl \
|
--with-adns
|
||||||
--with-net-snmp \
|
|
||||||
--with-krb5 \
|
|
||||||
--with-adns
|
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make "DESTDIR=$RPM_BUILD_ROOT" install
|
make "DESTDIR=$RPM_BUILD_ROOT" install
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/etc
|
ln -fs wireshark $RPM_BUILD_ROOT%{_bindir}/ethereal
|
||||||
|
ln -fs tshark $RPM_BUILD_ROOT%{_bindir}/tethereal
|
||||||
|
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1/
|
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||||
install -m 644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
install -m 644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||||
%if %suse_version > 899
|
%suse_update_desktop_file -i wireshark System Network
|
||||||
%suse_update_desktop_file -i wireshark System Network
|
|
||||||
%else
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/share/applications/
|
|
||||||
install -m 644 Wireshark.desktop $RPM_BUILD_ROOT/usr/share/applications/
|
|
||||||
%endif
|
|
||||||
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/usr/include/wireshark
|
install -d -m 755 $RPM_BUILD_ROOT%{_includedir}/wireshark
|
||||||
for i in `cat %{S:3}`; do
|
for i in `cat %{S:3}`; do
|
||||||
install -m 644 $i $RPM_BUILD_ROOT/usr/include/wireshark
|
install -m 644 $i $RPM_BUILD_ROOT%{_includedir}/wireshark
|
||||||
done
|
done
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%run_ldconfig
|
%run_ldconfig
|
||||||
@ -167,22 +161,25 @@ rm -rf %{buildroot}
|
|||||||
%doc AUTHORS COPYING NEWS README*
|
%doc AUTHORS COPYING NEWS README*
|
||||||
%{_mandir}/man1/[^i]*
|
%{_mandir}/man1/[^i]*
|
||||||
%{_mandir}/man4/*
|
%{_mandir}/man4/*
|
||||||
/usr/share/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
/usr/share/pixmaps/wireshark.png
|
%{_datadir}/pixmaps/wireshark.png
|
||||||
/usr/bin/[^i]*
|
%{_bindir}/[^i]*
|
||||||
/usr/%{_lib}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
/usr/%{_lib}/wireshark
|
%{_libdir}/wireshark
|
||||||
/usr/share/wireshark
|
%{_datadir}/wireshark
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/README.*
|
%doc doc/README.*
|
||||||
%{_prefix}/include/wireshark
|
%{_includedir}/wireshark
|
||||||
/usr/%{_lib}/*.so
|
%{_libdir}/*.so
|
||||||
/usr/bin/idl2wrs
|
%{_bindir}/idl2wrs
|
||||||
%{_mandir}/man1/idl2wrs*
|
%{_mandir}/man1/idl2wrs*
|
||||||
|
|
||||||
%changelog -n wireshark
|
%changelog
|
||||||
|
* Wed Mar 07 2007 - prusnak@suse.cz
|
||||||
|
- added [t]ethereal symlinks [#252117]
|
||||||
|
- cleaned spec file
|
||||||
* Wed Feb 07 2007 - prusnak@suse.cz
|
* Wed Feb 07 2007 - prusnak@suse.cz
|
||||||
- fix SSL support [#242738]
|
- fix SSL support [#242738]
|
||||||
- fix build warnings in dissector's code (dissectors.patch)
|
- fix build warnings in dissector's code (dissectors.patch)
|
||||||
|
Loading…
Reference in New Issue
Block a user