From ddb7958f40edf83fd82c2b502a3bf3d65447c02e Mon Sep 17 00:00:00 2001 From: Alessandro Menti Date: Sat, 2 Dec 2017 17:47:05 +0100 Subject: [PATCH] Remove old .spec files Remove old SuSE/Red Hat packaging files (in line with what was done in commit ef66ba in FlightGear). --- package/RedHat/README | 13 -------- package/openSUSE/README | 23 ------------- package/openSUSE/SimGear.spec | 63 ----------------------------------- 3 files changed, 99 deletions(-) delete mode 100644 package/RedHat/README delete mode 100644 package/openSUSE/README delete mode 100644 package/openSUSE/SimGear.spec diff --git a/package/RedHat/README b/package/RedHat/README deleted file mode 100644 index e034f938..00000000 --- a/package/RedHat/README +++ /dev/null @@ -1,13 +0,0 @@ -Building a SimGear RPM package for Red Hat - -Please see the "package/openSUSE" directory for an -example how to build a SimGear RPM package with -shared SimGear libraries. - -You may need to adapt the names (exact spelling) of some -of the package dependencies in the openSUSE RPM spec, -since these may slightly differ for Red Hat. - -(If you have a working and tested Red Hat RPM spec, -you're welcome to contribute it to this project.) - diff --git a/package/openSUSE/README b/package/openSUSE/README deleted file mode 100644 index 11517209..00000000 --- a/package/openSUSE/README +++ /dev/null @@ -1,23 +0,0 @@ -Building a SimGear RPM package for openSUSE - -(Last tested with openSUSE 11.4+12.1) - -This directory contains the files which, along with -the source code tar files, can be used to build -an RPM package targeted at an openSUSE Linux system. - -To build SimGear from source do the following: - -1. obtain simgear-2.8.0.tar.bz2 (adapt version if - necessary) and copy it into ~/rpmbuild/SOURCES - -2. look in the BuildRequires section of SimGear.spec - and check that all the packages referred to are - installed (note, some of these packages may be part - of openSUSE's "games" repository). - -3. run 'rpmbuild -ba simgear.spec' and find the RPM - build result in ~/rpmbuild/RPMS - -That's all! - diff --git a/package/openSUSE/SimGear.spec b/package/openSUSE/SimGear.spec deleted file mode 100644 index 2fc0621a..00000000 --- a/package/openSUSE/SimGear.spec +++ /dev/null @@ -1,63 +0,0 @@ -Summary: Simulator Construction Gear -Name: SimGear -Version: 2.8.0 -Release: 1 -License: LGPL -URL: http://www.flightgear.org -Group: Amusements/Games/3D/Simulation -Source: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/simgear-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -BuildRequires: gcc, gcc-c++, cmake -BuildRequires: libopenal1-soft, openal-soft -BuildRequires: libOpenSceneGraph-devel >= 3.0 -BuildRequires: zlib, zlib-devel -BuildRequires: libjpeg62, libjpeg62-devel -BuildRequires: boost-devel >= 1.37 -BuildRequires: subversion-devel, libapr1-devel -Requires: OpenSceneGraph-plugins >= 3.0 - -%description -This package contains a tools and libraries useful for constructing -simulation and visualization applications such as FlightGear or TerraGear. - -%package devel -Group: Development/Libraries/Other -Summary: Development header files for SimGear -Requires: SimGear = %{version} - -%description devel -Development headers and libraries for building applications against SimGear. - -%prep -%setup -T -q -n simgear-%{version} -b 0 - -%build -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" -# build SHARED simgear libraries -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DSIMGEAR_SHARED:BOOL=ON -DENABLE_TESTS:BOOL=OFF -DJPEG_FACTORY:BOOL=ON -make %{?_smp_mflags} - -%install -make DESTDIR=%{buildroot} install - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr (-, root, root, -) -%doc AUTHORS COPYING ChangeLog NEWS README -%{_libdir}/libSimGear*.so.* - -%files devel -%defattr(-,root,root,-) -%dir %{_includedir}/simgear -%{_includedir}/simgear/* -%{_libdir}/libSimGear*.so - -%changelog -* Mon Jul 02 2012 thorstenb@flightgear.org -- Initial version -