Группа :: Графика
Пакет: easypaint
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: easypaint
Epoch: 1
Version: 0.1.1
Release: alt4
Summary: Easy graphic editing program
License: MIT
Group: Graphics
URL: https://github.com/Gr1N/EasyPaint
Source: %name-%version.tar
Source1: %name.desktop
Patch: easypaint-0.1.1-fix-link-to-tracker.patch
Patch1: 0001-Added-system-translation-preload-for-qt5.patch
Patch2: easypaint-0.1.1-fix-build-with-qt-5.15.patch
BuildRequires: gcc-c++ qt5-base-devel qt5-tools
BuildRequires: ImageMagick-tools
%description
%summary
%prep
%setup
%patch -p1
%patch1 -p1
%patch2 -p1
%build
pushd sources
lrelease-qt5 easypaint.pro
%qmake_qt5
%make_build
popd
%install
install -Dp -m0755 sources/bin/easypaint %buildroot%_bindir/%name
install -Dp -m0644 sources/media/logo/easypaint_64.png %buildroot%_pixmapsdir/%name.png
install -Dp -m0644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
mkdir -p %buildroot%_datadir/%name/translations
cp sources/translations/*.qm %buildroot%_datadir/%name/translations/
for x in 16 32 48; do
mkdir -p %buildroot%_iconsdir/hicolor/$x'x'$x/apps/
convert %buildroot%_pixmapsdir/%name.png -resize $x'x'$x %buildroot/%_iconsdir/hicolor/$x'x'$x/apps/%name.png
done
%files
%_bindir/%name
%_datadir/%name
%_desktopdir/%name.desktop
%_pixmapsdir/*.png
%_liconsdir/*
%_niconsdir/*
%_miconsdir/*
%changelog
…
Полный changelog можно просмотреть здесь
Epoch: 1
Version: 0.1.1
Release: alt4
Summary: Easy graphic editing program
License: MIT
Group: Graphics
URL: https://github.com/Gr1N/EasyPaint
Source: %name-%version.tar
Source1: %name.desktop
Patch: easypaint-0.1.1-fix-link-to-tracker.patch
Patch1: 0001-Added-system-translation-preload-for-qt5.patch
Patch2: easypaint-0.1.1-fix-build-with-qt-5.15.patch
BuildRequires: gcc-c++ qt5-base-devel qt5-tools
BuildRequires: ImageMagick-tools
%description
%summary
%prep
%setup
%patch -p1
%patch1 -p1
%patch2 -p1
%build
pushd sources
lrelease-qt5 easypaint.pro
%qmake_qt5
%make_build
popd
%install
install -Dp -m0755 sources/bin/easypaint %buildroot%_bindir/%name
install -Dp -m0644 sources/media/logo/easypaint_64.png %buildroot%_pixmapsdir/%name.png
install -Dp -m0644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
mkdir -p %buildroot%_datadir/%name/translations
cp sources/translations/*.qm %buildroot%_datadir/%name/translations/
for x in 16 32 48; do
mkdir -p %buildroot%_iconsdir/hicolor/$x'x'$x/apps/
convert %buildroot%_pixmapsdir/%name.png -resize $x'x'$x %buildroot/%_iconsdir/hicolor/$x'x'$x/apps/%name.png
done
%files
%_bindir/%name
%_datadir/%name
%_desktopdir/%name.desktop
%_pixmapsdir/*.png
%_liconsdir/*
%_niconsdir/*
%_miconsdir/*
%changelog
…
Полный changelog можно просмотреть здесь