remove requirement for unexisting libadms and add build requirements
add -DBUILD_SHARED_LIBS=OFF because not working well yet (see CMakeLists.txt) [release 2.3.6-2mamba;Sun Dec 10 2017]
This commit is contained in:
parent
c288ed4fc0
commit
b2b541acb2
@ -1,2 +1,5 @@
|
|||||||
# adms
|
# adms
|
||||||
|
|
||||||
|
ADMS is a code generator that converts electrical compact device models specified in high-level description language into ready-to-compile C code for the API of spice simulators. Based on transformations specified in XML language, ADMS transforms Verilog-AMS code into other target languages.
|
||||||
|
|
||||||
|
|
||||||
|
59
adms.spec
Normal file
59
adms.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
Name: adms
|
||||||
|
Version: 2.3.6
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: a code generator for the Verilog-AMS language
|
||||||
|
Group: Applications/Scientific
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||||||
|
URL: https://sourceforge.net/projects/mot-adms/
|
||||||
|
Source: https://downloads.sourceforge.net/project/mot-adms/adms-source/%{majver}/adms-%{version}.tar.gz
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
ADMS is a code generator that converts electrical compact device models specified in high-level description language into ready-to-compile C code for the API of spice simulators. Based on transformations specified in XML language, ADMS transforms Verilog-AMS code into other target languages.
|
||||||
|
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -d build \
|
||||||
|
-DUSE_MAINTAINER_MODE=ON \
|
||||||
|
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||||
|
-DBUILD_SHARED_LIBS=OFF
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall -C build
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/admsCheck
|
||||||
|
%{_bindir}/admsXml
|
||||||
|
%dir %{_includedir}/adms
|
||||||
|
%{_includedir}/adms/*.vams
|
||||||
|
%{_mandir}/man1/admsCheck.1*
|
||||||
|
%{_mandir}/man1/admsXml.1*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Dec 10 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.6-2mamba
|
||||||
|
- remove requirement for unexisting libadms and add build requirements
|
||||||
|
- add -DBUILD_SHARED_LIBS=OFF because not working well yet (see CMakeLists.txt)
|
||||||
|
|
||||||
|
* Thu Apr 13 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.3.6-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user