Blame SPECS/libpinyin.spec

69cbd1
%global snapshot 1
69cbd1
69cbd1
Name:           libpinyin
69cbd1
Version:        0.9.93
69cbd1
Release:        4%{?dist}
69cbd1
Summary:        Library to deal with pinyin
69cbd1
69cbd1
License:        GPLv2+
69cbd1
URL:            https://github.com/libpinyin/libpinyin
69cbd1
Source0:        http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz
69cbd1
%if %snapshot
69cbd1
Patch0:         libpinyin-0.10.x-head.patch
69cbd1
%endif
69cbd1
69cbd1
BuildRequires:  libdb-devel, glib2-devel
69cbd1
Requires:       %{name}-data%{?_isa} = %{version}-%{release}
69cbd1
69cbd1
%description
69cbd1
The libpinyin project aims to provide the algorithms core
69cbd1
for intelligent sentence-based Chinese pinyin input methods.
69cbd1
69cbd1
69cbd1
%package        devel
69cbd1
Summary:        Development files for %{name}
69cbd1
Requires:       %{name} = %{version}-%{release}
69cbd1
69cbd1
%description    devel
69cbd1
The %{name}-devel package contains libraries and header files for
69cbd1
developing applications that use %{name}.
69cbd1
69cbd1
69cbd1
%package        data
69cbd1
Summary:        Data files for %{name}
69cbd1
Requires:       %{name} = %{version}-%{release}
69cbd1
69cbd1
%description data
69cbd1
The %{name}-data package contains data files.
69cbd1
69cbd1
69cbd1
%package        tools
69cbd1
Summary:        Tools for %{name}
69cbd1
Requires:       %{name} = %{version}-%{release}
69cbd1
69cbd1
%description tools
69cbd1
The %{name}-tools package contains tools.
69cbd1
69cbd1
69cbd1
%prep
69cbd1
%setup -q
69cbd1
69cbd1
%if %snapshot
69cbd1
%patch0 -p1 -b .head
69cbd1
%endif
69cbd1
69cbd1
%build
69cbd1
%configure --disable-static
69cbd1
make %{?_smp_mflags}
69cbd1
69cbd1
%check
69cbd1
make check
69cbd1
69cbd1
%install
69cbd1
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
69cbd1
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
69cbd1
69cbd1
69cbd1
%post -p /sbin/ldconfig
69cbd1
69cbd1
%postun -p /sbin/ldconfig
69cbd1
69cbd1
69cbd1
%files
69cbd1
%doc AUTHORS COPYING README
69cbd1
%{_libdir}/*.so.*
69cbd1
%dir %{_libdir}/libpinyin
69cbd1
69cbd1
%files devel
69cbd1
%doc
69cbd1
%dir %{_includedir}/libpinyin-%{version}
69cbd1
%{_includedir}/libpinyin-%{version}/*
69cbd1
%{_libdir}/*.so
69cbd1
%{_libdir}/pkgconfig/libpinyin.pc
69cbd1
69cbd1
%files data
69cbd1
%doc
69cbd1
%{_libdir}/libpinyin/data
69cbd1
69cbd1
%files tools
69cbd1
%{_bindir}/gen_binary_files
69cbd1
%{_bindir}/import_interpolation
69cbd1
%{_bindir}/gen_unigram
69cbd1
%{_mandir}/man1/*.1.*
69cbd1
69cbd1
%changelog
69cbd1
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.9.93-4
69cbd1
- Mass rebuild 2014-01-24
69cbd1
69cbd1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.9.93-3
69cbd1
- Mass rebuild 2013-12-27
69cbd1
69cbd1
* Tue Jul 30 2013 Peng Wu <pwu@redhat.com> - 0.9.93-2
69cbd1
- Fixes load table.conf in German locale
69cbd1
69cbd1
* Thu Jun 27 2013 Peng Wu <pwu@redhat.com> - 0.9.93-1
69cbd1
- Update to 0.9.93
69cbd1
69cbd1
* Sun Jun  9 2013 Peng Wu <pwu@redhat.com> - 0.9.92-1
69cbd1
- Update to 0.9.92
69cbd1
69cbd1
* Sun Apr 28 2013 Peng Wu <pwu@redhat.com> - 0.9.91-1
69cbd1
- Update to 0.9.91
69cbd1
69cbd1
* Sat Mar 23 2013 Peng Wu <pwu@redhat.com> - 0.8.93-2
69cbd1
- Fixes import dictionary
69cbd1
69cbd1
* Mon Mar 18 2013 Peng Wu <pwu@redhat.com> - 0.8.93-1
69cbd1
- Update to 0.8.93
69cbd1
69cbd1
* Fri Mar  8 2013 Peng Wu <pwu@redhat.com> - 0.8.92-1
69cbd1
- Update to 0.8.92
69cbd1
69cbd1
* Mon Mar  4 2013 Peng Wu <pwu@redhat.com> - 0.8.91-1
69cbd1
- Update to 0.8.91
69cbd1
69cbd1
* Thu Feb 28 2013 Peng Wu <pwu@redhat.com> - 0.8.1-1
69cbd1
- Update to 0.8.1
69cbd1
- Fixes pinyin_init crashes
69cbd1
69cbd1
* Mon Jan 28 2013 Peng Wu <pwu@redhat.com> - 0.8.0-3
69cbd1
- Fixes incomplete pinyin
69cbd1
69cbd1
* Wed Dec 12 2012 Peng Wu <pwu@redhat.com> - 0.8.0-2
69cbd1
- Fixes chewing input
69cbd1
69cbd1
* Wed Nov 14 2012  Peng Wu <pwu@redhat.com> - 0.8.0-1
69cbd1
- Update to 0.8.0
69cbd1
69cbd1
* Mon Oct 15 2012  Peng Wu <pwu@redhat.com> - 0.7.92-1
69cbd1
- Update to 0.7.92
69cbd1
69cbd1
* Mon Sep 17 2012  Peng Wu <pwu@redhat.com> - 0.7.91-1
69cbd1
- Update to 0.7.91
69cbd1
69cbd1
* Wed Aug 15 2012  Peng Wu <pwu@redhat.com> - 0.7.1-1
69cbd1
- Update to 0.7.1
69cbd1
69cbd1
* Fri Jul 27 2012  Peng Wu <pwu@redhat.com> - 0.7.0-1
69cbd1
- Update to 0.7.0
69cbd1
69cbd1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.92-3
69cbd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
69cbd1
69cbd1
* Tue Jul 10 2012  Peng Wu <pwu@redhat.com> - 0.6.92-2
69cbd1
- Update libpinyin-0.7.x-head.patch
69cbd1
69cbd1
* Wed Jul 04 2012  Peng Wu <pwu@redhat.com> - 0.6.92-1
69cbd1
- Update to 0.6.92
69cbd1
69cbd1
* Tue Jun 12 2012  Peng Wu <pwu@redhat.com> - 0.6.0-3
69cbd1
- Removes provides ibus-pinyin-db
69cbd1
69cbd1
* Thu Jun 07 2012  Peng Wu <pwu@redhat.com> - 0.6.0-2
69cbd1
- Fixes "jv" => "ju"
69cbd1
69cbd1
* Mon May 28 2012  Peng Wu <pwu@redhat.com> - 0.6.0-1
69cbd1
- Update to 0.6.0
69cbd1
69cbd1
* Tue Mar 27 2012  Peng Wu <pwu@redhat.com> - 0.5.92-1
69cbd1
- Update to 0.5.92
69cbd1
69cbd1
* Wed Feb 15 2012  Peng Wu <pwu@redhat.com> - 0.5.91-3
69cbd1
- Provides ibus-pinyin-db
69cbd1
69cbd1
* Tue Feb 14 2012  Peng Wu <pwu@redhat.com> - 0.5.91-2
69cbd1
- Improves full pinyin parser2
69cbd1
69cbd1
* Mon Feb 13 2012  Peng Wu <pwu@redhat.com> - 0.5.91-1
69cbd1
- Update to 0.5.91
69cbd1
69cbd1
* Sun Jan 29 2012  Peng Wu <pwu@redhat.com> - 0.5.0-2
69cbd1
- Fixes pinyin parsers
69cbd1
69cbd1
* Wed Jan 18 2012  Peng Wu <pwu@redhat.com> - 0.5.0-1
69cbd1
- Update to 0.5.0
69cbd1
69cbd1
* Fri Jan 13 2012  Peng Wu <pwu@redhat.com> - 0.4.93-1
69cbd1
- Update to 0.4.93
69cbd1
69cbd1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.92-2
69cbd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
69cbd1
69cbd1
* Thu Dec 29 2011  Peng Wu <pwu@redhat.com> - 0.4.92-1
69cbd1
- Update to 0.4.92
69cbd1
69cbd1
* Tue Dec 27 2011  Peng Wu <pwu@redhat.com> - 0.4.91-1
69cbd1
- Update to 0.4.91
69cbd1
69cbd1
* Fri Nov 25 2011  Peng Wu <pwu@redhat.com> - 0.3.0-2
69cbd1
- Increase train factor
69cbd1
69cbd1
* Fri Nov 18 2011  Peng Wu <pwu@redhat.com> - 0.3.0-1
69cbd1
- Update to 0.3.0
69cbd1
69cbd1
* Thu Nov 03 2011  Peng Wu <pwu@redhat.com> - 0.2.99.3-1
69cbd1
- Update to 0.2.99.3
69cbd1
69cbd1
* Mon Oct 31 2011  Peng Wu <pwu@redhat.com> - 0.2.99.2-5
69cbd1
- Fixes memory leak and save_db
69cbd1
69cbd1
* Thu Oct 27 2011  Peng Wu <pwu@redhat.com> - 0.2.99.2-4
69cbd1
- Update libpinyin-0.3.x-head.patch
69cbd1
69cbd1
* Thu Oct 27 2011  Peng Wu <pwu@redhat.com> - 0.2.99.2-3
69cbd1
- Add requires
69cbd1
69cbd1
* Thu Oct 27 2011  Peng Wu <pwu@redhat.com> - 0.2.99.2-2
69cbd1
- Add patch libpinyin-0.3.x-head.patch
69cbd1
69cbd1
* Tue Oct 11 2011  Peng Wu <pwu@redhat.com> - 0.2.99.2-1
69cbd1
- Update to 0.2.99.2
69cbd1
69cbd1
* Wed Sep 28 2011  Peng Wu <pwu@redhat.com> - 0.2.99.1-1
69cbd1
- Update to 0.2.99.1
69cbd1
69cbd1
* Thu Sep 08 2011  Peng Wu <pwu@redhat.com> - 0.2.99-2
69cbd1
- Split data sub package
69cbd1
69cbd1
* Wed Aug 31 2011  Peng Wu <alexepico@gmail.com> - 0.2.99-1
69cbd1
- Initial version