Группа :: Обучение
Пакет: kseg
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Summary: Exploring Euclidean geometry
Name: kseg
Version: 0.403
Release: alt2.qa3
License: GPL
Url: http://www.mit.edu/~ibaran/%name.html
Source: http://www.mit.edu/~ibaran/%name-%version.tar.gz
Group: Education
Packager: Fr. Br. George <george at altlinux.ru>
Source1: %name.desktop
Source2: %name.png
Patch1: %name-setFilePath.patch
Patch2: %name-KSEG_HOME.patch
%define _appdir %_datadir/%name
# Automatically added by buildreq on Fri Jun 08 2007
BuildRequires: gcc-c++ libXext-devel libqt3-devel
BuildRequires: libqt3-devel
BuildRequires: zlib-devel
BuildRequires: desktop-file-utils
Requires: libgtk+2-common
%description
KSEG is a Linux program for exploring Euclidean geometry.
KSEG was inspired by the Geometer's Sketchpad, but plans
are to go beyond the functionality that it provides.
%prep
%setup -q -n %name
%patch1 -p1
%patch2 -p1
%build
qmake-qt3
%make KSEG_HOME="%_appdir"
%install
mkdir -p %buildroot%_appdir/{examples,pics,lang} %buildroot%_bindir
install -p -m755 %name %buildroot%_bindir/
install -p -m644 *.qm *.html %buildroot%_appdir/lang/
install -p -m644 examples/* %buildroot%_appdir/examples/
install -p -m644 pics/* %buildroot%_appdir/pics/
install -p -D -m644 %SOURCE2 %buildroot%_datadir/icons/hicolor/32x32/apps/%name.png
desktop-file-install \
--dir %buildroot%_datadir/applications \
--vendor="ALT Linux" \
%SOURCE1
%files
%doc AUTHORS COPYING README*
%_bindir/*
%_appdir/
%_datadir/applications/*.desktop
%_datadir/icons/hicolor/*/*/*
%changelog
…
Полный changelog можно просмотреть здесь
Summary: Exploring Euclidean geometry
Name: kseg
Version: 0.403
Release: alt2.qa3
License: GPL
Url: http://www.mit.edu/~ibaran/%name.html
Source: http://www.mit.edu/~ibaran/%name-%version.tar.gz
Group: Education
Packager: Fr. Br. George <george at altlinux.ru>
Source1: %name.desktop
Source2: %name.png
Patch1: %name-setFilePath.patch
Patch2: %name-KSEG_HOME.patch
%define _appdir %_datadir/%name
# Automatically added by buildreq on Fri Jun 08 2007
BuildRequires: gcc-c++ libXext-devel libqt3-devel
BuildRequires: libqt3-devel
BuildRequires: zlib-devel
BuildRequires: desktop-file-utils
Requires: libgtk+2-common
%description
KSEG is a Linux program for exploring Euclidean geometry.
KSEG was inspired by the Geometer's Sketchpad, but plans
are to go beyond the functionality that it provides.
%prep
%setup -q -n %name
%patch1 -p1
%patch2 -p1
%build
qmake-qt3
%make KSEG_HOME="%_appdir"
%install
mkdir -p %buildroot%_appdir/{examples,pics,lang} %buildroot%_bindir
install -p -m755 %name %buildroot%_bindir/
install -p -m644 *.qm *.html %buildroot%_appdir/lang/
install -p -m644 examples/* %buildroot%_appdir/examples/
install -p -m644 pics/* %buildroot%_appdir/pics/
install -p -D -m644 %SOURCE2 %buildroot%_datadir/icons/hicolor/32x32/apps/%name.png
desktop-file-install \
--dir %buildroot%_datadir/applications \
--vendor="ALT Linux" \
%SOURCE1
%files
%doc AUTHORS COPYING README*
%_bindir/*
%_appdir/
%_datadir/applications/*.desktop
%_datadir/icons/hicolor/*/*/*
%changelog
…
Полный changelog можно просмотреть здесь