Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
DISCONTINUED:openSUSE:11.2:Update
libustr
libustr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libustr.spec of Package libustr
# # spec file for package libustr (Version 1.0.4) # # Copyright (c) 2009 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: libustr Version: 1.0.4 Release: 4 Url: http://www.and.org/ustr/ License: LGPL v2.1 or later ; Public Domain, Freeware ; MIT License (or similar) Group: System/Libraries Summary: String library, very low memory overhead, simple to import Source: http://www.and.org/ustr/%{version}/ustr-%{version}.tar.bz2 Source1: rpmlintrc Patch0: %{name}-%{version}-c99-inline.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libustr-1_0-1 = %{version}-%{release} %description Micro string library, very low overhead from plain strdup() (Ave. 44% for 0-20B strings). Very easy to use in existing C code. At it's simplest you can just include a single header file into your .c and start using it. This package also distributes pre-built shared libraries. %package -n libustr-1_0-1 License: BSD 4-clause (or similar) ; LGPL v2.0 or later ; MIT License (or similar) Group: System/Libraries Summary: String library, very low memory overhead, simple to import %description -n libustr-1_0-1 Micro string library, very low overhead from plain strdup() (Ave. 44% for 0-20B strings). Very easy to use in existing C code. At it's simplest you can just include a single header file into your .c and start using it. This package also distributes pre-built shared libraries. %package devel License: BSD 4-clause (or similar) ; LGPL v2.0 or later ; MIT License (or similar) Summary: String library, very low memory overhead, simple to import Group: System/Libraries Requires: libustr-1_0-1 = %{version} %description devel Micro string library, very low overhead from plain strdup() (Ave. 44% for 0-20B strings). Very easy to use in existing C code. At it's simplest you can just include a single header file into your .c and start using it. This package also distributes pre-built shared libraries. %prep %setup -q -n ustr-%{version} %patch0 %build make all-shared %{?jobs:-j%jobs} HIDE= CFLAGS="$RPM_OPT_FLAGS -fPIC" %install make install DESTDIR=$RPM_BUILD_ROOT \ prefix=%{_prefix} \ bindir=%{_bindir} \ mandir=%{_mandir} \ datadir=%{_datadir} \ libdir=/%{_lib} \ includedir=%{_includedir} \ libexecdir=%{_libexecdir} \ LDCONFIG=/bin/true \ HIDE= rm -f $RPM_BUILD_ROOT/%{_lib}/{,pkgconfig}/*debug* rm -rf $RPM_BUILD_ROOT%{_datadir}/doc mkdir -p $RPM_BUILD_ROOT%{_libdir} mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir} mv $RPM_BUILD_ROOT/%{_lib}/*.a $RPM_BUILD_ROOT/%{_libdir} %clean rm -rf $RPM_BUILD_ROOT %post -n libustr-1_0-1 -p /sbin/ldconfig %postun -n libustr-1_0-1 -p /sbin/ldconfig %files -n libustr-1_0-1 %defattr(-,root,root,-) %doc ChangeLog LICENSE* README NEWS /%{_lib}/libustr-1.0.so.* %files devel %defattr(-,root,root,-) %doc README-DEVELOPERS TODO Documentation/*.html Documentation/*.gnumeric %{_datadir}/ustr-%{version} %{_bindir}/ustr-import %{_includedir}/ustr.h %{_includedir}/ustr-*.h %{_libdir}/pkgconfig/ustr.pc /%{_lib}/libustr.so %{_mandir}/man1/* %{_mandir}/man3/* %{_libdir}/libustr.a %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