]> git.pld-linux.org Git - packages/ax25-apps.git/blob - ax25-apps.spec
- added optflags patch, updated URLs and build
[packages/ax25-apps.git] / ax25-apps.spec
1 Summary:        ax25 tools for hamradio
2 Summary(pl.UTF-8):      Narzędzia ax25 dla hamradio
3 Name:           ax25-apps
4 Version:        0.0.6
5 Release:        6
6 License:        GPL v2+
7 Group:          Applications/Communications
8 Source0:        https://downloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz
9 # Source0-md5:  47d9a775890f3694cf47659423a69ae5
10 Patch0:         %{name}-optflags.patch
11 URL:            https://ax25.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libax25-devel >= 0.0.8
15 BuildRequires:  libtool
16 BuildRequires:  ncurses-devel
17 BuildRequires:  zlib-devel
18 Requires:       ax25-tools >= 0.0.8
19 Requires:       libax25 >= 0.0.9
20 Conflicts:      kernel <= 2.2.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Applications to test our AX25 connects.
25
26 %description -l pl.UTF-8
27 Aplikacje testujące sprawność połączeń protokołu AX25.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32
33 %build
34 %{__libtoolize}
35 %{__aclocal}
36 %{__autoconf}
37 %{__automake}
38 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install installconf \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 # packaged as %doc
49 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ax25-apps
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 # note: ax25ipd/COPYING.ax25ipd contains notes other than GPL
57 %doc AUTHORS ChangeLog NEWS README ax25ipd/{COPYING,HISTORY,README}.ax25ipd ax25rtd/{README,TODO}.ax25rtd
58 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25ipd.conf
59 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25mond.conf
60 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25rtd.conf
61 %attr(755,root,root) %{_bindir}/call
62 %attr(755,root,root) %{_bindir}/listen
63 %attr(755,root,root) %{_sbindir}/ax25ipd
64 %attr(755,root,root) %{_sbindir}/ax25mond
65 %attr(755,root,root) %{_sbindir}/ax25rtctl
66 %attr(755,root,root) %{_sbindir}/ax25rtd
67 %{_mandir}/man1/call.1*
68 %{_mandir}/man1/listen.1*
69 %{_mandir}/man5/ax25ipd.conf.5*
70 %{_mandir}/man5/ax25mond.conf.5*
71 %{_mandir}/man8/ax25ipd.8*
72 %{_mandir}/man8/ax25mond.8*
This page took 0.083175 seconds and 4 git commands to generate.