From bc5c4ff8606c55f95e26ac0b5d4421d42e6c9af7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:33:25 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.2-1mamba;Sun Jul 27 2014] --- README.md | 2 ++ libguess.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 libguess.spec diff --git a/README.md b/README.md index 8688105..bc5d79b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libguess +libguess is a high speed, open source character set encoding detector. libguess employs discrete-finite automata to deduce the character set of the input buffer. The advantage of this is that all character sets can be checked in parallel, and quickly. + diff --git a/libguess.spec b/libguess.spec new file mode 100644 index 0000000..5ddb3ce --- /dev/null +++ b/libguess.spec @@ -0,0 +1,63 @@ +Name: libguess +Version: 1.2 +Release: 1mamba +Summary: A high-speed character set detection library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://atheme.org/projects/libguess.html +Source: http://rabbit.dereferenced.org/~nenolod/distfiles/libguess-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libguess is a high speed, open source character set encoding detector. libguess employs discrete-finite automata to deduce the character set of the input buffer. The advantage of this is that all character sets can be checked in parallel, and quickly. + +%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 + +%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}/libguess.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libguess +%{_includedir}/libguess/libguess.h +%{_libdir}/libguess.so +%{_libdir}/pkgconfig/libguess.pc +%doc README + +%changelog +* Sun Jul 27 2014 Silvan Calarco 1.2-1mamba +- package created using the webbuild interface