[7801] | 1 | Name: lokalize |
---|
| 2 | Summary: A computer-aided translation system for KDE |
---|
| 3 | Summary(ja): KDE 用 コンピューター支援翻訳システム |
---|
[8252] | 4 | Version: 4.12.2 |
---|
[7801] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | License: GPLv2 |
---|
| 8 | Group: Applications/Development |
---|
| 9 | URL: http://www.kde.org/ |
---|
| 10 | |
---|
| 11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: desktop-file-utils |
---|
| 16 | |
---|
| 17 | BuildRequires: kdelibs-devel >= %{version} |
---|
| 18 | BuildRequires: soprano-devel |
---|
| 19 | BuildRequires: hunspell-devel |
---|
| 20 | |
---|
| 21 | Requires(posttrans,postun): desktop-file-utils |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: Takemikaduchi |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | Lokalize is a computer-aided translation system that focuses on |
---|
| 30 | productivity and quality assurance. It has components usually |
---|
| 31 | included in CAT tools like translation memory, glossary, and also |
---|
| 32 | a unique translation merging (synchronization) capability. |
---|
| 33 | It is targeted for software translation and also integrates external |
---|
| 34 | conversion tools for freelance office document translation. |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | mkdir -p %{_target_platform} |
---|
| 42 | pushd %{_target_platform} |
---|
| 43 | %cmake \ |
---|
| 44 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 45 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 46 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 47 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 48 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 49 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 50 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 51 | .. |
---|
| 52 | popd |
---|
| 53 | |
---|
| 54 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %clean |
---|
| 63 | rm -rf $RPM_BUILD_ROOT |
---|
| 64 | |
---|
| 65 | %post |
---|
| 66 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 67 | |
---|
| 68 | %posttrans |
---|
| 69 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 70 | update-desktop-database -q &> /dev/null ||: |
---|
| 71 | |
---|
| 72 | %postun |
---|
| 73 | if [ $1 -eq 0 ] ; then |
---|
| 74 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 76 | update-desktop-database -q &> /dev/null ||: |
---|
| 77 | fi |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %files |
---|
| 81 | %defattr(-,root,root,-) |
---|
| 82 | %doc COPYING COPYING.DOC |
---|
| 83 | %{_bindir}/%{name} |
---|
| 84 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
| 85 | %{_datadir}/config.kcfg/%{name}.kcfg |
---|
| 86 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 87 | %{_datadir}/kde4/apps/%{name} |
---|
| 88 | %{_docdir}/HTML/en/%{name} |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %changelog |
---|
[8252] | 92 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[8056] | 95 | * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[7801] | 98 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 99 | - initial build |
---|
| 100 | |
---|