package created using the webbuild interface [release 2.9.2-1mamba;Sat Oct 05 2024]
This commit is contained in:
parent
209fc16cc0
commit
a391023f12
@ -1,2 +1,4 @@
|
||||
# ada
|
||||
|
||||
WHATWG-compliant and fast URL parser written in modern C++, part of Node.js, Redpanda, Kong, Telegram and Cloudflare Workers.
|
||||
|
||||
|
78
ada.spec
Normal file
78
ada.spec
Normal file
@ -0,0 +1,78 @@
|
||||
Name: ada
|
||||
Version: 2.9.2
|
||||
Release: 1mamba
|
||||
Summary: WHATWG-compliant and fast URL parser
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://ada-url.com/
|
||||
Source: https://github.com/ada-url/ada.git/v%{version}/ada-%{version}.tar.bz2
|
||||
License: Apache License 2.0, MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libfmt-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
|
||||
%description
|
||||
WHATWG-compliant and fast URL parser written in modern C++, part of Node.js, Redpanda, Kong, Telegram and Cloudflare Workers.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for %{name}
|
||||
|
||||
%description -n lib%{name}
|
||||
WHATWG-compliant and fast URL parser written in modern C++, part of Node.js, Redpanda, Kong, Telegram and Cloudflare Workers.
|
||||
This package contains shared libraries for %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%cmake_install
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libada.so.*
|
||||
%doc LICENSE-APACHE LICENSE-MIT
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/adaparse
|
||||
%{_includedir}/ada.h
|
||||
%dir %{_includedir}/ada
|
||||
%{_includedir}/ada/*.h
|
||||
%{_includedir}/ada_c.h
|
||||
%{_includedir}/cxxopts.hpp
|
||||
%{_libdir}/libada.so
|
||||
%{_libdir}/pkgconfig/cxxopts.pc
|
||||
%dir %{_libdir}/cmake/ada
|
||||
%{_libdir}/cmake/ada/*.cmake
|
||||
%dir %{_libdir}/cmake/cxxopts
|
||||
%{_libdir}/cmake/cxxopts/*.cmake
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sat Oct 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.2-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user