package created by autospec [release 0.9.3-1mamba;Tue Mar 22 2011]

This commit is contained in:
gil 2024-01-06 05:59:08 +01:00
parent cd9b51c555
commit 83db5af39e
2 changed files with 99 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# libunistring
This library provides functions for manipulating Unicode strings and for manipulating C strings according to the Unicode standard.
libunistring implements Unicode string types in three flavours:
(UTF-8, UTF-16, UTF-32), together with functions for character processing (names, classifications, properties) and functions for string processing (iteration, formatted output, width, word breaks, line breaks, normalization, case folding and regular expressions).

94
libunistring.spec Normal file
View File

@ -0,0 +1,94 @@
Name: libunistring
Version: 0.9.3
Release: 1mamba
Summary: GNU LIBUNISTRING - Unicode string library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://www.gnu.org/software/libunistring/
Source: http://ftp.gnu.org/gnu/libunistring/libunistring-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires(post): %{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This library provides functions for manipulating Unicode strings and for manipulating C strings according to the Unicode standard.
libunistring implements Unicode string types in three flavours:
(UTF-8, UTF-16, UTF-32), together with functions for character processing (names, classifications, properties) and functions for string processing (iteration, formatted output, width, word breaks, line breaks, normalization, case folding and regular expressions).
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
GNU LIBUNISTRING - Unicode string library.
This package contains libraries and header files need for development.
%package docs
Group: Documentation
Summary: Documentation for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description docs
GNU LIBUNISTRING - Unicode string library.
This package contains utility applications for %{name}.
%prep
%setup -q
%build
%configure \
--disable-static \
--disable-rpath
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -rf %{buildroot}%{_infodir}/dir
rm -rf %{buildroot}%{_libdir}/libunistring.la
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel
%install_info %{name}.info
exit 0
%preun devel
%uninstall_info %{name}.info
exit 0
%files
%defattr(-,root,root)
%{_libdir}/libunistring.so.*
%doc AUTHORS BUGS COPYING COPYING.LIB
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%dir %{_includedir}/unistring
%{_includedir}/unistring/*.h
%{_libdir}/libunistring.so
%{_infodir}/libunistring.info.gz
%doc ChangeLog DEPENDENCIES HACKING THANKS NEWS README
%files docs
%defattr(-,root,root)
%doc %{_docdir}/libunistring
%changelog
* Tue Mar 22 2011 gil <puntogil@libero.it> 0.9.3-1mamba
- package created by autospec