Upstream update to 0.07.4

This commit is contained in:
Denis Arnaud 2019-11-24 14:48:04 +01:00
commit 11322acc16
5 changed files with 42 additions and 41 deletions

2
.gitignore vendored
View File

@ -4,7 +4,7 @@ opentrep-*.src.rpm
.gitignore
clog
.build-*
/opentrep-3.?.?
opentrep-opentrep-?.??.?/
/noarch
/x86_64
/tarballs/

5
opentrep.abignore Normal file
View File

@ -0,0 +1,5 @@
[suppress_file]
# Just keep DSOs that have a version number, i.e, which file name end-up with a version number.
# All other DSOs will be discarded and their changes won't be reported
file_name_not_regexp=.*\\.so\\.[0-9]+\\.[0-9]+\\.[0-9]+

View File

@ -14,8 +14,8 @@
#
Name: opentrep
Version: 0.07.1
Release: 2%{?dist}
Version: 0.07.4
Release: 1%{?dist}
Summary: C++ library providing a clean API for parsing travel-focused requests
@ -25,8 +25,6 @@ License: LGPLv2+ and BSD
URL: http://github.com/trep/%{name}
Source0: %{url}/archive/%{name}-%{version}.tar.gz
Requires: %{name}-data = %{version}-%{release}
BuildRequires: gcc-c++
BuildRequires: cmake, cmake3
BuildRequires: boost-devel
@ -45,7 +43,7 @@ BuildRequires: soci-mysql-devel
BuildRequires: soci-sqlite3-devel
BuildRequires: xapian-core-devel
BuildRequires: sqlite-devel
BuildRequires: mariadb-devel
BuildRequires: mysql-devel
BuildRequires: libicu-devel
BuildRequires: protobuf-devel
BuildRequires: protobuf-compiler
@ -53,13 +51,15 @@ BuildRequires: protobuf-compiler
%description
%{name} aims at providing a clean API, and the corresponding C++
implementation, for parsing travel-focused requests.
It powers the http://search-travel.org Web site.
It powers the https://transport-search.org Web site.
%{name} uses Xapian (http://www.xapian.org) for the Information Retrieval part,
on freely available travel-related data (e.g., country names and codes,
%{name} uses Xapian (https://www.xapian.org) for the Information Retrieval
part, on freely available travel-related data (e.g., country names and codes,
city names and codes, airline names and codes, etc.), mainly to be found in
the OpenTravelData project (http://github.com/opentraveldata/opentraveldata):
http://github.com/opentraveldata/opentraveldata/tree/trunk/opentraveldata
the OpenTravelData project (https://github.com/opentraveldata/opentraveldata):
https://github.com/opentraveldata/opentraveldata/tree/master/opentraveldata
The data files are available from https://transport-search.org/data/optd/por/
%{name} exposes a simple, clean and object-oriented, API. For instance,
the OPENTREP::interpretTravelRequest() method takes, as input, a string
@ -100,20 +100,6 @@ This package contains the header files, shared libraries and
development helper tools for %{name}. If you would like to develop
programs using %{name}, you will need to install %{name}-devel.
%package data
Summary: Referential data for the %{name} library
Group: Applications/Databases
License: CC-BY-SA
BuildArch: noarch
%description data
OpenTREP uses Xapian (http://www.xapian.org) for the Information Retrieval
part, on freely available travel-related data (e.g., country names and codes,
city names and codes, airline names and codes, etc.), mainly to be found in
the OpenTravelData project (http://github.com/opentraveldata/opentraveldata):
http://github.com/opentraveldata/opentraveldata/tree/trunk/opentraveldata
%if %{with python2}
%package -n python2-%{name}
@ -160,10 +146,9 @@ Shared object symbolic links for Python 3 variant of OpenTREP.
%package doc
Summary: HTML documentation for the %{name} library
Group: Documentation
BuildArch: noarch
BuildRequires: tex(latex), tex(sectsty.sty), tex(tocloft.sty), tex(xtab.sty)
BuildRequires: texlive-collection-langcyrillic, texlive-cyrillic
#BuildRequires: texlive-collection-langcyrillic, texlive-cyrillic
BuildRequires: doxygen
BuildRequires: ghostscript
@ -181,11 +166,21 @@ and it is therefore not reliable.
%build
%cmake3 .
mkdir tmpbuild
pushd tmpbuild
%if 0%{?fedora} || 0%{?rhel} > 7
%cmake ..
%else
%cmake3 ..
%endif
%make_build
popd
%install
pushd tmpbuild
%make_install
popd
# From rpm version > 4.9.1, it may no longer be necessary to move the
# documentation out of the docdir path, as the %%doc macro no longer
@ -253,10 +248,10 @@ rm -f %{_bindir}/py%{name}
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/data
%dir %{_datadir}/%{name}/data/por
%{_datadir}/%{name}/data/por/README.md
%{_datadir}/%{name}/data/por/create_trep_user_and_db.sql
%{_datadir}/%{name}/data/por/create_trep_tables_sqlite3.sql
%{_datadir}/%{name}/data/por/create_trep_tables_mysql.sql
%{_datadir}/%{name}/data/por/optd_por_public_4_test.csv
%{_datadir}/%{name}/data/por/test_optd_por_public.csv
%{_datadir}/%{name}/data/por/test_optd_por_public_schema.sql
%{_datadir}/%{name}/data/por/test_world_schedule.csv
@ -271,10 +266,6 @@ rm -f %{_bindir}/py%{name}
%{_mandir}/man1/%{name}-config.1.*
%{_mandir}/man3/%{name}-library.3.*
%files data
%doc %{_datadir}/%{name}/data/por/README.md
%{_datadir}/%{name}/data/por/optd_por_public.csv
%files doc
%doc %{mydocs}/html
%license COPYING
@ -292,27 +283,30 @@ rm -f %{_bindir}/py%{name}
%endif
%changelog
* Sun Feb 17 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.07.1-2
* Sun Nov 24 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.07.4-1
- Upstream update to 0.07.4
* Sun Feb 17 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.07.1-2
- Specific license tag, no glob for libraries
- Took into account feedback of BZ#866265
* Wed Jan 16 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.07.1-1
* Wed Jan 16 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.07.1-1
- Upstream update
* Tue Oct 16 2018 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.07.0-1
* Tue Oct 16 2018 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.07.0-1
- Upstream update
* Sun Apr 19 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.6.6-1
* Sun Apr 19 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.6.6-1
- Upstream update
* Sun Apr 19 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.6.5-1
* Sun Apr 19 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.6.5-1
- Upstream update
* Sun Apr 13 2014 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.6.1-1
* Sun Apr 13 2014 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.6.1-1
- Upstream update
- The Python-related files are now packaged within a dedicated sub-package
* Sun Feb 02 2014 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.6.0-1
* Sun Feb 02 2014 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.6.0-1
- Upstream update
* Mon Aug 12 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.5.3-3

2
package.cfg Normal file
View File

@ -0,0 +1,2 @@
[koji]
targets = epel8 epel8-playground

View File

@ -1 +1 @@
SHA512 (opentrep-0.07.1.tar.gz) = 4910936b5bb808de2a235bdadf4127b2fdd401fa095e73655f8ec83863ffd591adf23b6605fe62786c1e2d42a7c361a9f2c243b021e34e1a9506bdd02bdd4d3d
SHA512 (opentrep-0.07.4.tar.gz) = 93a13490edd5ea5acd15d0d613491c9fdd2d28b59c8007aa6e98bb9387b6d8e2ad4e82f20627fe0ee0d513855d249fd9f3f96a3ce4d65c9a0eaffc7f100381b8