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
This commit is contained in:
Kyrill Detinov 2023-01-07 18:28:14 +00:00 committed by Git OBS Bridge
parent 46fc3ceaa8
commit 069a0cccc9
4 changed files with 30 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:207973fbb73e1e376dad7542af17fe428efece91ea7f92a4efbcee676d2cb74b
size 466527

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

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
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 Wed Aug 9 13:57:32 UTC 2017 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package librcc # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define major 0
Name: librcc Name: librcc
Version: 0.2.12 Version: 0.2.13
Release: 0 Release: 0
Summary: Russian Character Set Conversion Library Summary: Russian Character Set Conversion Library
License: LGPL-2.1+ License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://rusxmms.sourceforge.net URL: https://rusxmms.sourceforge.net
Source: http://darksoft.org/files/rusxmms/%name-%version.tar.bz2 Source: https://github.com/RusXMMS/librcc/archive/refs/tags/librcc-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: aspell-devel
BuildRequires: automake
BuildRequires: db-devel BuildRequires: db-devel
BuildRequires: gcc-c++
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: pkgconfig(enca) BuildRequires: pkgconfig(enca)
BuildRequires: pkgconfig(libguess) BuildRequires: pkgconfig(libguess)
BuildRequires: pkgconfig(librcd) BuildRequires: pkgconfig(librcd)
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Provides the possibility to automatically convert considered 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 Summary: Russian Character Set Conversion Library
Group: System/Libraries Group: System/Libraries
Requires: rcc-runtime Requires: rcc-runtime
Supplements: unzip Supplements: (unzip and aspell)
%description -n %{name}%{major} %description -n %{name}%{major}
Provides the possibility to automatically convert considered Provides the possibility to automatically convert considered
@ -69,13 +70,14 @@ Group: System/Libraries
Runtime environment for the LibRCC package. Runtime environment for the LibRCC package.
%prep %prep
%setup -q %setup -q -n librcc-librcc-%{version}
%build %build
./autogen.sh
%configure \ %configure \
--disable-static \ --disable-static \
--enable-force-system-iconv --enable-force-system-iconv
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
@ -84,25 +86,23 @@ rm -f %{buildroot}%{_libdir}/{*.la,rcc/engines/*.la}
rm -rf %{_builddir}/%{name}-%{version}/examples/{.deps,Makefile,*~} rm -rf %{_builddir}/%{name}-%{version}/examples/{.deps,Makefile,*~}
%post -n %{name}%{major} -p /sbin/ldconfig %post -n %{name}%{major} -p /sbin/ldconfig
%postun -n %{name}%{major} -p /sbin/ldconfig %postun -n %{name}%{major} -p /sbin/ldconfig
%files -n %{name}%{major} %files -n %{name}%{major}
%defattr(-,root,root,-) %license COPYING
%doc COPYING
%{_libdir}/librcc.so.* %{_libdir}/librcc.so.*
%{_libdir}/librccui.so.* %{_libdir}/librccui.so.*
%files devel %files devel
%defattr(-,root,root,-) %license COPYING
%doc AUTHORS ChangeLog COPYING NEWS README docs examples %doc AUTHORS ChangeLog NEWS README docs examples
%{_includedir}/* %{_includedir}/*
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%files -n rcc-runtime %files -n rcc-runtime
%defattr(-,root,root) %license COPYING
%doc AUTHORS ChangeLog COPYING NEWS README %doc AUTHORS ChangeLog NEWS README
%{_libdir}/rcc/ %{_libdir}/rcc/
%config(noreplace) %{_sysconfdir}/rcc.xml %config(noreplace) %{_sysconfdir}/rcc.xml