Name: lokalize Summary: Computer-aided translation system Version: 4.14.1 Release: 1%{?dist} License: GPLv2+ and GFDL URL: https://projects.kde.org/projects/kde/kdesdk/lokalize %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: kdelibs4-devel >= %{version} BuildRequires: pkgconfig(hunspell) Requires: kross(python) Requires: kdesdk-strigi-analyzers >= %{version} Conflicts: kdesdk-common < 4.10.80 Obsoletes: kdesdk-lokalize < 4.10.80 Provides: kdesdk-lokalize = %{version}-%{release} %description Computer-aided translation system focusing on productivity and performance %prep %setup -q -n %{name}-%{version} %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang lokalize --with-kde --without-mo chmod +x %{buildroot}/%{_kde4_appsdir}/lokalize/scripts/odf/xliffmerge.py sed -i '1s/^/#!\/bin\/sh\n/' %{buildroot}/%{_kde4_appsdir}/lokalize/scripts/find-gui-text.sh %check desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop %post touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: %posttrans gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: update-mime-database %{_kde4_datadir}/mime >& /dev/null ||: %postun if [ $1 -eq 0 ] ; then touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: update-mime-database %{_kde4_datadir}/mime >& /dev/null ||: fi %files -f lokalize.lang %doc COPYING COPYING.DOC %{_kde4_bindir}/lokalize %{_kde4_appsdir}/lokalize/ %{_kde4_iconsdir}/hicolor/*/apps/lokalize.* %{_kde4_datadir}/config.kcfg/lokalize.kcfg %{_kde4_datadir}/applications/kde4/lokalize.desktop %changelog * Tue Sep 16 2014 Rex Dieter - 4.14.1-1 - 4.14.1 * Sun Aug 17 2014 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 15 2014 Rex Dieter - 4.14.0-1 - 4.14.0 * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97 * Tue Jul 15 2014 Rex Dieter - 4.13.3-1 - 4.13.3 * Mon Jun 09 2014 Rex Dieter - 4.13.2-1 - 4.13.2 * Sat Jun 07 2014 Fedora Release Engineering - 4.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 11 2014 Rex Dieter - 4.13.1-1 - 4.13.1 * Sat Apr 12 2014 Rex Dieter - 4.13.0-1 - 4.13.0 * Fri Apr 04 2014 Rex Dieter - 4.12.97-1 - 4.12.97 * Sun Mar 23 2014 Rex Dieter - 4.12.95-1 - 4.12.95 * Wed Mar 19 2014 Rex Dieter - 4.12.90-1 - 4.12.90 * Sun Mar 02 2014 Rex Dieter - 4.12.3-1 - 4.12.3 * Fri Jan 31 2014 Rex Dieter - 4.12.2-1 - 4.12.2 * Fri Jan 10 2014 Rex Dieter - 4.12.1-1 - 4.12.1 * Thu Dec 19 2013 Rex Dieter - 4.12.0-1 - 4.12.0 * Sun Dec 01 2013 Rex Dieter - 4.11.97-1 - 4.11.97 * Thu Nov 21 2013 Rex Dieter - 4.11.95-1 - 4.11.95 * Sat Nov 16 2013 Rex Dieter - 4.11.90-1 - 4.11.90 * Sat Nov 02 2013 Rex Dieter - 4.11.3-1 - 4.11.3 * Sat Sep 28 2013 Rex Dieter - 4.11.2-1 - 4.11.2 * Wed Sep 04 2013 Rex Dieter - 4.11.1-1 - 4.11.1 * Wed Aug 28 2013 Jan Grulich - 4.11.0-2 - fix required version of kdesdk-strigi-analyzers and typo * Thu Aug 22 2013 Jan Grulich - 4.11.0-1 - 4.11 * Thu Aug 08 2013 Jan Grulich - 4.10.97-1 - Split off from kdesdk package