2024-01-05 20:43:27 +01:00
|
|
|
Name: awka
|
|
|
|
Version: 0.7.5
|
2024-01-05 20:43:28 +01:00
|
|
|
Release: 4mamba
|
2024-01-05 20:43:27 +01:00
|
|
|
Summary: Translator of the AWK programming language to ANSI-C
|
|
|
|
Group: Applications/Text
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 20:43:28 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:43:27 +01:00
|
|
|
URL: http://awka.sourceforge.net/
|
|
|
|
Source: http://awka.sourceforge.net/%{name}-%{version}.tar.gz
|
|
|
|
Patch: awka-%{version}-DESTDIR.patch
|
|
|
|
License: GPL
|
2024-01-05 20:43:28 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 20:43:27 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Awka is an open-source implementation of the AWK programming language and is actually two products:
|
|
|
|
- the AWK to C translator
|
|
|
|
- a library against which the C code is linked
|
|
|
|
Awka is not an interpreter like Gawk, Mawk or Nawk, but instead it converts the program to ANSI-C, then compiles this using gcc or a native C compiler to create a binary executable. This means you must have an ANSI C compiler present on your system for Awka to work.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
2024-01-05 20:43:28 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 20:43:27 +01:00
|
|
|
|
|
|
|
%description devel
|
2024-01-05 20:43:28 +01:00
|
|
|
This package contains static libraries needed for development.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-05 20:43:27 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/awka
|
2024-01-05 20:43:28 +01:00
|
|
|
%{_libdir}/libawka.so
|
|
|
|
%{_mandir}/man1/awka.1*
|
|
|
|
%{_mandir}/man5/awka-elm.5*
|
|
|
|
%{_mandir}/man5/awka-elmref.5*
|
|
|
|
%doc GPL.txt
|
2024-01-05 20:43:27 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:43:28 +01:00
|
|
|
%{_includedir}/libawka.h
|
2024-01-05 20:43:27 +01:00
|
|
|
%{_libdir}/libawka.a
|
2024-01-05 20:43:28 +01:00
|
|
|
%doc ACKNOWLEDGEMENTS CHANGELOG.txt PROBLEMS.txt README.txt TODO.txt
|
2024-01-05 20:43:27 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:43:28 +01:00
|
|
|
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.5-4mamba
|
|
|
|
- rebuilt with debug package, build requirements and other fixes
|
|
|
|
|
2024-01-05 20:43:27 +01:00
|
|
|
* Wed Aug 28 2013 Automatic Build System <autodist@mambasoft.it> 0.7.5-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Oct 28 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.7.5-2mamba
|
|
|
|
- rebuild
|
|
|
|
- update Group in devel package
|
|
|
|
|
|
|
|
* Wed Nov 16 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.7.5-1qilnx
|
|
|
|
- package created by autospec
|