rpms/gplcver/F-11 gplcver.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Shakthi Kannan shakthimaan at fedoraproject.org
Wed Sep 30 04:10:20 UTC 2009


Author: shakthimaan

Update of /cvs/pkgs/rpms/gplcver/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31779/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	gplcver.spec import.log 
Log Message:
First gplcver package.



--- NEW FILE gplcver.spec ---
Name:        gplcver
Version:     2.11a
Release:     2%{?dist}
Summary:     An interpreted Verilog HDL simulator

License:     GPLv2
Group:       Applications/Engineering
URL:         http://www.pragmatic-c.com/gpl-cver

Source0:     http://www.sourcefiles.org/Scientific/Electronic/%{name}-%{version}.src.tar.bz2

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

Requires:    dinotrace perl

%description
Cver is a full 1995 IEEE P1364 standard Verilog simulator. It also
implements some of the 2001 P1364 standard features. All three
PLI interfaces (tf_, acc_, and vpi_) are implemented as defined
in the IEEE 2001 P1364 LRM.

GPL Cver is an older version of Cver that is released under the GNU
General Public License. A newer and faster commercial version of Cver
is available from Pragmatic C Software Corp.


%prep
%setup -q -n %{name}-%{version}.src

# preserving timestamps while fixing paths
%{__sed} -e "s|../../bin|%{_bindir}|"  \
         vcddiff.dir/examples.vcddiff/vcddiff_test.sh > vcddiff.ex
touch -r vcddiff.dir/examples.vcddiff/vcddiff_test.sh vcddiff.ex
%{__mv} vcddiff.ex vcddiff.dir/examples.vcddiff/vcddiff_test.sh

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         dinotrace.dir/examples.dino/dino_tst.sh > dino.ex
touch -r dinotrace.dir/examples.dino/dino_tst.sh dino.ex
%{__mv} dino.ex dinotrace.dir/examples.dino/dino_tst.sh

%{__sed} -e "s|../../../bin|%{_bindir}|"  \
         tests_and_examples/v2001/config/config_tst.sh >> config_tst.ex 
touch -r tests_and_examples/v2001/config/config_tst.sh config_tst.ex
%{__mv} config_tst.ex tests_and_examples/v2001/config/config_tst.sh

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/v2001/inst_tst.sh > inst_tst.ex 
touch -r tests_and_examples/v2001/inst_tst.sh inst_tst.ex
%{__mv} inst_tst.ex tests_and_examples/v2001/inst_tst.sh

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/examples.tf/inst_pli.sh > inst_pli.ex 
touch -r tests_and_examples/examples.tf/inst_pli.sh inst_pli.ex
%{__mv} inst_pli.ex tests_and_examples/examples.tf/inst_pli.sh

%{__sed} -e "s|../../pli_incs|%{_includedir}/cver|"  \
         tests_and_examples/examples.tf/makefile.lnx > makefile.ex 
touch -r tests_and_examples/examples.tf/makefile.lnx makefile.ex
%{__mv} makefile.ex tests_and_examples/examples.tf/makefile.lnx

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/install.tst/inst_tst.sh > inst_tst.ex 
touch -r tests_and_examples/install.tst/inst_tst.sh inst_tst.ex
%{__mv} inst_tst.ex tests_and_examples/install.tst/inst_tst.sh

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/examples.acc/inst_pli.sh > inst_pli.ex 
touch -r tests_and_examples/examples.acc/inst_pli.sh inst_pli.ex
%{__mv} inst_pli.ex tests_and_examples/examples.acc/inst_pli.sh

%{__sed} -e "s|../../pli_incs|%{_includedir}/cver|"  \
         tests_and_examples/examples.acc/makefile.lnx > makefile.ex 
touch -r tests_and_examples/examples.acc/makefile.lnx makefile.ex
%{__mv} makefile.ex tests_and_examples/examples.acc/makefile.lnx

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/examples.vpi/inst_pli.sh > inst_pli.ex 
touch -r tests_and_examples/examples.vpi/inst_pli.sh inst_pli.ex
%{__mv} inst_pli.ex tests_and_examples/examples.vpi/inst_pli.sh

%{__sed} -e "s|../../pli_incs|%{_includedir}/cver|"  \
         tests_and_examples/examples.vpi/makefile.lnx > makefile.ex 
touch -r tests_and_examples/examples.vpi/makefile.lnx makefile.ex
%{__mv} makefile.ex tests_and_examples/examples.vpi/makefile.lnx


# fixing PATHS in documentation
%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/capacity.tst/README > README.ex
touch -r tests_and_examples/capacity.tst/README README.ex
%{__mv} README.ex tests_and_examples/capacity.tst/README

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/v2001/README > README.ex
touch -r tests_and_examples/v2001/README README.ex
%{__mv} README.ex tests_and_examples/v2001/README

%{__sed} -e "s|../../../bin|%{_bindir}|"  \
         tests_and_examples/v2001/config/README > README.ex
touch -r tests_and_examples/v2001/config/README README.ex
%{__mv} README.ex tests_and_examples/v2001/config/README

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/install.tst/README > README.ex
touch -r tests_and_examples/install.tst/README README.ex
%{__mv} README.ex tests_and_examples/install.tst/README

%{__sed} -e "s|../../bin|%{_bindir}|"  \
         tests_and_examples/examples.acc/README > README.ex
touch -r tests_and_examples/examples.acc/README README.ex
%{__mv} README.ex tests_and_examples/examples.acc/README


# fixing optflags
%{__sed} -i \
"s|CFLAGS= \$(ARCHFLGS) -pipe \$(WARNS) \$(INCS) \$(OPTFLGS) -O2|CFLAGS= %{optflags} \$(INCS)|" \
src/makefile.lnx
%{__sed} -i \
"s|CFLAGS= \$(ARCHFLGS) -pipe \$(OPTFLGS) -O2|CFLAGS= %{optflags}|" \
vcddiff.dir/src/makefile.lnx


# remove other OS files
%{__rm} -f `find . -name *cygwin*`
%{__rm} -f `find . -name *osx*`


# remove zero byte file
%{__rm} -f `find . -name xxdel.tst`


# To package scripts in doc, change permissions
find . -name "*.sh" | xargs -i chmod 644 {}
find . -name "*.pl" | xargs -i chmod 644 {}


%build
%{__make} -C src -f makefile.lnx
%{__make} -C vcddiff.dir/src -f makefile.lnx

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

%{__install} -d %{buildroot}%{_bindir}
%{__install} -d %{buildroot}%{_includedir}/cver
%{__install} -d %{buildroot}%{_mandir}/man1

%{__install} -pm 755 bin/*      %{buildroot}%{_bindir}/
%{__install} -pm 644 pli_incs/* %{buildroot}%{_includedir}/cver/
%{__install} -pm 644 doc/*.1    %{buildroot}%{_mandir}/man1/


# removing duplicates
%{__rm} -f doc/*.1


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

%files
%defattr(-,root,root)
%doc Changelog COPYING LICENSE OUR_PHILOSOPHY
%doc NEW.CVER.2001.RELEASE.NOTES README doc/
%doc pli_src ver_src tests_and_examples/
%doc vcddiff.dir/examples.vcddiff/
%doc dinotrace.dir/
%{_bindir}/cver
%{_bindir}/vcddiff
%{_mandir}/man*/*
%{_includedir}/cver

%changelog
* Tue Sep 29 2009 Shakthi Kannan <shakthimaan [AT] gmail DOT com> 2.11a-2
- Updated valid Source0 package URL.
- Added more PATH, README fixes.
- Remove executable permission on script files in doc section.
- Remove other OS files, and zero byte files.

* Sat Dec 06 2008 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 2.11a-1
- Initial package for fedora.

--- NEW FILE import.log ---
gplcver-2_11a-2_fc11:F-11:gplcver-2.11a-2.fc11.src.rpm:1254284219


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gplcver/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	29 Sep 2009 19:58:06 -0000	1.1
+++ .cvsignore	30 Sep 2009 04:10:20 -0000	1.2
@@ -0,0 +1 @@
+gplcver-2.11a.src.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gplcver/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 Sep 2009 19:58:06 -0000	1.1
+++ sources	30 Sep 2009 04:10:20 -0000	1.2
@@ -0,0 +1 @@
+4967e78c299bdfdb0c9f2dcd4803e734  gplcver-2.11a.src.tar.bz2




More information about the fedora-extras-commits mailing list