%define major 1 %define libname %mklibname hangul %major %define develname %mklibname -d hangul Name: libhangul Summary: A generalized and portable library for hangul Version: 0.1.0 Release: %mkrel 2 Group: System/Internationalization License: LGPLv2+ URL: http://code.google.com/p/libhangul/ Source0: http://libhangul.googlecode.com/files/%name-%version.tar.gz Conflicts: %{_lib}hangul0 < 0.0.8 %description libhangul is a generalized and portable library for processing hangul. %package -n %{libname} Summary: Main libhangul library Group: System/Internationalization Requires: %{name} = %{version}-%{release} %description -n %{libname} libhangul library. %package -n %{develname} Summary: Development files for %{name} Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %mklibname -d hangul 0 %description -n %{develname} Headers of %{name} for development. %prep %setup -q %build %configure2_5x --disable-static %make %install %makeinstall_std rm -f %{buildroot}%{_libdir}/*.la %find_lang %name %files -f %name.lang %{_bindir}/hangul %{_datadir}/libhangul %files -n %{libname} %{_libdir}/*.so.%{major}* %files -n %{develname} %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README %{_includedir}/hangul-1.0/hangul.h %{_libdir}/*.so %{_libdir}/pkgconfig/libhangul.pc %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.1.0-2.mga3 + Revision: 357458 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jun 14 2012 fwang <fwang> 0.1.0-1.mga3 + Revision: 260614 - update url * Mon Oct 31 2011 fwang <fwang> 0.1.0-1.mga2 + Revision: 160315 - new version 0.1.0 * Thu Mar 24 2011 boklm <boklm> 0.0.12-2.mga1 + Revision: 76172 - rebuild for bug #497 * Wed Mar 16 2011 steletch <steletch> 0.0.12-1.mga1 + Revision: 72816 - Clean spec file - imported package libhangul