Separate Debian package in two: normal + devel.

Add a #!/bin/bash to coriolis2.sh to shut up debian/lintian.
This commit is contained in:
Jean-Paul Chaput 2011-02-04 11:32:30 +00:00
parent ef4d088f60
commit df8f91b97d
8 changed files with 49 additions and 14 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash
CORIOLIS_TOP="/asim/coriolis2" CORIOLIS_TOP="/asim/coriolis2"
if [ ! -d "$CORIOLIS_TOP" ]; then if [ ! -d "$CORIOLIS_TOP" ]; then

View File

@ -125,7 +125,7 @@ Development files for the Coriolis 2 package.
%if %{with_staticlink} %if %{with_staticlink}
%{coriolisTop}/%{_lib}/*.a %{coriolisTop}/%{_lib}/*.a
%else %else
%{coriolisTop}/%{_lib}/*.so* %{coriolisTop}/%{_lib}/*.so.*
%endif %endif
%{coriolisTop}/%{python_sitedir}/*.so %{coriolisTop}/%{python_sitedir}/*.so
%{coriolisTop}/%{python_sitedir}/cumulus/*.py* %{coriolisTop}/%{python_sitedir}/cumulus/*.py*
@ -140,6 +140,7 @@ Development files for the Coriolis 2 package.
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{coriolisTop}/%{_lib}
%dir %{coriolisTop}/share/cmake/Modules %dir %{coriolisTop}/share/cmake/Modules
%dir %{coriolisTop}/include %dir %{coriolisTop}/include
%dir %{coriolisTop}/include/vlsisapd %dir %{coriolisTop}/include/vlsisapd
@ -164,6 +165,7 @@ Development files for the Coriolis 2 package.
%dir %{coriolisTop}/include/coriolis2/equinox %dir %{coriolisTop}/include/coriolis2/equinox
%dir %{coriolisTop}/include/coriolis2/solstice %dir %{coriolisTop}/include/coriolis2/solstice
%dir %{coriolisTop}/include/coriolis2/unicorn %dir %{coriolisTop}/include/coriolis2/unicorn
%{coriolisTop}/%{_lib}/*.so
%{coriolisTop}/share/cmake/Modules/*.cmake %{coriolisTop}/share/cmake/Modules/*.cmake
%{coriolisTop}/include/vlsisapd/agds/*.h %{coriolisTop}/include/vlsisapd/agds/*.h
%{coriolisTop}/include/vlsisapd/cif/*.h %{coriolisTop}/include/vlsisapd/cif/*.h

View File

@ -1,16 +1,27 @@
Source: coriolis2 Source: coriolis2
Section: electronics Section: Science/Electronics
Priority: optional Priority: optional
Maintainer: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr> Maintainer: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Build-Depends: debhelper (>= 7), quilt, bison, flex, libboost-all-dev, libxml2-dev, qt4-dev-tools, Build-Depends: debhelper (>= 7),
texlive-full, doxygen, python-all-dev (>= 2.4), python-central (>= 0.5.6) quilt,
bison,
flex,
libboost-all-dev,
libxml2-dev,
qt4-dev-tools,
texlive-full,
doxygen,
python-all-dev (>= 2.4),
python-central (>= 0.5.6)
XS-Python-Version: >= 2.4 XS-Python-Version: >= 2.4
Standards-Version: 3.8.4 Standards-Version: 3.8.4
Homepage: http://www-soc.lip6.fr/recherche/cian/coriolis-2/ Homepage: http://www-soc.lip6.fr/recherche/cian/coriolis-2/
Package: coriolis2 Package: coriolis2
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Depends: ${shlibs:Depends},
${misc:Depends},
${python:Depends}
XB-Python-Version: ${python:Versions} XB-Python-Version: ${python:Versions}
Description: VLSI Place & Route CAD Tools Description: VLSI Place & Route CAD Tools
Coriolis is the new CAD tool suite intended to replace the Coriolis is the new CAD tool suite intended to replace the
@ -19,3 +30,17 @@ Description: VLSI Place & Route CAD Tools
The Knik global router makes use of FLUTE, which is redistributed The Knik global router makes use of FLUTE, which is redistributed
under is own license. FLUTE is copyrighted by Dr. Chris C. N. Chu under is own license. FLUTE is copyrighted by Dr. Chris C. N. Chu
from the Iowa State University <http://home.eng.iastate.edu/~cnchu>. from the Iowa State University <http://home.eng.iastate.edu/~cnchu>.
Package: coriolis2-dev
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
${python:Depends},
coriolis2 (= ${binary:Version})
XB-Python-Version: ${python:Versions}
Description: VLSI Place & Route CAD Tools - Development
Coriolis is the new CAD tool suite intended to replace the
physical backend (P&R) flow of Alliance.
.
Contains libraries & header files neededs to develop applications
with Coriolis2.

View File

@ -0,0 +1,3 @@
/usr/share/cmake/
/usr/include/
/usr/lib/*.so

View File

@ -1,7 +1,7 @@
Document: coriolis2 Document: coriolis2
Title: Coriolis2 Documentation Title: Coriolis2 Documentation
Abstract: VLSI Place & Route CAD Tools Documentation Abstract: VLSI Place & Route CAD Tools Documentation
Section: electronics Section: Science/Electronics
Format: text Format: text
Files: /usr/share/doc/coriolis2/README.tex.gz Files: /usr/share/doc/coriolis2/README.tex.gz
@ -26,7 +26,7 @@ Files: /usr/share/doc/coriolis2/README.pdf.gz
/usr/share/doc/coriolis2/en/latex/stratus_developper/stratus_developper.pdf.gz /usr/share/doc/coriolis2/en/latex/stratus_developper/stratus_developper.pdf.gz
Format: HTML Format: HTML
Index: /usr/share/doc/coriolis2/en/index.html Index: /usr/share/doc/coriolis2/index.html
Files: /usr/share/doc/coriolis2/en/html/hurricane/*.html Files: /usr/share/doc/coriolis2/en/html/hurricane/*.html
/usr/share/doc/coriolis2/en/html/stratus/*.html /usr/share/doc/coriolis2/en/html/stratus/*.html
/usr/share/doc/coriolis2/en/html/dpgen/*.html /usr/share/doc/coriolis2/en/html/dpgen/*.html

View File

@ -0,0 +1,6 @@
/etc
/usr/bin
/usr/lib/lib*.so.*
/usr/lib/python*
/usr/share/coriolis2
/usr/share/doc/

View File

@ -20,7 +20,6 @@ set -e
case "$1" in case "$1" in
configure) configure)
ldconfig
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

View File

@ -21,7 +21,6 @@ set -e
case "$1" in case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
ldconfig
;; ;;
*) *)