]> git.pld-linux.org Git - packages/ax25-apps.git/blobdiff - ax25-apps.spec
- added optflags patch, updated URLs and build
[packages/ax25-apps.git] / ax25-apps.spec
index f22f1365214c5280e2dd5d311d5d7ec371e6fb12..d9f15eb1e19c0a238f45005fc3bfecb41c37d0a7 100644 (file)
@@ -2,22 +2,23 @@ Summary:      ax25 tools for hamradio
 Summary(pl.UTF-8):     Narzędzia ax25 dla hamradio
 Name:          ax25-apps
 Version:       0.0.6
-Release:       5
-License:       GPL
+Release:       6
+License:       GPL v2+
 Group:         Applications/Communications
-Source0:       http://dl.sourceforge.net/ax25/%{name}-%{version}.tar.gz
+Source0:       https://downloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz
 # Source0-md5: 47d9a775890f3694cf47659423a69ae5
-URL:           http://ax25.sourceforge.net/
+Patch0:                %{name}-optflags.patch
+URL:           https://ax25.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: libax25-devel
+BuildRequires: libax25-devel >= 0.0.8
 BuildRequires: libtool
 BuildRequires: ncurses-devel
 BuildRequires: zlib-devel
 Requires:      ax25-tools >= 0.0.8
 Requires:      libax25 >= 0.0.9
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Conflicts:     kernel <= 2.2.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Applications to test our AX25 connects.
@@ -27,14 +28,14 @@ Aplikacje testujące sprawność połączeń protokołu AX25.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-rm -f missing
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-AM_CFLAGS="-I/usr/include/ncurses"; export AM_CFLAGS
+CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
 %configure
 %{__make}
 
@@ -44,14 +45,28 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install installconf \
        DESTDIR=$RPM_BUILD_ROOT
 
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ax25-apps
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 # note: ax25ipd/COPYING.ax25ipd contains notes other than GPL
-%doc AUTHORS ChangeLog NEWS README ax25*/{COPYING,HISTORY,README}.ax25*
-%{_sysconfdir}/ax25/*
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man[158]/*
+%doc AUTHORS ChangeLog NEWS README ax25ipd/{COPYING,HISTORY,README}.ax25ipd ax25rtd/{README,TODO}.ax25rtd
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25ipd.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25mond.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25rtd.conf
+%attr(755,root,root) %{_bindir}/call
+%attr(755,root,root) %{_bindir}/listen
+%attr(755,root,root) %{_sbindir}/ax25ipd
+%attr(755,root,root) %{_sbindir}/ax25mond
+%attr(755,root,root) %{_sbindir}/ax25rtctl
+%attr(755,root,root) %{_sbindir}/ax25rtd
+%{_mandir}/man1/call.1*
+%{_mandir}/man1/listen.1*
+%{_mandir}/man5/ax25ipd.conf.5*
+%{_mandir}/man5/ax25mond.conf.5*
+%{_mandir}/man8/ax25ipd.8*
+%{_mandir}/man8/ax25mond.8*
This page took 0.147692 seconds and 4 git commands to generate.