Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
libunistring
libunistring.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libunistring.spec of Package libunistring
# # spec file for package libunistring (Version 0.9.3) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libunistring Version: 0.9.3 Release: 1 Group: Development/Libraries/C and C++ Summary: GNU Unicode string library License: LGPLv3+ Url: http://www.gnu.org/software/libunistring/ Source0: libunistring-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: info %description This portable C library 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 License: LGPLv3+ Group: Development/Libraries/C and C++ Summary: GNU Unicode string library - development files Requires: libunistring0 = %{version} %description devel Development files for programs using libunistring and documentation for UniString library. %package -n libunistring0 License: LGPLv3+ Group: Development/Libraries/C and C++ Summary: GNU Unicode string library - development files Requires: %{name} %description -n libunistring0 This portable C library 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). %prep %setup -q -n libunistring-%{version} %build %configure --disable-static --disable-rpath --docdir=%{_docdir}/%{name} make %install make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install cp AUTHORS NEWS README HACKING DEPENDENCIES THANKS ChangeLog $RPM_BUILD_ROOT/%{_docdir}/%{name} rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_libdir}/libunistring.la %check make check %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc %{_docdir}/%{name}/AUTHORS %doc %{_docdir}/%{name}/NEWS %doc %{_docdir}/%{name}/README %files -n libunistring0 %defattr(-,root,root) %{_libdir}/libunistring.so.* %files devel %defattr(-,root,root,-) %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/HACKING %doc %{_docdir}/%{name}/DEPENDENCIES %doc %{_docdir}/%{name}/THANKS %doc %{_docdir}/%{name}/ChangeLog %doc %{_docdir}/%{name}/*.html %{_infodir}/libunistring.info* %{_libdir}/libunistring.so %{_includedir}/unistring %{_includedir}/*.h %post -n libunistring0 -p /sbin/ldconfig %postun -n libunistring0 -p /sbin/ldconfig %post devel /sbin/install-info %{_infodir}/libunistring.info.gz %{_infodir}/dir || : %preun devel if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/libunistring.info.gz %{_infodir}/dir || : fi %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor