Forgot this one.

This commit is contained in:
Jean-Paul Chaput 2010-05-17 23:11:07 +00:00
parent aef27cf6bf
commit 560d02ff08
1 changed files with 13 additions and 10 deletions

View File

@ -17,7 +17,9 @@ URL: http://www-asim.lip6.fr/
Packager: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr> Packager: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Requires(post): ldconfig Requires(post): ldconfig
Requires: boost >= 1.33.1 Requires: boost >= 1.33.1
Requires: qt4 >= 4.5.0
BuildRequires: boost-devel >= 1.33.1 BuildRequires: boost-devel >= 1.33.1
BuildRequires: qt4-devel >= 4.5.0
BuildRoot: %{_tmppath}/root-%{name} BuildRoot: %{_tmppath}/root-%{name}
@ -27,9 +29,10 @@ physical backend flow of Alliance.
%package devel %package devel
Summary: Coriolis 2 VLSI CAD Sytem - Development Summary: Coriolis 2 VLSI CAD Sytem - Development
Group: Applications/Engineering Group: Applications/Engineering
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: qt4-devel >= 4.5.0
%description devel %description devel
@ -69,15 +72,15 @@ Development files for the Coriolis 2 package.
%{__mkdir} -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/ %{__mkdir} -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf << EOF cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf << EOF
# Coriolis 2 VLSI design system # Coriolis 2 VLSI design system
%{coriolisTop}/lib %{coriolisTop}/%{_lib}
%{coriolisTop}/lib/python %{coriolisTop}/%{_lib}/python
EOF EOF
%if %{with_binarytar} %if %{with_binarytar}
cd %{buildroot}%{coriolisTop} cd %{buildroot}%{coriolisTop}
tar --exclude "*/cmake_modules*" \ tar --exclude "*/cmake_modules*" \
-jcf %{_sourcedir}/%{name}-binary-%{version}-%{release}.%{_arch}.tar.bz2 \ -jcf %{_sourcedir}/%{name}-binary-%{version}-%{release}.%{_arch}.tar.bz2 \
bin lib share bin %{_lib} share
%endif %endif
@ -94,11 +97,11 @@ EOF
%dir %{coriolisTop}/share/etc %dir %{coriolisTop}/share/etc
%dir %{coriolisTop}/share/etc/flute-2.4 %dir %{coriolisTop}/share/etc/flute-2.4
%dir %{coriolisTop}/bin %dir %{coriolisTop}/bin
%dir %{coriolisTop}/lib %dir %{coriolisTop}/%{_lib}
%dir %{coriolisTop}/lib/python %dir %{coriolisTop}/%{_lib}/python
%{coriolisTop}/bin/* %{coriolisTop}/bin/*
%{coriolisTop}/lib/*.so %{coriolisTop}/%{_lib}/*.so
%{coriolisTop}/lib/python/*.so %{coriolisTop}/%{_lib}/python/*.so
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/* %config(noreplace) %{_sysconfdir}/ld.so.conf.d/*
%config(noreplace) %{coriolisTop}/share/etc/*.xml %config(noreplace) %{coriolisTop}/share/etc/*.xml
%config(noreplace) %{coriolisTop}/share/etc/flute-2.4/*.dat %config(noreplace) %{coriolisTop}/share/etc/flute-2.4/*.dat