From 069a0cccc9628753d3d35f4454ccd413be37bc637265c2f1e8cb86b973b07c3d Mon Sep 17 00:00:00 2001 From: Kyrill Detinov Date: Sat, 7 Jan 2023 18:28:14 +0000 Subject: [PATCH] Accepting request 1056796 from home:dirkmueller:Factory - update to 0.2.13: * switch to git hub * use pkg-config for libxml support * fix libxml2 initialization and cleanup OBS-URL: https://build.opensuse.org/request/show/1056796 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librcc?expand=0&rev=20 --- librcc-0.2.12.tar.bz2 | 3 --- librcc-0.2.13.tar.gz | 3 +++ librcc.changes | 8 ++++++++ librcc.spec | 38 +++++++++++++++++++------------------- 4 files changed, 30 insertions(+), 22 deletions(-) delete mode 100644 librcc-0.2.12.tar.bz2 create mode 100644 librcc-0.2.13.tar.gz diff --git a/librcc-0.2.12.tar.bz2 b/librcc-0.2.12.tar.bz2 deleted file mode 100644 index 1e5ba7d..0000000 --- a/librcc-0.2.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:207973fbb73e1e376dad7542af17fe428efece91ea7f92a4efbcee676d2cb74b -size 466527 diff --git a/librcc-0.2.13.tar.gz b/librcc-0.2.13.tar.gz new file mode 100644 index 0000000..674382d --- /dev/null +++ b/librcc-0.2.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:112b2e6ea465e34bd28d34d39a9982da16a1cc2b016966123e12075b52833920 +size 190213 diff --git a/librcc.changes b/librcc.changes index 28be42d..ab42aec 100644 --- a/librcc.changes +++ b/librcc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Dec 9 22:26:06 UTC 2022 - Dirk Müller + +- 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 diff --git a/librcc.spec b/librcc.spec index 6e86b22..55ee5a5 100644 --- a/librcc.spec +++ b/librcc.spec @@ -1,7 +1,7 @@ # # spec file for package librcc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,29 +12,30 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define major 0 - Name: librcc -Version: 0.2.12 +Version: 0.2.13 Release: 0 Summary: Russian Character Set Conversion Library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: http://rusxmms.sourceforge.net -Source: http://darksoft.org/files/rusxmms/%name-%version.tar.bz2 +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: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(enca) BuildRequires: pkgconfig(libguess) BuildRequires: pkgconfig(librcd) BuildRequires: pkgconfig(libxml-2.0) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Provides the possibility to automatically convert considered @@ -45,7 +46,7 @@ just the Russian one. The library is part of the rusxmms patch. Summary: Russian Character Set Conversion Library Group: System/Libraries Requires: rcc-runtime -Supplements: unzip +Supplements: (unzip and aspell) %description -n %{name}%{major} Provides the possibility to automatically convert considered @@ -69,13 +70,14 @@ Group: System/Libraries Runtime environment for the LibRCC package. %prep -%setup -q +%setup -q -n librcc-librcc-%{version} %build +./autogen.sh %configure \ --disable-static \ --enable-force-system-iconv -make %{?_smp_mflags} +%make_build %install %make_install @@ -84,25 +86,23 @@ 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} -%defattr(-,root,root,-) -%doc COPYING +%license COPYING %{_libdir}/librcc.so.* %{_libdir}/librccui.so.* %files devel -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README docs examples +%license COPYING +%doc AUTHORS ChangeLog NEWS README docs examples %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/%{name}.pc %files -n rcc-runtime -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING NEWS README +%license COPYING +%doc AUTHORS ChangeLog NEWS README %{_libdir}/rcc/ %config(noreplace) %{_sysconfdir}/rcc.xml