Sync from SUSE:SLFO:Main librcc revision 610cc50eba52a9e33650cc106716b90c

This commit is contained in:
Adrian Schröter 2024-05-03 15:45:17 +02:00
commit 0b2812e016
5 changed files with 293 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
librcc0

BIN
librcc-0.2.13.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

157
librcc.changes Normal file
View File

@ -0,0 +1,157 @@
-------------------------------------------------------------------
Fri Dec 9 22:26:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.2.13:
* switch to git hub
* use pkg-config for libxml support
* fix libxml2 initialization and cleanup
-------------------------------------------------------------------
Wed Aug 9 13:57:32 UTC 2017 - pgajdos@suse.com
- remove aspell support [bsc#1052956]
-------------------------------------------------------------------
Sun Nov 15 09:27:42 UTC 2015 - jengelh@inai.de
- Grammar corrections to description.
Utilize new URL for source tarball (old one yielded NXDOMAIN).
-------------------------------------------------------------------
Fri Jan 17 14:40:54 UTC 2014 - lazy.kent@opensuse.org
- Correct baselibs.conf.
-------------------------------------------------------------------
Fri Jan 3 09:51:24 UTC 2014 - lazy.kent@opensuse.org
- Split off rcc-runtime subpackage.
-------------------------------------------------------------------
Sat Dec 7 11:21:43 UTC 2013 - lazy.kent@opensuse.org
- Update to 0.2.12.
* Remove librcd and enca from pkgconfig requires.
* Use cs for Czech language (cz is wrong).
* Language autodetection: prefer english over the languages
without any non-parent word (english is global parent).
* Support LibGuess 1.1.
* Fix build system for compatibility with latest versions of
automake.
* Fix complaining in example.
* Multiple fixes of build system.
* Compatibility with older automake and fixes to release script.
* Unversion generated files.
- Drop "librcc-0.2.9-czech_config", "librcc-0.2.10-libguess",
"libguess.c-64bit-portability" patches (fixed upstream).
- Merge librcc0 and rcc-runtime packages because they depends on
each other.
-------------------------------------------------------------------
Tue Oct 22 15:58:10 UTC 2013 - lazy.kent@opensuse.org
- Drop librtranslate-devel from BuildRequires to shorten build
cycle.
-------------------------------------------------------------------
Tue Jul 16 11:54:39 UTC 2013 - lazy.kent@opensuse.org
- Fix Supplements tag placement.
-------------------------------------------------------------------
Tue Jun 25 14:51:28 UTC 2013 - mvyskocil@suse.com
- download source tarball again, the former one did not match
-------------------------------------------------------------------
Mon Jun 24 20:55:48 UTC 2013 - i@marguerite.su
- add dependency: libguess
* for CJK charsets detection, or unzip fails(bnc#821877)
- add patch: librcc-0.2.10-libguess.patch
* enable libguess
- add patch: libguess.c-64bit-portability.patch
* fix 64bit portability issue libguess.c:48
- enable libtranslate
- fix rcc-runtime dependency for librcc0
* rcc-runtime should be dependency for librcc0
instead of librcc
* without rcc-runtime, there'll be no engines,
thus librcc0 is useless then
-------------------------------------------------------------------
Thu Dec 20 21:09:11 UTC 2012 - lazy.kent@opensuse.org
- Update to 0.2.10.
* Fixed bugs.
- Drop librcc-printf.diff, librcc-0.2.9-suse-lint.diff,
librcc-0.2.9-provide_prototype.patch (fixed upstream).
- Build against libdb (build requires db-devel).
-------------------------------------------------------------------
Fri May 11 08:55:36 UTC 2012 - coolo@suse.com
- rename base package to librcc to avoid package renames later
-------------------------------------------------------------------
Fri Dec 16 11:26:39 UTC 2011 - lazy.kent@opensuse.org
- Corrected License tag according to SPDX standard.
- Use full URL as a source.
- Removed unsupported SUSE version check.
- Spec clean up and formatting.
-------------------------------------------------------------------
Mon Nov 21 15:27:44 UTC 2011 - jengelh@medozas.de
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
- Use %_smp_mflags for parallel building
-------------------------------------------------------------------
Sun Nov 20 06:18:35 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Tue Aug 23 14:34:00 CEST 2011 - pth@suse.de
- Use packageand to pull in librcc0 if aspell and unzip are
installed (bnc#710609).
-------------------------------------------------------------------
Mon Jun 7 12:04:31 UTC 2010 - lazy.kent.suse@gmail.com
- corrected rccFree patch
-------------------------------------------------------------------
Wed May 26 10:59:41 UTC 2010 - pth@suse.de
- Fixx rccFree definition and all its callers.
-------------------------------------------------------------------
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

109
librcc.spec Normal file
View File

@ -0,0 +1,109 @@
#
# spec file for package librcc
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define major 0
Name: librcc
Version: 0.2.13
Release: 0
Summary: Russian Character Set Conversion Library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://rusxmms.sourceforge.net
Source: https://github.com/RusXMMS/librcc/archive/refs/tags/librcc-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: aspell-devel
BuildRequires: automake
BuildRequires: db-devel
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(enca)
BuildRequires: pkgconfig(libguess)
BuildRequires: pkgconfig(librcd)
BuildRequires: pkgconfig(libxml-2.0)
%description
Provides the possibility to automatically convert considered
encodings to and from UTF-8. A lot of languages are supported, not
just the Russian one. The library is part of the rusxmms patch.
%package -n %{name}%{major}
Summary: Russian Character Set Conversion Library
Group: System/Libraries
Requires: rcc-runtime
Supplements: (unzip and aspell)
%description -n %{name}%{major}
Provides the possibility to automatically convert considered
encodings to and from UTF-8. A lot of languages are supported, not
just the Russian one. The library is part of the rusxmms patch.
%package devel
Summary: Development files for librcc, a charset conversion library
Group: Development/Libraries/C and C++
Requires: %{name}%{major} = %{version}
%description devel
This subpackage contains libraries and header files for developing
applications that want to make use of librcc.
%package -n rcc-runtime
Summary: LibRCC Runtime Environment
Group: System/Libraries
%description -n rcc-runtime
Runtime environment for the LibRCC package.
%prep
%setup -q -n librcc-librcc-%{version}
%build
./autogen.sh
%configure \
--disable-static \
--enable-force-system-iconv
%make_build
%install
%make_install
install -Dm 0644 examples/rcc.xml %{buildroot}%{_sysconfdir}/rcc.xml
rm -f %{buildroot}%{_libdir}/{*.la,rcc/engines/*.la}
rm -rf %{_builddir}/%{name}-%{version}/examples/{.deps,Makefile,*~}
%post -n %{name}%{major} -p /sbin/ldconfig
%postun -n %{name}%{major} -p /sbin/ldconfig
%files -n %{name}%{major}
%license COPYING
%{_libdir}/librcc.so.*
%{_libdir}/librccui.so.*
%files devel
%license COPYING
%doc AUTHORS ChangeLog NEWS README docs examples
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/%{name}.pc
%files -n rcc-runtime
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/rcc/
%config(noreplace) %{_sysconfdir}/rcc.xml
%changelog