Group :: Development/Tools
RPM: pencil
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# SPEC file for Pencil
#
Name: pencil
Version: 2.0.5
Release: alt3
Summary: GUI prototyping tool
Group: Development/Tools
License: %gpl2only
URL: http://pencil.evolus.vn
#URL: http://code.google.com/p/evoluspencil/
Packager: Nikolay Fetisov <naf at altlinux.ru>
ExcludeArch: armh
Source0: %name-%version.tar
Patch0: %name-2.0.4-alt-desktop.patch
Patch1: %name-2.0.4-alt-xulrunner_versions.patch
Patch2: %name-2.0.5-alt-xulrunner.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: desktop-file-utils
%description
Pencil is a GUI prototyping tool that can be used to create
mockups in popular desktop platforms.
Pencil provides various built-in shapes collection for drawing
different types of user interface ranging from desktop to
mobile platforms. The list of built-in collections includes
general-purpose shapes, flowchart elements, desktop/web UI
shapes, Android and iOS GUI shapes.
%prep
%setup
%patch0
%patch1
%patch2
mv COPYING COPYING.orig
ln -s -- $(relative %_licensedir/GPL-2 %_docdir/%name/COPYING) COPYING
%build
%install
install -D -m 0644 ./%_desktopdir/%name.desktop %buildroot%_desktopdir/%name.desktop
install -D -m 0755 ./%_bindir/%name %buildroot%_bindir/%name
mkdir -p %buildroot%_datadir/
cp -a ./%_datadir/%name %buildroot%_datadir/
%files
%doc --no-dereference COPYING
%_bindir/%name
%_datadir/%name
%_desktopdir/%name.desktop
%changelog
…
Full changelog you can see here
#
Name: pencil
Version: 2.0.5
Release: alt3
Summary: GUI prototyping tool
Group: Development/Tools
License: %gpl2only
URL: http://pencil.evolus.vn
#URL: http://code.google.com/p/evoluspencil/
Packager: Nikolay Fetisov <naf at altlinux.ru>
ExcludeArch: armh
Source0: %name-%version.tar
Patch0: %name-2.0.4-alt-desktop.patch
Patch1: %name-2.0.4-alt-xulrunner_versions.patch
Patch2: %name-2.0.5-alt-xulrunner.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: desktop-file-utils
%description
Pencil is a GUI prototyping tool that can be used to create
mockups in popular desktop platforms.
Pencil provides various built-in shapes collection for drawing
different types of user interface ranging from desktop to
mobile platforms. The list of built-in collections includes
general-purpose shapes, flowchart elements, desktop/web UI
shapes, Android and iOS GUI shapes.
%prep
%setup
%patch0
%patch1
%patch2
mv COPYING COPYING.orig
ln -s -- $(relative %_licensedir/GPL-2 %_docdir/%name/COPYING) COPYING
%build
%install
install -D -m 0644 ./%_desktopdir/%name.desktop %buildroot%_desktopdir/%name.desktop
install -D -m 0755 ./%_bindir/%name %buildroot%_bindir/%name
mkdir -p %buildroot%_datadir/
cp -a ./%_datadir/%name %buildroot%_datadir/
%files
%doc --no-dereference COPYING
%_bindir/%name
%_datadir/%name
%_desktopdir/%name.desktop
%changelog
…
Full changelog you can see here