]> git.pld-linux.org Git - packages/dmt-ux.git/blob - dmt-ux.spec
- new
[packages/dmt-ux.git] / dmt-ux.spec
1 Summary:        DMT-UX - DSL Modem Tool for Unix
2 Name:           dmt-ux
3 Version:        0.178
4 Release:        1
5 License:        GPL v2
6 Group:          Applications/Networking
7 Source0:        http://www.spida.net/projects/software/dmt-ux/%{name}-%{version}.tgz
8 # Source0-md5:  fe496f30f777661a14e2d12a257c964e
9 URL:            http://www.spida.net/projects/software/dmt-ux/index.en.html
10 BuildRequires:  freetype-devel
11 BuildRequires:  libpng-devel
12 BuildRequires:  rrdtool
13 Requires:       fonts-TTF-bitstream-vera
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 DSL Modem Tool, as written by A. Matthoefer, is a very usefull tool
18 for diagnosing and tuning of dsl-modems. Sadly it is written for
19 Windows only, so I have started to reimplement it for Linux.
20
21 DMT-UX should be able to communicate with Thomson Speedtouch and all
22 compatible modems.
23
24 Features:
25 - DMT-UX reads technical information about the modem
26 - DMT-UX can show a graphical analysis of the line-quality logging of
27   changes of the line-quality and synchronisation
28
29 %prep
30 %setup -q
31
32 %{__sed} -i -e 's:./fonts/Vera.ttf:/usr/share/fonts/TTF/Vera.ttf:' dmt-ux.c
33
34 %build
35 CFLAGS="%{rpmcflags}" \
36 %{__make} \
37         CC="%{__cc}" \
38         _LDFLAGS="%{rpmldflags}"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_bindir}
43 install -p dmt-ux $RPM_BUILD_ROOT%{_bindir}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc doc/README
51 %attr(755,root,root) %{_bindir}/dmt-ux
This page took 0.061431 seconds and 3 git commands to generate.