rpms/textflow/F-8 textflow.desktop, NONE, 1.1 textflow.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Mads Villadsen (maxx) fedora-extras-commits at redhat.com
Thu Jan 3 15:35:53 UTC 2008


Author: maxx

Update of /cvs/extras/rpms/textflow/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13886/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	textflow.desktop textflow.spec 
Log Message:
Initial import



--- NEW FILE textflow.desktop ---
[Desktop Entry]
Version=1.0
Type=Application

Name=TextFlow
Comment=Text Editor for Programming
TryExec=textflow
Exec=textflow %U
Icon=textflow

MimeType=text/plain;application/x-m4;image/x-xpixmap;text/x-ocl;text/x-sh;text/x-yacc;text/x-gtkrc;application/x-shellscript;text/x-ocaml;application/x-awk;text/x-bison;text/html;text/x-changelog;text/x-python;text/x-tex;text/x-msil;application/x-tcl;application/x-gnome-app-info;text/xml;application/x-perl;text/x-ini-file;text/x-php-source;application/docbook+xml;text/x-pkg-config;text/x-erlang;text/x-fortran;application/xml;text/x-php;text/x-boo;text/x-c++;text/x-cpp;text/x-dtd;text/x-js;text/x-matlab;application/x-python;text/x-csharpsrc;text/x-vbnet;text/x-pascal;text/x-dpatch;text/x-sql;text/x-octave;text/x-csrc;text/x-po;text/x-vala;text/x-patch;text/x-gettext-translation;application/x-php;text/x-javascript;text/x-c++src;text/x-texinfo;text/x-makefile;text/x-objcsrc;application/x-php-source;text/x-libtool;text/x-idl;application/x-javascript;text/x-chdr;text/javascript;text/x-verilog-src;text/x-diff;text/css;text/x-pot;text/x-csharp;text/x-java;text/x-pox;text/x-rpm-spec!
 ;text/x-lua;text/x-literate-haskell;text/x-scheme;text/x-ruby;application/x-desktop;text/x-vhdl;text/x-adasrc;application/x-ini-file;text/x-dsrc;text/x-haskell;text/x-ada; text/x-c;application/x-ruby;text/x-perl;text/x-shellscript;text/x-vb;text/x-gap;text/x-nemerle;text/x-tcl;text/x-c++hdr;text/x-R;

Categories=GTK;Development;


--- NEW FILE textflow.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           textflow
Version:        0.2.2
Release:        2%{?dist}
Summary:        TextFlow is a text editor directed toward programmers

Group:          Applications/Editors
License:        GPLv2
URL:            http://sourceforge.net/projects/textflow
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Source1:        %{name}.desktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel, gettext, desktop-file-utils

Requires:       gnome-python2-gconf, gnome-python2-gnomevfs, pygobject2, pygtk2, pygtk2-libglade, pygtksourceview, PyXML

%description
TextFlow is a text editor directed toward programmers

%prep
%setup -q


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%find_lang %{name}

desktop-file-install --vendor="fedora" \
  --dir=%{buildroot}%{_datadir}/applications \
  %{SOURCE1}

# remove a zero-length file
rm -f %{buildroot}%{_datadir}/%{name}/snippets/php.xml || true

# remove the .desktop file that came with the source since we installed a new one
rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop || true


%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc
%{python_sitelib}/*
%{_bindir}/textflow
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}


%changelog
* Wed Jan 02 2008 Mads Villadsen <maxx at krakoa.dk> - 0.2.2-2
- Made changes to the .desktop file as per review
- Install the new .desktop file with fedora as vendor id and remove the original .desktop file

* Tue Jan 01 2008 Mads Villadsen <maxx at krakoa.dk> - 0.2.2-1
- First release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/textflow/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Jan 2008 04:43:51 -0000	1.1
+++ .cvsignore	3 Jan 2008 15:35:16 -0000	1.2
@@ -0,0 +1 @@
+textflow-0.2.2.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/textflow/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Jan 2008 04:43:51 -0000	1.1
+++ sources	3 Jan 2008 15:35:16 -0000	1.2
@@ -0,0 +1 @@
+e3bb217f7e8ea3f8976d013442f41d99  textflow-0.2.2.tar.bz2




More information about the fedora-extras-commits mailing list