ALT Linux repositórios
Group :: Gráficos
RPM: drawswf
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: drawswf
Version: 1.2.9
Release: alt3.qa1
Summary: drawing application with a capability of export in flash animation
License: GPL
Group: Graphics
Url: http://drawswf.sf.net
Source: %name-%version.tar.bz2
#BuildArchitectures: i586
Requires: java-common, bash
Packager: Ilya Mashkin <oddity at altlinux.ru>
Summary(ru_RU.KOI8-R): ÇÒÁÆÉÞÅÓËÉÊ ÒÅÄÁËÔÏÒ Ó ×ÏÚÍÏÖÎÏÓÔØÀ ÓÏÚÄÁÎÉÑ ÆÌÜÛ ÁÎÉÍÁÃÉÉ
%description
DrawSWF is a simple drawing application written in Java.
The drawing can be exported as an animated SWF file.
To write the flash file the JavaSWF2 is used
(see http://www.anotherbigidea.com/javaswf/index.html).
%description -l ru_RU.KOI8-R
DrawSWF - ÐÒÏÓÔÏÊ ÇÒÁÆÉÞÅÓËÉÊ ÒÅÄÁËÔÏÒ ÎÁÐÉÓÁÎÎÙÊ ÎÁ Java.
óÏÚÄÁÎÎÙÅ × ÎÅÍ ÁÎÉÍÁÃÉÉ ÍÏÖÎÏ ÜËÓÐÏÒÔÉÒÏ×ÁÔØ ËÁË ÁÎÉÍÉÒÏ×ÁÎÎÙÅ SWF ÆÁÊÌÙ.
äÌÑ ÓÏÚÄÁÎÉÑ ÆÌÜÛ ÆÁÊÌÏ× ÉÓÐÏÌØÚÕÅÔÓÑ JavaSWF2
(ÐÏÄÒÏÂÎÅÅ Ï JavaSWF2 ÎÁ http://www.anotherbigidea.com/javaswf/index.html).
%prep
%setup -q
%build
%install
install -D -m755 %name-%version.jar $RPM_BUILD_ROOT%_libdir/%name/%name-%version.jar
install -D -m755 %name $RPM_BUILD_ROOT%_bindir/%name
install -D -m644 %name.png $RPM_BUILD_ROOT%_niconsdir/%name.png
#install menu
install -m755 -d %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=DrawSWF
GenericName=Flash Animation
Comment=creation of flash animation
Icon=%{name}
Exec=%{name}
Terminal=false
Categories=Graphics;2DGraphics;VectorGraphics;
EOF
%files
%_bindir/*
%attr(755,root,root) %_libdir/%name
%_desktopdir/%{name}.desktop
%_niconsdir/*
%doc README
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.2.9
Release: alt3.qa1
Summary: drawing application with a capability of export in flash animation
License: GPL
Group: Graphics
Url: http://drawswf.sf.net
Source: %name-%version.tar.bz2
#BuildArchitectures: i586
Requires: java-common, bash
Packager: Ilya Mashkin <oddity at altlinux.ru>
Summary(ru_RU.KOI8-R): ÇÒÁÆÉÞÅÓËÉÊ ÒÅÄÁËÔÏÒ Ó ×ÏÚÍÏÖÎÏÓÔØÀ ÓÏÚÄÁÎÉÑ ÆÌÜÛ ÁÎÉÍÁÃÉÉ
%description
DrawSWF is a simple drawing application written in Java.
The drawing can be exported as an animated SWF file.
To write the flash file the JavaSWF2 is used
(see http://www.anotherbigidea.com/javaswf/index.html).
%description -l ru_RU.KOI8-R
DrawSWF - ÐÒÏÓÔÏÊ ÇÒÁÆÉÞÅÓËÉÊ ÒÅÄÁËÔÏÒ ÎÁÐÉÓÁÎÎÙÊ ÎÁ Java.
óÏÚÄÁÎÎÙÅ × ÎÅÍ ÁÎÉÍÁÃÉÉ ÍÏÖÎÏ ÜËÓÐÏÒÔÉÒÏ×ÁÔØ ËÁË ÁÎÉÍÉÒÏ×ÁÎÎÙÅ SWF ÆÁÊÌÙ.
äÌÑ ÓÏÚÄÁÎÉÑ ÆÌÜÛ ÆÁÊÌÏ× ÉÓÐÏÌØÚÕÅÔÓÑ JavaSWF2
(ÐÏÄÒÏÂÎÅÅ Ï JavaSWF2 ÎÁ http://www.anotherbigidea.com/javaswf/index.html).
%prep
%setup -q
%build
%install
install -D -m755 %name-%version.jar $RPM_BUILD_ROOT%_libdir/%name/%name-%version.jar
install -D -m755 %name $RPM_BUILD_ROOT%_bindir/%name
install -D -m644 %name.png $RPM_BUILD_ROOT%_niconsdir/%name.png
#install menu
install -m755 -d %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=DrawSWF
GenericName=Flash Animation
Comment=creation of flash animation
Icon=%{name}
Exec=%{name}
Terminal=false
Categories=Graphics;2DGraphics;VectorGraphics;
EOF
%files
%_bindir/*
%attr(755,root,root) %_libdir/%name
%_desktopdir/%{name}.desktop
%_niconsdir/*
%doc README
%changelog
…
Todas as alterações você pod ver aqui