From afa15aa805583accc9d9ff26379a2e287a4c6c87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 4 May 2012 14:26:17 +0000 Subject: [PATCH 1/1] - new Changed files: dmt-ux.spec -> 1.1 --- dmt-ux.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 dmt-ux.spec diff --git a/dmt-ux.spec b/dmt-ux.spec new file mode 100644 index 0000000..0f71338 --- /dev/null +++ b/dmt-ux.spec @@ -0,0 +1,51 @@ +Summary: DMT-UX - DSL Modem Tool for Unix +Name: dmt-ux +Version: 0.178 +Release: 1 +License: GPL v2 +Group: Applications/Networking +Source0: http://www.spida.net/projects/software/dmt-ux/%{name}-%{version}.tgz +# Source0-md5: fe496f30f777661a14e2d12a257c964e +URL: http://www.spida.net/projects/software/dmt-ux/index.en.html +BuildRequires: freetype-devel +BuildRequires: libpng-devel +BuildRequires: rrdtool +Requires: fonts-TTF-bitstream-vera +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +DSL Modem Tool, as written by A. Matthoefer, is a very usefull tool +for diagnosing and tuning of dsl-modems. Sadly it is written for +Windows only, so I have started to reimplement it for Linux. + +DMT-UX should be able to communicate with Thomson Speedtouch and all +compatible modems. + +Features: +- DMT-UX reads technical information about the modem +- DMT-UX can show a graphical analysis of the line-quality logging of + changes of the line-quality and synchronisation + +%prep +%setup -q + +%{__sed} -i -e 's:./fonts/Vera.ttf:/usr/share/fonts/TTF/Vera.ttf:' dmt-ux.c + +%build +CFLAGS="%{rpmcflags}" \ +%{__make} \ + CC="%{__cc}" \ + _LDFLAGS="%{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} +install -p dmt-ux $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc doc/README +%attr(755,root,root) %{_bindir}/dmt-ux -- 2.43.0