Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > a85d6cea8ad31c9898e0541e8384fa51 > files > 3

opencc-0.3.0-3.mga3.src.rpm

Name: opencc
Version: 0.3.0
Release: %mkrel 3
Summary: Simplified-Traditional Chinese Conversion
License: ASL 2.0
Group: System/Internationalization
URL: http://code.google.com/p/opencc
Source0: http://opencc.googlecode.com/files/%{name}-%{version}.tar.gz
Patch1: opencc-0.3.0-static-lib.patch
BuildRequires: cmake

%description
OpenCC is an opensource project for conversion between Traditional Chinese and
Simplified Chinese, which supports phrase-level conversion and regional idioms
among Mainland China, Taiwan and Hong kong.


%define libname %mklibname opencc 1
%package -n %libname
Summary: Runtime library for OpenCC
Group: System/Libraries
Requires: %name = %version-%release

%description -n %libname
Runtime Libraries for OpenCC.

%define develname %mklibname -d %{name}
%package -n %develname
Summary: Development tools for OpenCC
Group: Development/Other
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Obsoletes: %{_lib}opensc-devel

%description -n %develname
Development tools for OpenCC.

%prep
%setup -q
%patch1 -p0

%build
%cmake
%make

%install
%makeinstall_std -C build

%find_lang %{name}

%files -f %{name}.lang
%doc AUTHORS COPYING README
%{_bindir}/*
%{_datadir}/opencc
%{_datadir}/man/man1/*

%files -n %{libname}
%{_libdir}/lib*.so.1*

%files -n %{develname}
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.3.0-3.mga3
+ Revision: 361913
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Oct 15 2012 tv <tv> 0.3.0-2.mga3
+ Revision: 306376
- better group & description

* Mon Jan 02 2012 fwang <fwang> 0.3.0-1.mga2
+ Revision: 189598
- new version 0.3.0

* Thu Mar 24 2011 boklm <boklm> 0.2.0-2.mga1
+ Revision: 76197
- rebuild for bug #497

* Sat Mar 12 2011 fwang <fwang> 0.2.0-1.mga1
+ Revision: 68615
- buildroot not required
- imported package opencc