forked from pool/librcc
update to 0.2.12
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librcc?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
dee2b4a916
commit
e30719f36a
40
librcc.spec
40
librcc.spec
@@ -17,8 +17,9 @@
|
||||
|
||||
|
||||
%define lname librcc0
|
||||
|
||||
Name: librcc
|
||||
Version: 0.2.10
|
||||
Version: 0.2.12
|
||||
Release: 0
|
||||
Summary: Russian Charset Conversion Library
|
||||
License: LGPL-2.1+
|
||||
@@ -26,19 +27,13 @@ Group: System/Libraries
|
||||
Url: http://rusxmms.sourceforge.net
|
||||
Source0: http://dside.dyndns.org/files/rusxmms/%{name}-%{version}.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM librcc-0.2.9-czech_config.patch lazy.kent.suse@gmail.com -- fix Czech locale code in config file
|
||||
Patch1: librcc-0.2.9-czech_config.patch
|
||||
# PATCH-FIX-UPSTREAM librcc-0.2.10-libguess.patch marguerite@opensuse.org -- enable libguess
|
||||
Patch2: librcc-0.2.10-libguess.patch
|
||||
# PATCH-FIX-UPSTREAM libguess.c-64bit-portability.patch marguerite@opensuse.org -- fix 64bit portability issuse libguess.c:48/49
|
||||
Patch3: libguess.c-64bit-portability.patch
|
||||
BuildRequires: aspell-devel
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: libguess-devel
|
||||
BuildRequires: librcd-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(enca)
|
||||
BuildRequires: pkgconfig(libguess)
|
||||
BuildRequires: pkgconfig(librcd)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -50,7 +45,8 @@ library is part of rusxmms patch.
|
||||
%package -n %lname
|
||||
Summary: Russian Charset Conversion Library
|
||||
Group: System/Libraries
|
||||
Requires: rcc-runtime = %{version}
|
||||
Provides: rcc-runtime = %{version}
|
||||
Obsoletes: rcc-runtime < 0.2.12
|
||||
Supplements: packageand(unzip:aspell)
|
||||
|
||||
%description -n %lname
|
||||
@@ -66,21 +62,10 @@ Requires: %{lname} = %{version}
|
||||
%description -n librcc-devel
|
||||
Development files for the package LibRCC.
|
||||
|
||||
%package -n rcc-runtime
|
||||
Summary: LibRCC Runtime Environment
|
||||
Group: Productivity/Text/Convertors
|
||||
|
||||
%description -n rcc-runtime
|
||||
Runtime environment for the package LibRCC.
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}-%{version}
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-force-system-iconv
|
||||
@@ -98,20 +83,17 @@ rm -rf %{_builddir}/librcc-%{version}/examples/{.deps,Makefile,*~}
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_libdir}/librcc.so.*
|
||||
%{_libdir}/librccui.so.*
|
||||
%{_libdir}/rcc/
|
||||
%config(noreplace) %{_sysconfdir}/rcc.xml
|
||||
|
||||
%files -n librcc-devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs examples
|
||||
%doc AUTHORS ChangeLog COPYING 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
|
||||
%{_libdir}/rcc/
|
||||
%config(noreplace) %{_sysconfdir}/rcc.xml
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user