Mageia Bugzilla – Attachment 331 Details for
Bug 1089
Please import mtr package (network diagnostic tool)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Spec file
mtr.spec (text/x-rpm-spec), 5.35 KB, created by
Marianne Lombard
on 2011-05-01 20:51:59 CEST
(
hide
)
Description:
Spec file
Filename:
MIME Type:
Creator:
Marianne Lombard
Created:
2011-05-01 20:51:59 CEST
Size:
5.35 KB
patch
obsolete
>Summary: Ping/Traceroute network diagnostic tool >Name: mtr >Version: 0.80 >Release: %mkrel 1 >Group: Networking/Other >License: GPLv2+ >URL: http://www.bitwizard.nl/mtr >Source0: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz >#Patch0: mtr-0.71-underflow.patch >BuildRequires: imagemagick >BuildRequires: gtk2-devel ># fhimpe: otherwise it fails with error: possibly undefined macro: AM_PATH_GTK >BuildRequires: libgtk+2.0-devel >BuildRequires: ncurses-devel >BuildRequires: autoconf >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot > >%description >Mtr is a network diagnostic tool which combines Ping and Traceroute into one >program. Mtr also has two interfaces: An ncurses interface, useful for using >Mtr from a telnet session and a Gtk interface if you are using X. > >%package gtk >Summary: Ping/Traceroute network diagnostic tool - GTK Interface >Group: Networking/Other >Requires: mtr >Requires(post): desktop-file-utils >Requires(postun): desktop-file-utils > >%description gtk >This is the Gtk interface for the mtr network diagnostic tool. > >%prep > >%setup -q >#%patch0 -p0 -b .underflow > >%build >autoreconf >%configure2_5x \ > --enable-gtk2 > >%make && mv mtr xmtr && %make distclean > ># mmm, broken configure script >#export GTK_CONFIG=/dev/null >%configure2_5x \ > --without-gtk > >%make > >%install >rm -rf %{buildroot} > >install -d %{buildroot}%{_bindir} >install -d %{buildroot}%{_sbindir} >install -d %{buildroot}%{_mandir}/man8 >install -d %{buildroot}%{_miconsdir} >install -d %{buildroot}%{_iconsdir} >install -d %{buildroot}%{_liconsdir} >install -d %{buildroot}%{_menudir} > >%makeinstall_std > ># convert the icon >convert img/mtr_icon.xpm -size 16x16 %{buildroot}%{_miconsdir}/%{name}.png >convert img/mtr_icon.xpm -size 32x32 %{buildroot}%{_iconsdir}/%{name}.png >convert img/mtr_icon.xpm -size 48x48 %{buildroot}%{_liconsdir}/%{name}.png > >install -m755 xmtr %{buildroot}%{_bindir}/ > >ln -s ../sbin/mtr %{buildroot}%{_bindir}/mtr > ># XDG menu >install -d %{buildroot}%{_datadir}/applications >cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF >[Desktop Entry] >Name=Xmtr >Comment=Ping/Traceroute network diagnostic tool >Exec=%{_bindir}/xmtr >Icon=%{name} >Terminal=false >Type=Application >Categories=GTK;System;Monitor; >EOF > >%clean >rm -rf %{buildroot} > >%files >%defattr(-,root,root) >%doc AUTHORS COPYING FORMATS INSTALL NEWS README SECURITY TODO >%attr(4755,root,ntools) %{_bindir}/mtr >%attr(4755,root,ntools) %{_sbindir}/mtr >%{_mandir}/*/* > >%files gtk >%defattr(-,root,root) >%doc AUTHORS COPYING FORMATS INSTALL NEWS README SECURITY TODO >%attr(4755,root,ntools) %{_bindir}/xmtr >%{_iconsdir}/%{name}.png >%{_liconsdir}/%{name}.png >%{_miconsdir}/%{name}.png >%{_datadir}/applications/*.desktop > > >%changelog >* Sun May 01 2011 Marianne Lombard <marianne@tuxette.fr> 0.80-1mga1 >- importation in Mageia > >* Mon Oct 05 2009 Oden Eriksson <oeriksson@mandriva.com> 0.75-3mdv2010.0 >+ Revision: 453966 >- rediffed one fuzzy patch >- rebuild > > + Thierry Vignaud <tvignaud@mandriva.com> > - rebuild > >* Wed Oct 29 2008 Oden Eriksson <oeriksson@mandriva.com> 0.75-1mdv2009.1 >+ Revision: 298218 >- 0.75 >- drop redundant patches; P0,P1 > >* Wed Sep 03 2008 Oden Eriksson <oeriksson@mandriva.com> 0.74-1mdv2009.0 >+ Revision: 279782 >- 0.74 > >* Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.73-2mdv2009.0 >+ Revision: 268172 >- rebuild early 2009.0 package (before pixel changes) > > + Pixel <pixel@mandriva.com> > - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas > >* Fri May 23 2008 Frederik Himpe <fhimpe@mandriva.org> 0.73-1mdv2009.0 >+ Revision: 210729 >- Add BuildRequires: libgtk+-devel, otherwise %%configure fails >- New version (fixes CVE-2008-2357) >- Sync patches with Fedora > >* Sun Apr 13 2008 Oden Eriksson <oeriksson@mandriva.com> 0.72-4mdv2009.0 >+ Revision: 192661 >- fix #40044 (mtr-gtk was build without gtk support) > >* Fri Mar 14 2008 Oden Eriksson <oeriksson@mandriva.com> 0.72-3mdv2008.1 >+ Revision: 187831 >- fix deps (fixes #38873) >- build it against gtk2 > > + Olivier Blin <oblin@mandriva.com> > - restore BuildRoot > > + Thierry Vignaud <tvignaud@mandriva.com> > - kill re-definition of %%buildroot on Pixel's request > >* Sun Dec 02 2007 Funda Wang <fundawang@mandriva.org> 0.72-2mdv2008.1 >+ Revision: 114401 >- rebuild > > + Thierry Vignaud <tvignaud@mandriva.com> > - do not harcode icon extension > >* Mon May 21 2007 Antoine Ginies <aginies@mandriva.com> 0.72-1mdv2008.0 >+ Revision: 29466 >- release 0.72 > > >* Wed Mar 21 2007 Oden Eriksson <oeriksson@mandriva.com> 0.71-2mdv2007.1 >+ Revision: 147524 >- Import mtr > >* Wed Mar 21 2007 Oden Eriksson <oeriksson@mandriva.com> 0.71-2mdv2007.1 >- use the %%mkrel macro >- bunzip patches >- fix the xdg menu stuff > >* Mon Mar 27 2006 Oden Eriksson <oeriksson@mandriva.com> 0.71-1mdk >- 0.71 >- dropped P0, another fix is in there > >* Sun Feb 13 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.69-2mdk >- added P1 from fedora (fix for CVE-2002-0497) > >* Wed Feb 09 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.69-1mdk >- 0.69 > >* Mon Dec 27 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.67-2mdk >- make it compile on amd64 > >* Mon Dec 13 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.67-1mdk >- 0.67 > >* Wed Nov 24 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.65-1mdk >- 0.65 > >* Sat Jun 05 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.58-1mdk >- 0.58 >- use the %%configure2_5x macro >- misc spec file fixes >
Summary: Ping/Traceroute network diagnostic tool Name: mtr Version: 0.80 Release: %mkrel 1 Group: Networking/Other License: GPLv2+ URL: http://www.bitwizard.nl/mtr Source0: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz #Patch0: mtr-0.71-underflow.patch BuildRequires: imagemagick BuildRequires: gtk2-devel # fhimpe: otherwise it fails with error: possibly undefined macro: AM_PATH_GTK BuildRequires: libgtk+2.0-devel BuildRequires: ncurses-devel BuildRequires: autoconf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Mtr is a network diagnostic tool which combines Ping and Traceroute into one program. Mtr also has two interfaces: An ncurses interface, useful for using Mtr from a telnet session and a Gtk interface if you are using X. %package gtk Summary: Ping/Traceroute network diagnostic tool - GTK Interface Group: Networking/Other Requires: mtr Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description gtk This is the Gtk interface for the mtr network diagnostic tool. %prep %setup -q #%patch0 -p0 -b .underflow %build autoreconf %configure2_5x \ --enable-gtk2 %make && mv mtr xmtr && %make distclean # mmm, broken configure script #export GTK_CONFIG=/dev/null %configure2_5x \ --without-gtk %make %install rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_sbindir} install -d %{buildroot}%{_mandir}/man8 install -d %{buildroot}%{_miconsdir} install -d %{buildroot}%{_iconsdir} install -d %{buildroot}%{_liconsdir} install -d %{buildroot}%{_menudir} %makeinstall_std # convert the icon convert img/mtr_icon.xpm -size 16x16 %{buildroot}%{_miconsdir}/%{name}.png convert img/mtr_icon.xpm -size 32x32 %{buildroot}%{_iconsdir}/%{name}.png convert img/mtr_icon.xpm -size 48x48 %{buildroot}%{_liconsdir}/%{name}.png install -m755 xmtr %{buildroot}%{_bindir}/ ln -s ../sbin/mtr %{buildroot}%{_bindir}/mtr # XDG menu install -d %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF [Desktop Entry] Name=Xmtr Comment=Ping/Traceroute network diagnostic tool Exec=%{_bindir}/xmtr Icon=%{name} Terminal=false Type=Application Categories=GTK;System;Monitor; EOF %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS COPYING FORMATS INSTALL NEWS README SECURITY TODO %attr(4755,root,ntools) %{_bindir}/mtr %attr(4755,root,ntools) %{_sbindir}/mtr %{_mandir}/*/* %files gtk %defattr(-,root,root) %doc AUTHORS COPYING FORMATS INSTALL NEWS README SECURITY TODO %attr(4755,root,ntools) %{_bindir}/xmtr %{_iconsdir}/%{name}.png %{_liconsdir}/%{name}.png %{_miconsdir}/%{name}.png %{_datadir}/applications/*.desktop %changelog * Sun May 01 2011 Marianne Lombard <marianne@tuxette.fr> 0.80-1mga1 - importation in Mageia * Mon Oct 05 2009 Oden Eriksson <oeriksson@mandriva.com> 0.75-3mdv2010.0 + Revision: 453966 - rediffed one fuzzy patch - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - rebuild * Wed Oct 29 2008 Oden Eriksson <oeriksson@mandriva.com> 0.75-1mdv2009.1 + Revision: 298218 - 0.75 - drop redundant patches; P0,P1 * Wed Sep 03 2008 Oden Eriksson <oeriksson@mandriva.com> 0.74-1mdv2009.0 + Revision: 279782 - 0.74 * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.73-2mdv2009.0 + Revision: 268172 - rebuild early 2009.0 package (before pixel changes) + Pixel <pixel@mandriva.com> - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas * Fri May 23 2008 Frederik Himpe <fhimpe@mandriva.org> 0.73-1mdv2009.0 + Revision: 210729 - Add BuildRequires: libgtk+-devel, otherwise %%configure fails - New version (fixes CVE-2008-2357) - Sync patches with Fedora * Sun Apr 13 2008 Oden Eriksson <oeriksson@mandriva.com> 0.72-4mdv2009.0 + Revision: 192661 - fix #40044 (mtr-gtk was build without gtk support) * Fri Mar 14 2008 Oden Eriksson <oeriksson@mandriva.com> 0.72-3mdv2008.1 + Revision: 187831 - fix deps (fixes #38873) - build it against gtk2 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Dec 02 2007 Funda Wang <fundawang@mandriva.org> 0.72-2mdv2008.1 + Revision: 114401 - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - do not harcode icon extension * Mon May 21 2007 Antoine Ginies <aginies@mandriva.com> 0.72-1mdv2008.0 + Revision: 29466 - release 0.72 * Wed Mar 21 2007 Oden Eriksson <oeriksson@mandriva.com> 0.71-2mdv2007.1 + Revision: 147524 - Import mtr * Wed Mar 21 2007 Oden Eriksson <oeriksson@mandriva.com> 0.71-2mdv2007.1 - use the %%mkrel macro - bunzip patches - fix the xdg menu stuff * Mon Mar 27 2006 Oden Eriksson <oeriksson@mandriva.com> 0.71-1mdk - 0.71 - dropped P0, another fix is in there * Sun Feb 13 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.69-2mdk - added P1 from fedora (fix for CVE-2002-0497) * Wed Feb 09 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.69-1mdk - 0.69 * Mon Dec 27 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.67-2mdk - make it compile on amd64 * Mon Dec 13 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.67-1mdk - 0.67 * Wed Nov 24 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.65-1mdk - 0.65 * Sat Jun 05 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.58-1mdk - 0.58 - use the %%configure2_5x macro - misc spec file fixes
View Attachment As Raw
Actions:
View
Attachments on
bug 1089
: 331