rpms/dinotrace/F-10 dinotrace.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
Wed May 27 09:44:41 UTC 2009


Author: chitlesh

Update of /cvs/pkgs/rpms/dinotrace/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4950/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	dinotrace.spec import.log 
Log Message:
new package


--- NEW FILE dinotrace.spec ---
# If the emacs-el package has installed a pkgconfig file, use that to determine
# install locations and Emacs version at build time, otherwise set defaults.
%if %($(pkg-config emacs) ; echo $?)
%define emacs_version  22.2
%define emacs_lispdir  %{_datadir}/emacs/site-lisp
%define emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d
%else
%define emacs_version  %{expand:%(pkg-config emacs --modversion)}
%define emacs_lispdir  %{expand:%(pkg-config emacs --variable sitepkglispdir)}
%define emacs_startdir %{expand:%(pkg-config emacs --variable sitestartdir)}
%endif

Name:           dinotrace
Version:        9.4a
Release:        2%{?dist}
Summary:        Waveform viewer for electronics

Url:            http://www.veripool.org/wiki/dinotrace
Source0:        http://www.veripool.com/ftp/%{name}-%{version}.tgz

License:        GPLv3+
Group:          Applications/Engineering
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%if 0%{?fedora}
BuildRequires:  lesstif-devel
%else
BuildRequires:  openmotif-devel
Requires:       emacs-verilog-mode
%endif

BuildRequires:  desktop-file-utils

# menu entry compliance with Fedora Electronic Lab menu structure
Requires:       electronics-menu

# desktop entry icon
Requires:       gnome-icon-theme


%description
Dinotrace is a waveform viewer which understands Verilog Value
Change Dumps, ASCII, and other trace formats. It allows placing
cursors, highlighting signals, searching, printing, and other
capabilities superior to many commercial waveform viewers.

Dinotrace is optimized for rapid debugging. With VTRACE, a simulation
failure will automatically place cursors where errors occur, add
comments visible in the wave form viewer. Four mouse clicks and the
errors will be highlighted in the log files, and the values of signals
at the error will be seen in the source.


%package -n        emacs-%{name}
Summary:           Elisp source files for %{name} under GNU Emacs
Group:             Development/Libraries
BuildRequires:     emacs-el
BuildRequires:     emacs
Requires:          emacs(bin) >= %{emacs_version}
Requires:          %{name}-%{version}

%description -n emacs-%{name}
This package provides emacs support for %{name}


%prep
%setup -q

# spurious-executable-perm
chmod 0644 src/dt_util.c traces/tempest.bt.gz

## Causes data corruption : dinotrace -tempest traces/tempest.bt.gz
# file-not-utf8
#iconv -f iso8859-1 -t utf-8 traces/tempest.bt.gz > traces/tempest.conv
#mv -f traces/tempest.conv traces/tempest.bt.gz

# desktop file
cat > %{name}.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=Waveform viewer
GenericName=Dinotrace
Comment=Waveform viewer for electronics
Type=Application
Exec=dinotrace
Icon=utilities-system-monitor
Categories=Engineering;Electronics;
EOF


cat > %{name}.el.site-start << EOF
;; Dinotrace mode
(autoload 'dinotrace-update "dinotrace" "Update dinotrace annotations in this buffer" t)
(autoload 'dinotrace-mode   "dinotrace" "Toggle dinotrace annotations in this buffer" t)
;;(global-set-key "\C-x\C-aa" 'dinotrace-update)
;;(global-set-key "\C-x\C-ad" 'dinotrace-mode)
EOF


%build
%configure
%{__make} %{?_smp_mflags}


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


# Install emacs mode
%{__install} -d %{buildroot}%{emacs_lispdir}
%{__install} -d %{buildroot}%{emacs_startdir}
pushd lisp/
    for file in dinotrace.el sim-log.el; do
        emacs -batch -f batch-byte-compile $file
        %{__install} -pm 0644 $file ${file}c %{buildroot}%{emacs_lispdir}/
    done
popd
%{__install} -pm 0644 %{name}.el.site-start %{buildroot}%{emacs_startdir}/%{name}-init.el


desktop-file-install --vendor "" \
    --dir %{buildroot}%{_datadir}/applications \
    %{name}.desktop

# FEL Package Validation check
# dinotrace traces/ascii.tra
# dinotrace traces/vcd.vcd


%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :

%preun
if [ $1 = 0 ] ; then
  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi

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

%files
%defattr(-,root,root,-)
%doc Changes COPYING FAQ TODO dinotrace.txt
%doc traces/
%{_bindir}/%{name}
%{_infodir}/*
%{_datadir}/applications/%{name}.desktop

%files -n emacs-%{name}
%defattr(-,root,root,-)
%{emacs_lispdir}/%{name}.el*
%{emacs_lispdir}/sim-log.el*
%{emacs_startdir}/%{name}-init.el

%Changelog
* Mon May 11 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 9.4a-2
- dropped emacs support on EPEL - missing verilog-mode on emacs -21.4

* Mon Apr 06 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 9.4a-1
- new upstream release
- upstream applied patch dinotrace-emacs-el.patch and dinotrace-simlog.patch

* Fri Mar 06 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 9.3f-5
- package review comments : #478749c15

* Fri Mar 06 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 9.3f-4
- package review comments : #478749c4

* Wed Jan 07 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 9.3f-3
- improved emacs support and added emacs as BR

* Sun Jan 04 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 9.3f-2
- fixed emacs support

* Thu Jun 26 2008 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 9.3f-1
- Initial Package


--- NEW FILE import.log ---
dinotrace-9_4a-2_fc10:F-10:dinotrace-9.4a-2.fc10.src.rpm:1243417081


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/dinotrace/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	26 May 2009 22:38:27 -0000	1.1
+++ .cvsignore	27 May 2009 09:44:10 -0000	1.2
@@ -0,0 +1 @@
+dinotrace-9.4a.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/dinotrace/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	26 May 2009 22:38:27 -0000	1.1
+++ sources	27 May 2009 09:44:10 -0000	1.2
@@ -0,0 +1 @@
+db0603bcc88f4cee10122fab48a6c621  dinotrace-9.4a.tgz




More information about the fedora-extras-commits mailing list