From a98505d1b03d4bf8646ebdc2d4a3f987f36d6ea7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:58:31 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.0-1mamba;Sat May 07 2022] --- README.md | 2 ++ libunibreak.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 libunibreak.spec diff --git a/README.md b/README.md index 9d09922..2878fd1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libunibreak +An implementation of the line breaking and word breaking algorithms as described in Unicode Standard Annex 14 and Unicode Standard Annex 29. + diff --git a/libunibreak.spec b/libunibreak.spec new file mode 100644 index 0000000..9b213ee --- /dev/null +++ b/libunibreak.spec @@ -0,0 +1,71 @@ +Name: libunibreak +Version: 5.0 +Release: 1mamba +Summary: An implementation of the line breaking and word breaking algorithms +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/adah1972/libunibreak +Source: https://github.com/adah1972/libunibreak.git/libunibreak_%{version}/libunibreak-%{version}.tar.bz2 +License: zlib/libpng +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END + +%description +An implementation of the line breaking and word breaking algorithms as described in Unicode Standard Annex 14 and Unicode Standard Annex 29. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) + +%{_libdir}/libunibreak.so.* +%doc AUTHORS LICENCE + +%files devel +%defattr(-,root,root) +%{_includedir}/graphemebreak.h +%{_includedir}/linebreak.h +%{_includedir}/linebreakdef.h +%{_includedir}/unibreakbase.h +%{_includedir}/unibreakdef.h +%{_includedir}/wordbreak.h +%{_libdir}/liblinebreak.a +%{_libdir}/libunibreak.a +%{_libdir}/libunibreak.la +%{_libdir}/libunibreak.so +%{_libdir}/pkgconfig/libunibreak.pc +%doc NEWS README.md + +%changelog +* Sat May 07 2022 Silvan Calarco 5.0-1mamba +- package created using the webbuild interface