%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libfap
Version: 1.5
Release: alt1_5
Summary: An APRS parser written in C
Group: Communications
License: GPL+ or Artistic
URL: http://pakettiradio.net/libfap/
Source0: http://pakettiradio.net/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz
Source44: import.info
%description
libfap is an APRS (Amateur Packet Reporting System) parser that can decode
normal, mic-e and compressed location packets, NMEA location packets,
objects, items, messages, telemetry and most weather packets.
%package devel
Summary: Development files for %{name}
Group: Development/Other
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure --disable-static
%make_build
%check
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%files
%doc AUTHORS ChangeLog COPYING README THANKS licenses/*.txt
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 1.5-alt1_5
- update to new release by fcimport
* Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 1.5-alt1_3
- update to new release by fcimport
* Mon Feb 15 2016 Igor Vlasenko <viy@altlinux.ru> 1.5-alt1_2
- update to new release by fcimport
* Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 1.5-alt1_1
- update to new release by fcimport
* Tue Jan 13 2015 Igor Vlasenko <viy@altlinux.ru> 1.4-alt1_1
- update to new release by fcimport
* Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_6
- update to new release by fcimport
* Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_5
- update to new release by fcimport
* Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_4
- update to new release by fcimport
* Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_3
- update to new release by fcimport
* Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_2
- update to new release by fcimport
* Tue Feb 21 2012 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_1
- update to new release by fcimport
* Wed Feb 01 2012 Igor Vlasenko <viy@altlinux.ru> 1.2-alt2_2
- update to new release by fcimport
* Fri Dec 23 2011 Igor Vlasenko <viy@altlinux.ru> 1.2-alt2_1
- spec cleanup thanks to ldv@
* Sat Dec 17 2011 Igor Vlasenko <viy@altlinux.ru> 1.2-alt1_1
- initial import by fcimport