Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6a05d52629 | ||
|
6b81b45bfe | ||
|
2ded6fc33c | ||
|
917094fe8f | ||
|
0e756e4e40 | ||
|
bf92ee51cc | ||
|
0f71d2d7b9 | ||
|
2f6da13086 | ||
|
5fece3e1d6 | ||
|
fc33755c9d | ||
|
52cae5689b |
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (stdair-1.00.6.tar.bz2) = dfd0aaf5afba6705ba15fa11460c5448ef7e9d8c442d922368660bcd069dfdbddbf8a78ffcda42d720143a1d88fac628d109fa9fa4cc7f4fb6fc6f7fe42a7357
|
SHA512 (stdair-1.00.8.tar.gz) = 216aa0d0c4a0f5ce19b3456051593313c7e913e7a704eb15fa178390e48fc5fdc6631149a4beb04cba379f2ba628d6bde85007d686242d00a7f77b958ac4168b
|
||||||
|
68
stdair.spec
68
stdair.spec
@ -1,16 +1,20 @@
|
|||||||
%global mydocs __tmp_docdir
|
%global mydocs __tmp_docdir
|
||||||
Name: stdair
|
Name: stdair
|
||||||
Version: 1.00.6
|
Version: 1.00.8
|
||||||
Release: 3%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Summary: C++ Standard Airline IT Object Library
|
Summary: C++ Standard Airline IT Object Library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://%{name}.sourceforge.net
|
URL: http://github.com/airsim/%{name}
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: cmake, python2-devel
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: boost-devel, soci-mysql-devel, soci-sqlite3-devel
|
BuildRequires: cmake
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
BuildRequires: boost-python3-devel
|
||||||
|
BuildRequires: soci-mysql-devel
|
||||||
|
BuildRequires: soci-sqlite3-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
|
|
||||||
|
|
||||||
@ -28,10 +32,12 @@ modeling, mainly for simulation purpose.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files, libraries and development helper tools for %{name}
|
Summary: Header files, libraries and development helper tools for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
# The cmake files have Python version backed in them
|
||||||
|
Requires: (python(abi) = %{python3_version} if python3-devel)
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the header files, shared libraries and
|
This package contains the header files, shared libraries and
|
||||||
development helper tools for %{name}. If you would like to develop
|
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
|
%package doc
|
||||||
Summary: HTML documentation for the %{name} library
|
Summary: HTML documentation for the %{name} library
|
||||||
Group: Documentation
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 5
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: doxygen, ghostscript
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: ghostscript
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package contains HTML pages, as well as a PDF reference manual,
|
This package contains HTML pages, as well as a PDF reference manual,
|
||||||
@ -54,14 +58,14 @@ online (http://%{name}.org).
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -n %{name}-%{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake .
|
%cmake .
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
|
|
||||||
# Fix some permissions
|
# Fix some permissions
|
||||||
find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \;
|
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
|
# Remove additional documentation files (those files are already available
|
||||||
# in the project top directory)
|
# 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
|
%check
|
||||||
ctest
|
ctest
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc ChangeLog COPYING AUTHORS NEWS README
|
%doc ChangeLog COPYING AUTHORS NEWS README.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libdir}/lib%{name}.so.*
|
%{_libdir}/lib%{name}.so.*
|
||||||
%{_libdir}/lib%{name}uicl.so.*
|
%{_libdir}/lib%{name}uicl.so.*
|
||||||
@ -134,6 +132,30 @@ ctest
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.6-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user