diff --git a/librcc.changes b/librcc.changes index 5185cad..01f02b8 100644 --- a/librcc.changes +++ b/librcc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/librcc.spec b/librcc.spec index 170ef68..623a4fe 100644 --- a/librcc.spec +++ b/librcc.spec @@ -1,7 +1,7 @@ # # spec file for package librcc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -16,7 +16,7 @@ # -%define lname librcc0 +%define major 0 Name: librcc Version: 0.2.12 @@ -42,26 +42,32 @@ 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. -%package -n %lname +%package -n %{name}%{major} Summary: Russian Charset Conversion Library Group: System/Libraries -Provides: rcc-runtime = %{version} -Obsoletes: rcc-runtime < 0.2.12 +Requires: rcc-runtime Supplements: packageand(unzip:aspell) -%description -n %lname +%description -n %{name}%{major} 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. -%package -n librcc-devel +%package devel Summary: Development Files for LibRCC Group: Development/Libraries/C and C++ -Requires: %{lname} = %{version} +Requires: %{name}%{major} = %{version} -%description -n librcc-devel +%description devel Development files for the package LibRCC. +%package -n rcc-runtime +Summary: LibRCC Runtime Environment +Group: System/Libraries + +%description -n rcc-runtime +Runtime environment for the package LibRCC. + %prep %setup -q @@ -75,25 +81,29 @@ make %{?_smp_mflags} %make_install install -Dm 0644 examples/rcc.xml %{buildroot}%{_sysconfdir}/rcc.xml rm -f %{buildroot}%{_libdir}/{*.la,rcc/engines/*.la} -rm -rf %{_builddir}/librcc-%{version}/examples/{.deps,Makefile,*~} +rm -rf %{_builddir}/%{name}-%{version}/examples/{.deps,Makefile,*~} -%post -n %lname -p /sbin/ldconfig +%post -n %{name}%{major} -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%postun -n %{name}%{major} -p /sbin/ldconfig -%files -n %lname +%files -n %{name}%{major} %defattr(-,root,root,-) %doc COPYING %{_libdir}/librcc.so.* %{_libdir}/librccui.so.* -%{_libdir}/rcc/ -%config(noreplace) %{_sysconfdir}/rcc.xml -%files -n librcc-devel +%files devel %defattr(-,root,root,-) %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