Compare commits

..

No commits in common. "master" and "f28" have entirely different histories.
master ... f28

2 changed files with 24 additions and 46 deletions

View File

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

View File

@ -1,20 +1,16 @@
%global mydocs __tmp_docdir
Name: stdair
Version: 1.00.8
Release: 2%{?dist}
Version: 1.00.6
Release: 3%{?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
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
BuildRequires: readline-devel
@ -32,12 +28,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 +39,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,14 +54,14 @@ online (http://%{name}.org).
%prep
%autosetup -n %{name}-%{name}-%{version}
%setup -q
%build
%cmake .
%make_build
make %{?_smp_mflags}
%install
%make_install
make install DESTDIR=$RPM_BUILD_ROOT
# Fix some permissions
find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \;
@ -76,13 +72,19 @@ 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}
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README,AUTHORS}
%check
ctest
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc ChangeLog COPYING AUTHORS NEWS README.md
%doc ChangeLog COPYING AUTHORS NEWS README
%{_bindir}/%{name}
%{_libdir}/lib%{name}.so.*
%{_libdir}/lib%{name}uicl.so.*
@ -132,30 +134,6 @@ 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