%global debug_package %{nil} %global latest_commit 7ea77c7151d1fddd26892caf7002b5f64a56346f Name: just_gtfs Version: 20260223git%{latest_commit} Release: 1%{?dist} Summary: C++17 header-only library for reading and writing GTFS License: MIT URL: https://github.com/valhalla/just_gtfs # Upstream has no releases, so use latest available commit Source0: https://github.com/valhalla/just_gtfs/archive/%{latest_commit}/just_gtfs-%{latest_commit}.tar.gz BuildRequires: gcc-c++ %description Just_gtfs is a header-only C++ library providing GTFS (General Transit Feed Specification) data structures and parsing utilities. %package devel Summary: Development files for just_gtfs Provides: %{name}-static = %{version}-%{release} %description devel Just_gtfs is a header-only C++ library providing GTFS (General Transit Feed Specification) data structures and parsing utilities. %prep %autosetup -n %{name}-%{latest_commit} %build # No build needed for header-only package %install mkdir -p %{buildroot}%{_includedir}/%{name} cp %{_builddir}/%{name}-%{latest_commit}/include/%{name}/%{name}.h \ %{buildroot}%{_includedir}/%{name}/ %files %{_includedir}/just_gtfs/ %changelog * Sun Oct 04 2026 Alexander Oberlaender - 20260223git7ea77c7151d1fddd26892caf7002b5f64a56346f - Use fork of valhalla project with latest additions * Sun Oct 04 2026 Alexander Oberlaender - 20240705git733ca15 - Project initialization adding private header for valhalla