From 0120ab6de169c6e0c30f9a0a89d545948974a411 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 5 May 2024 10:35:51 +0200 Subject: [PATCH] package created using the webbuild interface [release 4.0.5-1mamba;Sat May 04 2024] --- README.md | 2 ++ utfcpp.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 utfcpp.spec diff --git a/README.md b/README.md index 026b3e8..0f45236 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # utfcpp +UTF-8 with C++ in a Portable Way. + diff --git a/utfcpp.spec b/utfcpp.spec new file mode 100644 index 0000000..aa62ea9 --- /dev/null +++ b/utfcpp.spec @@ -0,0 +1,60 @@ +Name: utfcpp +Version: 4.0.5 +Release: 1mamba +Summary: UTF-8 with C++ in a Portable Way +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/nemtrif/utfcpp +Source: https://github.com/nemtrif/utfcpp.git/v%{version}/utfcpp-%{version}.tar.bz2 +License: BSL-1.0 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +UTF-8 with C++ in a Portable Way. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: UTF-8 with C++ in a Portable Way + +%description -n lib%{name}-devel +UTF-8 with C++ in a Portable Way. +This package contains 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 +%defattr(-,root,root) + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/utf8cpp +%{_includedir}/utf8cpp/utf8.h +%dir %{_includedir}/utf8cpp/utf8 +%{_includedir}/utf8cpp/utf8/* +%dir %{_datadir}/utf8cpp +%dir %{_datadir}/utf8cpp/cmake +%{_datadir}/utf8cpp/cmake/utf8cpp*.cmake +%doc LICENSE README.md + + +%changelog +* Sat May 04 2024 Silvan Calarco 4.0.5-1mamba +- package created using the webbuild interface