crrcsim/crrcsim.spec

70 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: crrcsim
Version: 0.9.13
Release: 1mamba
Summary: CRRCSim is a model-airplane flight simulation program for Linux with ports to other platforms.
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://18382.whserv.de/admin/index.php
Source: https://downloads.sourceforge.net/project/crrcsim/crrcsim/crrcsim-%{version}/crrcsim-%{version}.tar.gz
Patch0: crrcsim-0.9.13-gcc-7.patch
Patch1: crrcsim-0.9.13-issue-41.patch
Patch2: crrcsim-0.9.13-aarch64-support-added.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libgcc
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel
BuildRequires: libjpeg-devel
BuildRequires: libplib-devel
BuildRequires: libportaudio-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description
CRRCSim is a model-airplane flight simulation program for Linux with ports to other platforms. Using CRRCSim you can learn how to fly model aircraft, test new aircraft designs, and improve your skills by practicing in the relative safety of your pc.
%debug_package
%prep
%setup -q
%patch 0 -p1 -b .gcc-7
%patch 1 -p1 -b .issue-41
%patch 2 -p1 -b .aarch64-support-added
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/crrcsim
%dir %{_datadir}/crrcsim
%{_datadir}/crrcsim/*
%dir %{_docdir}/crrcsim
%{_docdir}/crrcsim/*
%{_mandir}/man1/crrcsim.1*
%doc AUTHORS COPYING
%changelog
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 0.9.13-1mamba
- automatic version update by autodist
* Sun Apr 01 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.12-2mamba
- added buildrequires
* Sun Apr 01 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.12-1mamba
- package created by autospec