2024-01-05 20:12:20 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: adms
|
2024-01-05 20:12:20 +01:00
|
|
|
Version: 2.3.7
|
2024-01-05 20:12:21 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 20:12:20 +01:00
|
|
|
Summary: A code generator for the Verilog-AMS language
|
2024-01-05 20:12:20 +01:00
|
|
|
Group: Applications/Scientific
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 20:12:21 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:12:20 +01:00
|
|
|
URL: https://sourceforge.net/projects/mot-adms/
|
2024-01-05 20:12:20 +01:00
|
|
|
Source: https://github.com/Qucs/ADMS.git/release-%{version}/ADMS-%{version}.tar.bz2
|
|
|
|
#Source: https://downloads.sourceforge.net/project/mot-adms/adms-source/%{majver}/adms-%{version}.tar.gz
|
2024-01-05 20:12:20 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%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
|
2024-01-05 20:12:20 +01:00
|
|
|
%setup -q -n ADMS-%{version}
|
2024-01-05 20:12:20 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 20:12:21 +01:00
|
|
|
%cmake \
|
2024-01-05 20:12:20 +01:00
|
|
|
-DUSE_MAINTAINER_MODE=ON \
|
|
|
|
-DCMAKE_BUILD_TYPE=RELEASE \
|
|
|
|
-DBUILD_SHARED_LIBS=OFF
|
|
|
|
|
2024-01-05 20:12:21 +01:00
|
|
|
%cmake_build
|
2024-01-05 20:12:20 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 20:12:21 +01:00
|
|
|
%cmake_install
|
2024-01-05 20:12:20 +01:00
|
|
|
|
|
|
|
%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*
|
2024-01-05 20:12:20 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 20:12:20 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:12:21 +01:00
|
|
|
* Sun Aug 20 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.7-2mamba
|
|
|
|
- rebuild
|
|
|
|
|
2024-01-05 20:12:20 +01:00
|
|
|
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.7-1mamba
|
|
|
|
- update to 2.3.7
|
|
|
|
|
2024-01-05 20:12:20 +01:00
|
|
|
* 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
|