rpms/gphpedit/devel gphpedit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Tim Jackson (timj)
fedora-extras-commits at redhat.com
Sat Apr 15 01:51:25 UTC 2006
Author: timj
Update of /cvs/extras/rpms/gphpedit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22767/devel
Modified Files:
.cvsignore sources
Added Files:
gphpedit.spec
Log Message:
auto-import gphpedit-0.9.80-3 on branch devel from gphpedit-0.9.80-3.src.rpm
--- NEW FILE gphpedit.spec ---
Name: gphpedit
Version: 0.9.80
Release: 3%{?dist}
Summary: A PHP source editor for GNOME 2
Group: Applications/Text
License: GPL
URL: http://www.gphpedit.org/
Source0: gphpedit-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtkhtml2-devel libgnomeui-devel
BuildRequires: desktop-file-utils
%description
gPHPEdit is a GNOME2 editor dedicated to editing PHP files and other
supporting files such as HTML/CSS.
%prep
%setup -q
# This path is hardcoded and doesn't inherit from the configure
# (see upstream bug #155 )
sed -i s_/usr/local/share/pixmaps_%{_datadir}/pixmaps_ src/main.h
# The .desktop file included isn't Free Desktop compliant
# (Fixed upstream in CVS)
%{__cat} <<EOF >gphpedit.desktop
[Desktop Entry]
Encoding=UTF-8
Name=gPHPEdit
GenericName=PHP/HTML/CSS editor
Comment=Edit PHP source files
Exec=gphpedit
Icon=gphpedit.png
Terminal=false
Type=Application
Categories=Application;Development;IDE;GNOME;
Version=0.9.4
EOF
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
# Remove the desktop file installed by the package itself
rm %{buildroot}%{_datadir}/applications/gphpedit.desktop
# Install our own desktop file
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--add-category X-Fedora \
gphpedit.desktop
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%dir %{_datadir}/gphpedit
%{_bindir}/gphpedit
%{_datadir}/pixmaps/gphpedit.png
%{_datadir}/applications/fedora-gphpedit.desktop
%{_datadir}/gphpedit/php-gphpedit.api
%changelog
* Sat Apr 15 2006 Tim Jackson <rpm at timj.co.uk> 0.9.80-3
- Remove gtk2-devel (gtkhtml2-devel and libgnomeui-devel will pull it in)
- Remove empty NEWS file
- Remove generic INSTALL file
* Thu Apr 13 2006 Tim Jackson <rpm at timj.co.uk> 0.9.80-2
- Own datadir/gphpedit
- Macroize replacement pixmap path in main.h
- Add "GNOME" and "Application" to desktop file
* Sat Apr 08 2006 Tim Jackson <rpm at timj.co.uk> 0.9.80-1
- Initial RPM build for FE
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gphpedit/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 15 Apr 2006 01:49:36 -0000 1.1
+++ .cvsignore 15 Apr 2006 01:51:25 -0000 1.2
@@ -0,0 +1 @@
+gphpedit-0.9.80.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gphpedit/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 15 Apr 2006 01:49:36 -0000 1.1
+++ sources 15 Apr 2006 01:51:25 -0000 1.2
@@ -0,0 +1 @@
+f05e6354ea64c73dd7bfe020ae15ac71 gphpedit-0.9.80.tar.gz
More information about the fedora-extras-commits
mailing list