Репозиторий Sisyphus
Последнее обновление: 20 ноября 2017 | Пакетов: 17916 | Посещений: 10404865
en ru br
Репозитории ALT

Группа :: Графические оболочки/KDE
Пакет: kf5-i18n-uk

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 


%define lng uk
%define lngg Ukrainian

Name: kf5-i18n-%lng
Version: 5.12.0
Release: alt1%ubt

Group: Graphical desktop/KDE
Summary: %lngg language support for KDE Workspace
License: GPL
Url: http://www.kde.org/

Requires: kf5-filesystem
BuildArch: noarch

Source0: kf5-l10n-%lng-messages-%version.tar
Source1: kf5-l10n-%lng-docs-%version.tar
Source100: template-main
Source101: template-messages

BuildRequires(pre): rpm-build-kf5 rpm-build-ubt
BuildRequires: extra-cmake-modules gcc-c++
BuildRequires: libdb4-devel qt5-tools-devel
BuildRequires: kf5-kdelibs4support kf5-kdoctools kf5-kdoctools-devel-static kf5-ki18n-devel

%description
%lngg language support for KDE.


%prep
%setup -T -c -n %name-%version -a0 -a1
for d in *-l10n-* ; do
   simplename=`echo "$d" | sed -e 's|^kf5-l10n-%lng-||' -e 's|-[[:digit:]].*||'`
   mv $d $simplename
done
rm -f messages/*khelpcenter*
rm -rf docs/fundamentals
rm -rf docs/khelpcenter

find docs -type d | \
while read d ; do
   pushd $d
   if [ -f index.docbook ] ; then
echo "kdoctools_create_handbook(index.docbook INSTALL_DESTINATION \${HTML_INSTALL_DIR}/\${CURRENT_LANG}/ SUBDIR `basename $d` )" >CMakeLists.txt
   elif [ -n "`find ./* -type d`" ] ; then
ls -1d * | \
while read docd ; do
   [ -d "$docd" ] || continue
   echo "add_subdirectory( $docd )" >>CMakeLists.txt
done
   else
echo >CMakeLists.txt
   fi
   popd
done

cat %SOURCE101 >messages/CMakeLists.txt

cat %SOURCE100 >CMakeLists.txt
sed -i 's| at LANGSHORT at |%lng|' CMakeLists.txt
ls -1d * | \
while read d ; do
   [ -d "$d" ] || continue
   echo "add_subdirectory( $d )" >> CMakeLists.txt
done



%files
#%dir %_K5doc/%lng/
#%lang(%lng) %_K5doc/%lng/*
#
#%dir %_K5i18n/%lng/
#
#%dir %_K5i18n/%lng/LC_MESSAGES/
#%lang(%lng) %_K5i18n/%lng/LC_MESSAGES/*.mo

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin