File gphpedit.spec of Package gphpedit

# spec file for package gphpedit
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

Name:           gphpedit
Version:        0.9.98
Release:        1
License:        GPLv3
Summary:        Lightweight UTF-8 text editor for Gnome desktop
Group:          Productivity/Text/Editors
BuildRequires:  gcc-c++
BuildRequires:  intltool
BuildRequires:  libwebkit-devel
BuildRequires:  pkgconfig(gconf-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  update-desktop-files
Recommends:     php-doc
Recommends:     php5
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The gPHPedit package contains a lightweight UTF-8 text editor based in
scintilla component for the GNOME desktop.
gPHPEdit support PHP/HTML/CSS files and also support C/C++, Python and
Perl Files.

%setup -q -n anoopjohn-gphpedit-fe8a12c

./ --prefix=$(pkg-config --variable=prefix ORBit-2.0)

sed -e '/Version=/d' -i %{buildroot}%{_datadir}/applications/%{name}.desktop
sed -e '/Encoding=/d' -i %{buildroot}%{_datadir}/applications/%{name}.desktop
sed -e 's/Icon=gphpedit.png/Icon=gphpedit/' -i %{buildroot}%{_datadir}/applications/%{name}.desktop
%suse_update_desktop_file %{name}

%{?buildroot:rm -rf %{buildroot}}

%dir %{_datadir}/%{name}

openSUSE Build Service is sponsored by