Hello community,
here is the log from the commit of package librcc0 for openSUSE:Factory
checked in at Wed Apr 28 23:00:43 CEST 2010.
--------
New Changes file:
--- /dev/null 2010-04-12 17:03:46.000000000 +0200
+++ librcc0/librcc0.changes 2010-04-02 21:37:46.000000000 +0200
@@ -0,0 +1,27 @@
+-------------------------------------------------------------------
+Fri Apr 2 19:36:54 UTC 2010 - lazy.kent.suse@gmail.com
+
+- add COPYING
+
+-------------------------------------------------------------------
+Sun Mar 14 19:30:24 UTC 2010 - lazy.kent.suse@gmail.com
+
+- fix Czech locale code in config file
+
+-------------------------------------------------------------------
+Thu Mar 11 18:57:30 UTC 2010 - lazy.kent.suse@gmail.com
+
+- split off runtime package
+- remove rpmlint warnings
+
+-------------------------------------------------------------------
+Mon Mar 8 18:46:02 UTC 2010 - lazy.kent.suse@gmail.com
+
+- spec-file reworked
+- don't build GTK UI
+
+-------------------------------------------------------------------
+Sat Feb 13 00:00:00 MSK 2010 - csa@dside.dyndns.org
+
+ New version
+
calling whatdependson for head-i586
New:
----
librcc-0.2.9-czech_config.patch
librcc-0.2.9-suse-lint.diff
librcc-0.2.9.tar.bz2
librcc-printf.diff
librcc0.changes
librcc0.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librcc0.spec ++++++
#
# spec file for package librcc0 (Version 0.2.9)
#
# 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: librcc0
Version: 0.2.9
Release: 1
License: LGPLv2.1+
Summary: Russian Charset Conversion Library
Url: http://rusxmms.sourceforge.net
Group: System/Libraries
Source0: librcc-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM librcc-printf.diff csa@dside.dyndns.org
Patch1: librcc-printf.diff
# PATCH-FIX-UPSTREAM librcc-0.2.9-suse-lint.diff csa@dside.dyndns.org
# -- remove rpmlint warnings
Patch2: librcc-0.2.9-suse-lint.diff
# PATCH-FIX-UPSTREAM librcc-0.2.9-czech_config.patch lazy.kent.suse@gmail.com
# -- fix Czech locale code in config file
Patch3: librcc-0.2.9-czech_config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: aspell-devel librcd-devel libxml2-devel pkg-config
%if 0%{?suse_version} >= 1120
BuildRequires: enca-devel
%endif
Requires: rcc-runtime
%description
Provides posibility to automaticaly convert considered encodings (a lot of
languages is supported, not only russian one) to/from UTF-8. The library
is part of rusxmms patch.
Authors:
--------
Suren A. Chilingaryan
%package -n librcc-devel
License: LGPLv2.1+
Summary: Development Files for LibRCC
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description -n librcc-devel
Development files for the package LibRCC.
Authors:
--------
Suren A. Chilingaryan
%package -n rcc-runtime
License: LGPLv2.1+
Summary: LibRCC Runtime Environment
Group: Productivity/Text/Convertors
%description -n rcc-runtime
Runtime environment for the package LibRCC.
Authors:
--------
Suren A. Chilingaryan
%prep
%setup -qn librcc-%{version}
%patch1
%patch2
%patch3
%build
./autogen.sh
%{configure} \
--disable-static \
--disable-bdb \
--disable-libtranslate \
--disable-gtk2
%{__make} %{?jobs:-j %jobs}
%install
%{makeinstall}
%{__install} -Dm 644 examples/rcc.xml %{buildroot}%{_sysconfdir}/rcc.xml
%{__rm} -f %{buildroot}%{_libdir}/{*.la,rcc/engines/*.la}
%{__rm} -rf %{_builddir}/librcc-%{version}/examples/{.deps,Makefile}
%clean
[ %{buildroot} != "/" ] && %{__rm} -rf %{buildroot}
%post -n %{name} -p /sbin/ldconfig
%postun -n %{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/librcc.so.*
%{_libdir}/librccui.so.*
%files -n librcc-devel
%defattr(-,root,root)
%doc docs examples
%{_includedir}/*
%{_libdir}/lib*.so
%files -n rcc-runtime
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/rcc
%config(noreplace) %{_sysconfdir}/rcc.xml
%changelog
++++++ librcc-0.2.9-czech_config.patch ++++++
Author: Kyrill Detinov
Description: Fix Czech locale code in config file.
Index: examples/rcc.xml
===================================================================
--- examples/rcc.xml.orig 2009-08-27 23:57:37.000000000 +0400
+++ examples/rcc.xml 2010-03-14 22:19:39.000000000 +0300
@@ -38,7 +38,7 @@
<Charset>ISO-IR-111</Charset>
</Charsets>
</Language>
- <Language name="cz">
+ <Language name="cs">
<FullName locale="ru">Чешский</FullName>
<Charsets>
<Charset>CP1250</Charset>
++++++ librcc-0.2.9-suse-lint.diff ++++++
Author: Suren A. Chilingaryan
Description: Remove rpmlint warnings
Index: src/librcc.c
===================================================================
--- src/librcc.c.orig 2009-08-27 23:57:37.000000000 +0400
+++ src/librcc.c 2010-03-11 22:40:46.000000000 +0300
@@ -401,8 +401,8 @@ rcc_language_id rccRegisterLanguage(rcc_
if ((i==1)&&(!language->charsets[1])&&(rccIsUTF8(language->charsets[0])))
ctx->ilang[ctx->n_languages].latin = 1;
- ctx->languages[ctx->n_languages++] = (rcc_language_ptr)(ctx->ilang + ctx->n_languages);
- ctx->languages[ctx->n_languages] = NULL;
+ ctx->languages[ctx->n_languages] = (rcc_language_ptr)(ctx->ilang + ctx->n_languages);
+ ctx->languages[++ctx->n_languages] = NULL;
if (!ctx->current_language)
ctx->current_config = rccGetCurrentConfig(ctx);
@@ -508,8 +508,8 @@ rcc_class_id rccRegisterClass(rcc_contex
ctx->iclass[ctx->n_classes].disabled = NULL;
ctx->iclass[ctx->n_classes].additional = NULL;
- ctx->classes[ctx->n_classes++] = (rcc_class_ptr)(ctx->iclass + ctx->n_classes);
- ctx->classes[ctx->n_classes] = NULL;
+ ctx->classes[ctx->n_classes] = (rcc_class_ptr)(ctx->iclass + ctx->n_classes);
+ ctx->classes[++ctx->n_classes] = NULL;
if (!strcasecmp(cl->name, "id3")) {
rccRegisterDisabledCharsets(ctx, ctx->n_classes - 1, rcc_default_disabled_id3_charsets);
Index: src/rccstring.c
===================================================================
--- src/rccstring.c.orig 2009-08-27 23:57:37.000000000 +0400
+++ src/rccstring.c 2010-03-11 22:40:46.000000000 +0300
@@ -64,7 +64,7 @@ int rccStringFixID(rcc_string string, rc
header = (rcc_string_header*)string;
- memcpy(lang, header->language, 2); lang[3] = 0;
+ memcpy(lang, header->language, 2); lang[2] = 0;
curlang = rccGetLanguageName(ctx, header->language_id);
if ((curlang)&&(!strcasecmp(lang, curlang))) return 0;
++++++ librcc-printf.diff ++++++
Author: Suren A. Chilingaryan
Index: examples/example1.c
===================================================================
--- examples/example1.c.orig 2009-08-27 23:57:37.000000000 +0400
+++ examples/example1.c 2010-03-08 22:59:20.000000000 +0300
@@ -49,9 +49,9 @@ int main() {
if (strlen(buf)<2) break;
recoded = rccRecode(NULL, 0, 1, buf);
if (recoded) {
- printf(recoded);
+ printf("%s", recoded);
free(recoded);
- } else printf(buf);
+ } else printf("%s", buf);
}
rccFree();
Index: examples/example2.c
===================================================================
--- examples/example2.c.orig 2009-08-27 23:57:37.000000000 +0400
+++ examples/example2.c 2010-03-08 22:59:20.000000000 +0300
@@ -68,7 +68,7 @@ int main(int argc, char *argv[]) {
if (rccstring) {
recoded = rccTo(NULL, 1, rccstring);
if (recoded) {
- printf(recoded);
+ printf("%s", recoded);
free(recoded);
} else printf("Recoding from UTF-8 is failed\n");
free(rccstring);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org