rpms/seaview/F-7 seaview-chris.patch, NONE, 1.1 seaview.desktop, NONE, 1.1 seaview.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christian Iseli (c4chris) fedora-extras-commits at redhat.com
Fri Jun 29 06:21:10 UTC 2007


Author: c4chris

Update of /cvs/extras/rpms/seaview/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15352

Modified Files:
	.cvsignore sources 
Added Files:
	seaview-chris.patch seaview.desktop seaview.spec 
Log Message:
Import seaview files.

seaview-chris.patch:

--- NEW FILE seaview-chris.patch ---
--- seaview/Makefile.chris	2007-05-07 11:08:57.000000000 +0200
+++ seaview/Makefile	2007-05-07 11:11:44.000000000 +0200
@@ -3,25 +3,26 @@
 #seaviewps  does not use the PDFLibLite library and outputs postscript 
 
 #customize these next 3 lines
-FLTK = ../fltk-1.1.6
-PDF = ../PDFlib-Lite-6.0.1/libs/pdflib
-X11 = /usr/X11R6
+#FLTK = ../fltk-1.1.6
+#PDF = ../PDFlib-Lite-6.0.1/libs/pdflib
+#X11 = /usr/X11R6
 
 #comment out and customize next line to set helpfile name at compile-time
-#HELP_NOT_IN_PATH = -DDEFAULT_HELPFILE=\"/bge/mgouy/seaview/seaview.help\"
+HELP_NOT_IN_PATH = -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.help\"
 
 CXX = g++
 
-OPT = $(shell if [ '$(DEBUG)' = '' ]; then echo '-O2'; else echo '-O0'; fi)
+#OPT = $(shell if [ '$(DEBUG)' = '' ]; then echo '-O2'; else echo '-O0'; fi)
+OPT = $(RPM_OPT_FLAGS)
 
-STDCFLAGS  = -Dunix  -c $(OPT) -I$(FLTK) -I$(X11)/include $(DEBUG) $(HELP_NOT_IN_PATH)
+STDCFLAGS  = -Dunix  -c $(OPT) $(DEBUG) $(HELP_NOT_IN_PATH)
 
-CFLAGS = $(STDCFLAGS) -I$(PDF)
-PDFLIBS = -L$(PDF) -lpdf 
+CFLAGS = $(STDCFLAGS) -DNO_PDF
+#PDFLIBS = -L$(PDF) -lpdf 
 
 
 #conditional macros 
-seaviewps : CFLAGS = $(STDCFLAGS) -DNO_PDF -DNO_CLUSTALW
+#seaviewps : CFLAGS = $(STDCFLAGS) -DNO_PDF -DNO_CLUSTALW
 
 
 OBJECTS = custom.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o
@@ -37,8 +38,8 @@
 
 seaviewps : seaview.o $(OBJECTS) postscript.o
 	$(CXX) $(DEBUG)  seaview.o $(OBJECTS) postscript.o \
-			-L$(FLTK)/lib -lfltk \
-             -L$(X11)/lib -lX11 \
+			-lfltk \
+             -lX11 \
              -o seaview \
              -lm        
 


--- NEW FILE seaview.desktop ---
[Desktop Entry]
Name=Seaview multiple sequence alignment editor
GenericName=Multiple sequence alignment editor
Comment=A graphical multiple sequence alignment editor
Categories=Science;
Icon=seaview.xpm
Exec=seaview
Terminal=false
Type=Application
Encoding=UTF-8


--- NEW FILE seaview.spec ---
Name:           seaview
Version:        0
Release:        0.1.20070615%{?dist}
Summary:        Graphical multiple sequence alignment editor

Group:          Applications/Engineering
License:        GPL
URL:            http://pbil.univ-lyon1.fr/software/seaview.html
Source0:        ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/seaview.tar
Source1:        seaview.desktop
Patch0:         seaview-chris.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  fltk-devel
BuildRequires:  desktop-file-utils

%description
SeaView is a graphical multiple sequence alignment editor developed by Manolo
Gouy.  SeaView is able to read and write various alignment formats (NEXUS, MSF,
CLUSTAL, FASTA, PHYLIP, MASE).  It allows to manually edit the alignment, and
also to run DOT-PLOT or CLUSTALW/MUSCLE programs to locally improve the
alignment.


%prep
%setup -q -c
%patch0 -p 1 -b .chris


%build
make %{?_smp_mflags} seaviewps


%check


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/seaview
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 seaview $RPM_BUILD_ROOT/%{_bindir}
install -m 644 seaview.help $RPM_BUILD_ROOT%{_datadir}/seaview/
desktop-file-install \
  --vendor fedora \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/
install -m 0644 -p seaview.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/seaview.xpm


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README protein.mase
%{_bindir}/seaview
%{_datadir}/seaview/
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/pixmaps/%{name}.xpm


%changelog
* Thu Jun 28 2007 Christian Iseli <Christian.Iseli at licr.org> 0-0.1.20070615
 - New upstream tarball.
 - Add desktop file and icon.

* Wed Jun 13 2007 Christian Iseli <Christian.Iseli at licr.org> 0-0.1.20070515
 - Actually follow pre-release strategy for version/release...
 - New upstream "version".

* Tue May  8 2007 Christian Iseli <Christian.Iseli at licr.org> 0-0.20070417
 - Follow pre-release strategy for version/release.

* Mon May  7 2007 Christian Iseli <Christian.Iseli at licr.org> 0.20070417-0
 - Create spec file.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/seaview/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Jun 2007 20:02:53 -0000	1.1
+++ .cvsignore	29 Jun 2007 06:20:34 -0000	1.2
@@ -0,0 +1 @@
+seaview.tar


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/seaview/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Jun 2007 20:02:53 -0000	1.1
+++ sources	29 Jun 2007 06:20:34 -0000	1.2
@@ -0,0 +1 @@
+df7b54c231a5af24246e8129575717c1  seaview.tar




More information about the fedora-extras-commits mailing list