rpms/eclipse-texlipse/devel eclipse-texlipse-1.3.0-pdfpreview.patch, NONE, 1.1 eclipse-texlipse-bin_excludes.patch, NONE, 1.1 eclipse-texlipse-download.sh, NONE, 1.1 eclipse-texlipse.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chitlesh GOORAH chitlesh at fedoraproject.org
Sat Aug 29 22:29:58 UTC 2009


Author: chitlesh

Update of /cvs/pkgs/rpms/eclipse-texlipse/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22321/devel

Modified Files:
	.cvsignore sources 
Added Files:
	eclipse-texlipse-1.3.0-pdfpreview.patch 
	eclipse-texlipse-bin_excludes.patch 
	eclipse-texlipse-download.sh eclipse-texlipse.spec import.log 
Log Message:
new package

eclipse-texlipse-1.3.0-pdfpreview.patch:
 ViewerAttributeRegistry.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE eclipse-texlipse-1.3.0-pdfpreview.patch ---
--- net.sourceforge.texlipse/net.sourceforge.texlipse/source/net/sourceforge/texlipse/viewer/ViewerAttributeRegistry.java	2009-05-04 23:12:38.000000000 +0200
+++ ViewerAttributeRegistry.java	2009-06-16 21:09:03.602314289 +0200
@@ -61,7 +61,7 @@
     private static final String VIEWER_YAP = "yap";
 
     private static final String VIEWER_GV = "gv";
-    private static final String VIEWER_ACROBAT = "acroread";
+    private static final String VIEWER_ACROBAT = "PDF Reader";
     private static final String VIEWER_ITEXMAC = "itexmac";
 
     // default viewer attribute values 
@@ -179,7 +179,7 @@
         prefs.setDefault(VIEWER_GV + ATTRIBUTE_INVERSE_SEARCH, INVERSE_SEARCH_NO);
         prefs.setDefault(VIEWER_GV + ATTRIBUTE_FORWARD_SEARCH, "false");
 
-        prefs.setDefault(VIEWER_ACROBAT + ATTRIBUTE_COMMAND, findFromEnvPath("acroread", "acroread.exe", ""));
+        prefs.setDefault(VIEWER_ACROBAT + ATTRIBUTE_COMMAND, findFromEnvPath("xdg-open", "acroread.exe", ""));
         prefs.setDefault(VIEWER_ACROBAT + ATTRIBUTE_ARGUMENTS, DEFAULT_ARGUMENTS_ACROBAT);
         prefs.setDefault(VIEWER_ACROBAT + ATTRIBUTE_DDE_VIEW_COMMAND, "[DocOpen(\"%fullfile\")][FileOpen(\"%fullfile\")]"); 
         prefs.setDefault(VIEWER_ACROBAT + ATTRIBUTE_DDE_VIEW_SERVER, "acroview");

eclipse-texlipse-bin_excludes.patch:
 build.properties |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE eclipse-texlipse-bin_excludes.patch ---
--- net.sourceforge.texlipse/build.properties	2008-02-25 23:15:30.000000000 +0100
+++ build.properties	2009-06-18 14:39:35.543178215 +0200
@@ -8,5 +8,4 @@
                templates/,\
                toc.xml,\
                about.html,\
-               contexts.xml,\
-               ddeclient.dll
+               contexts.xml


--- NEW FILE eclipse-texlipse-download.sh ---
#!/bin/bash

# Script to download the sources of texclipse
# It then generates a tarball which is used for packaging

rm -rf net.sourceforge.texlipse
mkdir net.sourceforge.texlipse
cd net.sourceforge.texlipse

export CVSROOT=:pserver:anonymous at texlipse.cvs.sourceforge.net:/cvsroot/texlipse
cvs login
cvs export -DNOW net.sourceforge.texlipse net.sourceforge.texlipse-feature

tar czvf ../net.sourceforge.texlipse.tar.gz .



--- NEW FILE eclipse-texlipse.spec ---
%global install_loc  %{_datadir}/eclipse/dropins/%{pkgname}
%global eclipse_base %{_libdir}/eclipse

%global pkgname      texlipse

Name:           eclipse-%{pkgname}
Version:        1.3.0
Release:        2.20090829cvs%{?dist}
Summary:        Eclipse plugin for editing Latex

Group:          Applications/Engineering
License:        EPL
URL:            http://texlipse.sourceforge.net

Source0:        net.sourceforge.%{pkgname}.tar.gz
# Source1 is used to download Source0
Source1:        eclipse-%{pkgname}-download.sh


# Fedora related patches as upstream default is suitable for Windows as well
#    Fedora doesn't ship acroread, hence opting for xdg-open
Patch0:         eclipse-%{pkgname}-%{version}-pdfpreview.patch
#    Remove unneccessary files
Patch1:         eclipse-%{pkgname}-bin_excludes.patch


BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  eclipse-pde
BuildRequires:  java-devel

Requires:       eclipse-platform
Requires:       tex(latex)
Requires:       xdg-utils

# For Preview
Requires:       xdvik

# For Spell-Check (choosing default : English)
Requires:       aspell-en

BuildArch:      noarch

# Ignoring rpmlint warning zero-length for Blank.tex, it is used as example

%description
Texlipse is a plugin that adds Latex editing support for the
popular Eclipse IDE.

Key features include:
    Syntax highlight, command completion, bibliography completion,
    outline navigation and automatic building.

%prep
%setup -q -c

%patch0 -p1 -b .pdfreview
%patch1 -p0 -b .exclude

find -name '*.jar' -o -name '*.class' -o -name '.cvsignore' -exec rm -f '{}' \;

# Preparing examples for %%doc
%{__cp} -pr net.sourceforge.%{pkgname}/docs/arch net.sourceforge.%{pkgname}/examples

%build

%{eclipse_base}/buildscripts/pdebuild

%install
%{__rm} -rf %{buildroot}

%{__install} -d -m 755 %{buildroot}%{install_loc}
unzip -d %{buildroot}%{install_loc} -q build/rpmBuild/net.sourceforge.%{pkgname}.zip

# Removing duplicates that should be in %%doc
%{__rm} -f %{buildroot}%{install_loc}/eclipse/plugins/net.sourceforge.%{pkgname}_%{version}/about.html

%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc net.sourceforge.%{pkgname}/about.html
%doc net.sourceforge.%{pkgname}/examples
%{install_loc}


%changelog
* Sat Aug 29 2009 Chitlesh GOORAH <chitlesh [AT] fedoraproject DOT org> - 1.3.0-2.20090829cvs
- Corrected the spec file based on the comments from package review : RHBZ #506431
- Updated to upstream CVS checkout 20090829

* Tue Jun 16 2009 Chitlesh GOORAH <chitlesh [AT] fedoraproject DOT org> - 1.3.0-1.20090616cvs
- Initial Fedora Package



--- NEW FILE import.log ---
eclipse-texlipse-1_3_0-2_20090829cvs_fc11:HEAD:eclipse-texlipse-1.3.0-2.20090829cvs.fc11.src.rpm:1251584858


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-texlipse/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	29 Aug 2009 20:22:13 -0000	1.1
+++ .cvsignore	29 Aug 2009 22:29:57 -0000	1.2
@@ -0,0 +1 @@
+net.sourceforge.texlipse.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-texlipse/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 Aug 2009 20:22:13 -0000	1.1
+++ sources	29 Aug 2009 22:29:58 -0000	1.2
@@ -0,0 +1 @@
+9aa49f905811f0987c5096b40133eeef  net.sourceforge.texlipse.tar.gz




More information about the fedora-extras-commits mailing list