Hello community, here is the log from the commit of package libustr for openSUSE:Factory checked in at Fri Mar 19 09:36:45 CET 2010. -------- --- libustr/libustr.changes 2008-10-23 01:25:21.000000000 +0200 +++ /mounts/work_src_done/STABLE/libustr/libustr.changes 2010-03-18 08:31:44.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Mar 18 07:31:27 UTC 2010 - coolo@novell.com + +- split out devel-static package + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libustr.spec ++++++ --- /var/tmp/diff_new_pack.Foca9H/_old 2010-03-19 09:35:46.000000000 +0100 +++ /var/tmp/diff_new_pack.Foca9H/_new 2010-03-19 09:35:46.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libustr (Version 1.0.4) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -20,9 +20,9 @@ Name: libustr Version: 1.0.4 -Release: 4 +Release: 5 Url: http://www.and.org/ustr/ -License: LGPL v2.1 or later ; Public Domain, Freeware ; MIT License (or similar) +License: MIT or LGPLv2+ or BSD Group: System/Libraries Summary: String library, very low memory overhead, simple to import Source: http://www.and.org/ustr/%{version}/ustr-%{version}.tar.bz2 @@ -32,16 +32,13 @@ %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. - - +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) +License: MIT or LGPLv2+ or BSD Group: System/Libraries Summary: String library, very low memory overhead, simple to import @@ -55,19 +52,26 @@ %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 +Summary: Development files for libustr +License: MIT or LGPLv2+ or BSD +Group: Development/Libraries +Requires: pkgconfig 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. - +Header files for the Ustr string library, and the .so to link with. +Also includes a %{name}.pc file for pkg-config usage. +Includes the ustr-import tool, for if you just want to include +the code in your projects ... you don't have to link to the shared lib. + +%package devel-static +Summary: Static development files for libustr +License: MIT or LGPLv2+ or BSD +Group: Development/Libraries +Requires: %{name}-devel +%description devel-static +Static library for the Ustr string library. %prep %setup -q -n ustr-%{version} @@ -76,8 +80,11 @@ %build make all-shared %{?jobs:-j%jobs} HIDE= CFLAGS="$RPM_OPT_FLAGS -fPIC" +%check +make check %{?jobs:-j%jobs} HIDE= CFLAGS="$RPM_OPT_FLAGS -fPIC" + %install -make install DESTDIR=$RPM_BUILD_ROOT \ +make install-multilib-linux \ prefix=%{_prefix} \ bindir=%{_bindir} \ mandir=%{_mandir} \ @@ -85,13 +92,16 @@ libdir=/%{_lib} \ includedir=%{_includedir} \ libexecdir=%{_libexecdir} \ + DESTDIR=$RPM_BUILD_ROOT \ LDCONFIG=/bin/true \ HIDE= +rm -f $RPM_BUILD_ROOT/%{_lib}/*.so 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} +ln -sf /%{_lib}/libustr-1.0.so.1 $RPM_BUILD_ROOT/%{_libdir}/libustr.so %clean rm -rf $RPM_BUILD_ROOT @@ -110,12 +120,16 @@ %doc README-DEVELOPERS TODO Documentation/*.html Documentation/*.gnumeric %{_datadir}/ustr-%{version} %{_bindir}/ustr-import +%{_libexecdir}/ustr-%{version} %{_includedir}/ustr.h %{_includedir}/ustr-*.h %{_libdir}/pkgconfig/ustr.pc -/%{_lib}/libustr.so +%{_libdir}/libustr.so %{_mandir}/man1/* %{_mandir}/man3/* + +%files devel-static +%defattr(-,root,root,-) %{_libdir}/libustr.a %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de