LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pencil.spec of Package pencil (Project home:aeneas_jaissle)

#
# spec file for package pencil
#
# Copyright (c) 2014 Aeneas Jai├čle <aj@ajaissle.de>.
# 
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           pencil
Version:        2.0.5
Release:        0
Summary:        Tool for making diagrams and GUI prototyping

License:        GPL-2.0
Group:          Productivity/Graphics/Other
Url:            http://pencil.evolus.vn/
Source:         https://evoluspencil.googlecode.com/files/%{name}-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  fdupes
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Requires:       xulrunner >= 1.9.8

%description
Pencil is built for the purpose of providing a free and open-source GUI prototyping tool 
that people can easily install and use to create mockups in popular desktop platforms.

Top features:
  * Built-in stencils for diagraming and prototyping
  * Multi-page document with background page
  * On-screen text editing with rich-text supports
  * PNG rasterizing
  * Undo/redo supports
  * Installing user-defined stencils
  * Standard drawing operations: aligning, z-ordering, scaling, rotating...
  * Cross-platforms
  * Adding external objects
  * And much more...


%prep
%setup -q

%build

%install
%{__install} -d %{buildroot}%{_bindir} \
                %{buildroot}%{_datadir}/applications \
                %{buildroot}%{_datadir}/%{name}

%{__install} -m 755 usr/bin/pencil %{buildroot}%{_bindir}/%{name}
%{__install} usr/share/applications/pencil.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
cp -r usr/share/pencil/* %{buildroot}%{_datadir}/%{name}/

%suse_update_desktop_file -r %{name} Graphics 2DGraphics Development Design

%fdupes %{buildroot}%{_datadir}/%{name}

%files
%defattr(-, root, root)
%doc COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/

%changelog