Fixed a typo in Python library directory
This commit is contained in:
parent
0f71d2d7b9
commit
bf92ee51cc
32
stdair.spec
32
stdair.spec
@ -1,18 +1,20 @@
|
|||||||
%global mydocs __tmp_docdir
|
%global mydocs __tmp_docdir
|
||||||
Name: stdair
|
Name: stdair
|
||||||
Version: 1.00.7
|
Version: 1.00.7
|
||||||
Release: 1%{?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://github.com/airsim/%{name}
|
URL: http://github.com/airsim/%{name}
|
||||||
Source0: https://github.com/airsim/%{name}/archive/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: cmake, python3-devel
|
BuildRequires: cmake
|
||||||
BuildRequires: boost-devel, soci-mysql-devel, soci-sqlite3-devel
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: boost-devel
|
||||||
BuildRequires: boost-python3-devel
|
BuildRequires: boost-python3-devel
|
||||||
|
BuildRequires: soci-mysql-devel
|
||||||
|
BuildRequires: soci-sqlite3-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
|
|
||||||
|
|
||||||
@ -30,7 +32,6 @@ 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
|
||||||
|
|
||||||
@ -41,12 +42,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,
|
||||||
@ -60,10 +59,10 @@ online (http://%{name}.org).
|
|||||||
|
|
||||||
%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 {} \;
|
||||||
@ -79,12 +78,6 @@ 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.md
|
%doc ChangeLog COPYING AUTHORS NEWS README.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
@ -136,6 +129,9 @@ ctest
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed 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
|
* Tue Jan 15 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.7-1
|
||||||
- Upstream update
|
- Upstream update
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user