Compare commits

...

11 Commits
f28 ... master

Author SHA1 Message Date
Fedora Release Engineering 6a05d52629 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 00:14:29 +00:00
Miro Hrončok 6b81b45bfe Pin the Python version this was built with
See https://bugzilla.redhat.com/show_bug.cgi?id=1705442
2019-07-11 22:22:21 +00:00
Denis Arnaud 2ded6fc33c CMake support files updated for Python 3.8 2019-07-11 18:41:10 +02:00
Fedora Release Engineering 917094fe8f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 08:39:36 +00:00
Jonathan Wakely 0e756e4e40 Rebuilt for Boost 1.69 2019-01-24 20:35:59 +00:00
Denis Arnaud bf92ee51cc Fixed a typo in Python library directory 2019-01-17 22:30:07 +01:00
Denis Arnaud 0f71d2d7b9 [F30] Fixed a typo in Python library directory 2019-01-17 22:02:09 +01:00
Denis Arnaud 2f6da13086 Upstream update 2019-01-15 18:40:45 +01:00
Fedora Release Engineering 5fece3e1d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 06:46:16 +00:00
Igor Gnatenko fc33755c9d add BuildRequires: gcc-c++
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:52 +02:00
Jonathan Wakely 52cae5689b Add BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29 2018-05-10 13:23:09 +01:00
2 changed files with 46 additions and 24 deletions

View File

@ -1 +1 @@
SHA512 (stdair-1.00.6.tar.bz2) = dfd0aaf5afba6705ba15fa11460c5448ef7e9d8c442d922368660bcd069dfdbddbf8a78ffcda42d720143a1d88fac628d109fa9fa4cc7f4fb6fc6f7fe42a7357
SHA512 (stdair-1.00.8.tar.gz) = 216aa0d0c4a0f5ce19b3456051593313c7e913e7a704eb15fa178390e48fc5fdc6631149a4beb04cba379f2ba628d6bde85007d686242d00a7f77b958ac4168b

View File

@ -1,16 +1,20 @@
%global mydocs __tmp_docdir
Name: stdair
Version: 1.00.6
Release: 3%{?dist}
Version: 1.00.8
Release: 2%{?dist}
Summary: C++ Standard Airline IT Object Library
Group: System Environment/Libraries
License: LGPLv2+
URL: http://%{name}.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: cmake, python2-devel
BuildRequires: boost-devel, soci-mysql-devel, soci-sqlite3-devel
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
@ -28,10 +32,12 @@ 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
@ -39,12 +45,10 @@ 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, ghostscript
BuildRequires: doxygen
BuildRequires: ghostscript
%description doc
This package contains HTML pages, as well as a PDF reference manual,
@ -54,14 +58,14 @@ online (http://%{name}.org).
%prep
%setup -q
%autosetup -n %{name}-%{name}-%{version}
%build
%cmake .
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
# Fix some permissions
find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \;
@ -72,19 +76,13 @@ 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,AUTHORS}
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
%check
ctest
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc ChangeLog COPYING AUTHORS NEWS README
%doc ChangeLog COPYING AUTHORS NEWS README.md
%{_bindir}/%{name}
%{_libdir}/lib%{name}.so.*
%{_libdir}/lib%{name}uicl.so.*
@ -134,6 +132,30 @@ ctest
%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