rpms/gwave/devel gwave.desktop, NONE, 1.1 gwave.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chitlesh GOORAH (chitlesh) fedora-extras-commits at redhat.com
Sun Dec 30 22:27:01 UTC 2007


Author: chitlesh

Update of /cvs/pkgs/rpms/gwave/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17375/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gwave.desktop gwave.spec 
Log Message:



--- NEW FILE gwave.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Analog Waveform viewer
Exec=gwave
Icon=gwave
Type=Application
Terminal=false
GenericName=Gwave
Categories=Science;
Comment=Analog Waveform Viewer


--- NEW FILE gwave.spec ---
%define         snap_date  20070514

Name:           gwave
Version:        2
Release:        4.%{snap_date}snap%{?dist}
Summary:        GPLed Analog Waveform Viewing Environment

License:        GPLv2+
Group:          Applications/Engineering
URL:            http://www.geda.seul.org/tools/gwave/index.html

Source:         http://www.telltronics.org/pub/gwave/%{name}2-%{snap_date}.tar.gz
Source1:        %{name}.desktop

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

BuildRequires:  gtk2-devel guile-devel readline-devel desktop-file-utils
BuildRequires:  g-wrap-devel guile-gnome-platform-devel 

%if %{fedora} < 9
BuildRequires:  libtermcap-devel
%endif

BuildRequires:  ncurses-devel plotutils

ExcludeArch:    ppc64

%description

Gwave is a waveform viewer, intended originaly for displaying the output
of analog simulators such as spice, but also useful for other purposes.
Gwave can read tabluar ascii files in addition to the specialized output
files from Spice3, NGSpice, and Hspice. It displays the data as 2-D plots,
and allows for scrolling, zooming, and measuring the waveforms.

Install gwave if you need 2-D interactive display of analog waveforms or
other tabluar data.

%{name} is listed among Fedora Electronic Lab (FEL) packages.

%prep

echo %fedora

%setup -q -n %{name}2-%{snap_date}


#fixing wrong-script-interpreter
sed -i "s|/usr/local/bin|%{_bindir}|" examples/*gw
sed -i "s|/tmp/gwtest/bin|%{_bindir}|" examples/*gw
sed -i "s|/home/sgt/proj/gwave|%{_docdir}/%{name}-2|" examples/{aoi.W.tr0.gw,gwave.gw}
sed -i "s|/home/tell/proj/gwave|%{_docdir}/%{name}-2|" examples/pd2.N.gw
sed -i "s|../examples|%{_docdir}/%{name}-2/examples|" examples/gw


%build

%configure
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf %{buildroot}
%{__make} INSTALL="install -p" DESTDIR=%{buildroot} install


desktop-file-install --vendor fedora \
    --add-category Engineering       \
    --dir %{buildroot}%{_datadir}/applications/ \
    %{SOURCE1}

%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/
%{__cp} -p icons/wave-drag-ok.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/%{name}.png


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

%post
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :


%postun
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README FAQ TODO
%doc examples/
%{_bindir}/%{name}*
%{_bindir}/sp2sp
%{_bindir}/sweepsplit
%{_datadir}/guile/app/%{name}/
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/22x22/apps/%{name}.png


%changelog
* Sun Dec 30 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 2-4.20070514snap
- Fixed obsoleted libtermcap-devel in rawhide 

* Fri Dec 20 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 2-3.20070514snap
- Removed icon's extension from desktop file as described in the Icon Theme Specification

* Mon Nov 19 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 2-2.20070514snap
- Exclude PPC and PPC64 architectures
- Removed guile-cairo-devel from BR

* Tue Jul 24 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 2-1.20070514snap
- Initial Package for fedora collection

* Mon Dec  19 2003 Steve Tell <steve at telltronics.org>
- updates for Redhat 9, gwave-20031224

* Mon Aug  4 2003 Steve Tell <steve at telltronics.org>
- updates for Redhat 9, gwave-20030804

* Thu Nov 23 2000 Steve Tell <steve at telltronics.org>
- Created spec file for first RPM.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gwave/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Dec 2007 17:55:05 -0000	1.1
+++ .cvsignore	30 Dec 2007 22:26:23 -0000	1.2
@@ -0,0 +1 @@
+gwave2-20070514.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gwave/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Dec 2007 17:55:06 -0000	1.1
+++ sources	30 Dec 2007 22:26:23 -0000	1.2
@@ -0,0 +1 @@
+766c8861e23d6401f03b7b31f900e8ed  gwave2-20070514.tar.gz




More information about the fedora-extras-commits mailing list