Compare commits

..

4 Commits
master ... f17

Author SHA1 Message Date
Denis Arnaud 9ba580ea9c Bump the version to create a new build-root override 2012-12-23 20:32:09 +01:00
Denis Arnaud fe5405e70b [Sources] Suppressed deprecated source file entry in the sources file. 2012-12-23 10:18:18 +01:00
Denis Arnaud 326a61929b Upstream update 2012-12-23 10:12:58 +01:00
Denis Arnaud 9ec3c8cc63 Upstream update 2012-12-22 20:03:52 +01:00
3 changed files with 40 additions and 162 deletions

2
.gitignore vendored
View File

@ -6,5 +6,5 @@
/noarch/
/x86_64/
/i?86/
/tarballs/

View File

@ -1 +1 @@
SHA512 (stdair-1.00.8.tar.gz) = 216aa0d0c4a0f5ce19b3456051593313c7e913e7a704eb15fa178390e48fc5fdc6631149a4beb04cba379f2ba628d6bde85007d686242d00a7f77b958ac4168b
0d1bb004091c101015eff847fd85f332 stdair-1.00.1.tar.bz2

View File

@ -1,21 +1,20 @@
#
%global mydocs __tmp_docdir
#
Name: stdair
Version: 1.00.8
Version: 1.00.1
Release: 2%{?dist}
Summary: C++ Standard Airline IT Object Library
Group: System Environment/Libraries
License: LGPLv2+
URL: http://github.com/airsim/%{name}
Source0: %{url}/archive/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: python3-devel
BuildRequires: boost-devel
BuildRequires: boost-python3-devel
BuildRequires: soci-mysql-devel
BuildRequires: soci-sqlite3-devel
BuildRequires: readline-devel
URL: http://%{name}.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: cmake, python-devel
BuildRequires: boost-devel, soci-mysql-devel, zeromq-devel, readline-devel
%description
@ -32,12 +31,10 @@ modeling, mainly for simulation purpose.
%package devel
Summary: Header files, libraries and development helper tools for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
# The cmake files have Python version backed in them
Requires: (python(abi) = %{python3_version} if python3-devel)
%description devel
This package contains the header files, shared libraries and
development helper tools for %{name}. If you would like to develop
@ -45,10 +42,12 @@ programs using %{name}, you will need to install %{name}-devel.
%package doc
Summary: HTML documentation for the %{name} library
Group: Documentation
%if 0%{?fedora} || 0%{?rhel} > 5
BuildArch: noarch
%endif
BuildRequires: tex(latex)
BuildRequires: doxygen
BuildRequires: ghostscript
BuildRequires: doxygen, ghostscript
%description doc
This package contains HTML pages, as well as a PDF reference manual,
@ -58,31 +57,38 @@ online (http://%{name}.org).
%prep
%autosetup -n %{name}-%{name}-%{version}
%setup -q
%build
%cmake .
%make_build
make %{?_smp_mflags}
%install
%make_install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Fix some permissions
find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \;
mkdir -p %{mydocs}
mv $RPM_BUILD_ROOT%{_docdir}/%{name}/html %{mydocs}
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
rm -f %{mydocs}/html/installdox
# Remove additional documentation files (those files are already available
# in the project top directory)
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
%check
ctest
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc ChangeLog COPYING AUTHORS NEWS README.md
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/%{name}
%{_libdir}/lib%{name}.so.*
%{_libdir}/lib%{name}uicl.so.*
@ -116,6 +122,7 @@ ctest
%{_datadir}/%{name}/samples/QForecasting/*.csv
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_bindir}/%{name}-config
%{_libdir}/lib%{name}.so
@ -127,134 +134,14 @@ ctest
%{_mandir}/man3/%{name}-library.3.*
%files doc
%defattr(-,root,root,-)
%doc %{mydocs}/html
%doc COPYING
%changelog
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jul 11 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.8-1
- CMake support files updated for Python 3.8
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 24 2019 Jonathan Wakely <jwakely@redhat.com> - 1.00.7-3
- Rebuilt for Boost 1.69
* Thu Jan 17 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.7-2
- Fixed a typo in Python library directory
* Tue Jan 15 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.7-1
- Upstream update
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu May 10 2018 Jonathan Wakely <jwakely@redhat.com> - 1.00.6-4
- Add BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 22 2018 Jonathan Wakely <jwakely@redhat.com> - 1.00.6-2
- Rebuilt for Boost 1.66
* Sun Aug 06 2017 Denis Arnaud <denis_arnaud at users dot sourceforge dot net> - 1.00.6
- Fixed the FTBFS issue related to newer Boost Serialization (from 1.63).
Ref: StdAir issue #2 on GitHub (http://github.com/airsim/stdair/issues/2)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Sat Jul 29 2017 Filipe Rosset <rosset.filipe@gmail.com> - 1.00.5-5
- Spec clean up
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jul 23 2017 Björn Esser <besser82@fedoraproject.org> - 1.00.5-3
- Rebuilt for Boost 1.64
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
* Sun Feb 26 2017 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.5-1
- Upstream update
* Sat Feb 25 2017 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.2-12
- Attempt to fix the FTBFS issue related to new Boost 1.63 serialization
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue May 17 2016 Jonathan Wakely <jwakely@redhat.com> - 1.00.2-8
- Rebuilt for linker errors in boost (#1331983)
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 1.00.2-6
- Rebuilt for Boost 1.60
* Sat Aug 29 2015 Jonathan Wakely <jwakely@redhat.com> 1.00.2-5
- Patched and rebuilt for Boost 1.59
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.2-4
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.00.2-3
- rebuild for Boost 1.58
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun May 31 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.2-1
- Removed the dependency on ZeroMQ (only AirInv is dependent on it, not StdAir)
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.00.1-14
- Rebuilt for GCC 5 C++11 ABI change
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1.00.1-13
- Rebuild for boost 1.57.0
- Cmake should look for zmq.h, not zmq.hpp (stdair-1.00.1-cmake.patch)
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 14 2014 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-11
- Rebuild for ARM. It seems to work:
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2415169
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 1.00.1-9
- Rebuild for boost 1.55.0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Jul 29 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-7
- Fixed the docdir issue, following the F20 System Wide Change
- Fixed wrong dates in the changelog
* Sat Jul 27 2013 Petr Machata <pmachata@redhat.com> - 1.00.1-6
- Rebuild for boost 1.54.0
* Sun Jun 02 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-5
- Bump the version to be consistent with F19
* Wed May 22 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-4
- Rebuild for Soci-3.2.1
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-3
- Rebuild for Boost-1.53.0
* Wed Jan 02 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-2
- Bump the version to be consistent with F18
* Sun Dec 23 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-2
- Bump the version to create a new build-root override
* Sun Dec 23 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-1
- Upstream update
@ -262,15 +149,6 @@ ctest
* Sat Dec 22 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
- Upstream update
* Sun Aug 12 2012 Kevin Fenzi <kevin@scrye.com> - 0.45.1-4
- Rebuild for new boost
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45.1-2
- Rebuilt for c++ ABI breakage
* Sun Jan 15 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.45.1-1
- Upstream update
@ -286,7 +164,7 @@ ctest
* Sat Nov 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.44.1-1
- Upstream update
* Wed Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.44.0-1
* Tue Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.44.0-1
- Upstream update
* Tue Oct 18 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.43.1-1
@ -393,7 +271,7 @@ ctest
* Tue Jan 18 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.11.0-1
- Upstream update
* Wed Dec 29 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.10.0-1
* Thu Dec 29 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.10.0-1
- Upstream update
* Fri Dec 03 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.9.0-1
@ -417,6 +295,6 @@ ctest
* Sun Aug 29 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.3.0-1
- Upstream update
* Tue Jul 13 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.1.0-1
* Wed Jul 13 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.1.0-1
- First RPM release