Группа :: Коммуникации
Пакет: libfap
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libfap
Version: 1.5
Release: alt1_3
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
%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
…
Полный changelog можно просмотреть здесь
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libfap
Version: 1.5
Release: alt1_3
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
%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
…
Полный changelog можно просмотреть здесь