61 lines
1.6 KiB
RPMSpec
61 lines
1.6 KiB
RPMSpec
Name: dragonbox
|
|
Version: 1.1.3
|
|
Release: 2mamba
|
|
Summary: Reference implementation of Dragonbox in C++
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/jk-jeon/dragonbox
|
|
Source: https://github.com/jk-jeon/dragonbox.git/%{version}/dragonbox-%{version}.tar.bz2
|
|
Patch0: dragonbox-1.1.3-fix-include-directory.patch
|
|
License: Apache License 2.0, Boost Software License
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
|
|
%description
|
|
Reference implementation of Dragonbox in C++.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
|
|
%description devel
|
|
Reference implementation of Dragonbox in C++.
|
|
This package contains header files for developing applications that use %{name}.
|
|
|
|
#% debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/dragonbox
|
|
%{_includedir}/dragonbox/*.h
|
|
%dir %{_libdir}/cmake/dragonbox-%{version}
|
|
%{_libdir}/cmake/dragonbox-%{version}/dragonbox*.cmake
|
|
%{_libdir}/libdragonbox_to_chars.a
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Fri Jul 15 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-2mamba
|
|
- fix installed includes directory
|
|
|
|
* Wed Jul 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-1mamba
|
|
- package created using the webbuild interface
|