SHA256
1
0
forked from pool/adms

Accepting request 253551 from home:Dmitry_R:branches:electronics

OBS-URL: https://build.opensuse.org/request/show/253551
OBS-URL: https://build.opensuse.org/package/show/electronics/adms?expand=0&rev=4
This commit is contained in:
Dmitry Roshchin 2014-10-01 19:26:08 +00:00 committed by Git OBS Bridge
parent e0fca37a07
commit 3b0419285b
5 changed files with 26 additions and 106 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:120631ced4662790b0ce1f6b29823c945c0cbba9b9ab63a75d863a469989b73f
size 775414

3
adms-2.3.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63498c24c3064ae86eae135ac7324e532bc8bb772eca5208204814df8f27931a
size 769077

View File

@ -1,8 +1,8 @@
Index: adms-2.3.2/admsXml/admsXml.c
Index: adms-2.3.4/admsXml/admsXml.c
===================================================================
--- adms-2.3.2.orig/admsXml/admsXml.c
+++ adms-2.3.2/admsXml/admsXml.c
@@ -558,7 +558,7 @@ static void parseva (const int argc,cons
--- adms-2.3.4.orig/admsXml/admsXml.c
+++ adms-2.3.4/admsXml/admsXml.c
@@ -567,7 +567,7 @@ static void parseva (const int argc,cons
root()->_filename=basename(myverilogamsfile);
root()->_fullfilename=adms_kclone(myverilogamsfile);
root()->_curfilename=adms_kclone(myverilogamsfile);
@ -11,7 +11,7 @@ Index: adms-2.3.2/admsXml/admsXml.c
/* preprocess input file */
{
p_preprocessor mypreprocessor=(p_preprocessor)malloc(sizeof(t_preprocessor));
@@ -2621,11 +2621,6 @@ int main (const int argc,const char**arg
@@ -2630,11 +2630,6 @@ int main (const int argc,const char**arg
adms_k2strconcat(&sdeveloper,"Xml");
adms_k2strconcat(&sdeveloper,"-");
adms_k2strconcat(&sdeveloper,PACKAGE_VERSION);
@ -23,7 +23,7 @@ Index: adms-2.3.2/admsXml/admsXml.c
root()->_simulator->_developer=sdeveloper;
}
/*[nepasimprimer]*/
@@ -2656,8 +2651,8 @@ int main (const int argc,const char**arg
@@ -2665,8 +2660,8 @@ int main (const int argc,const char**arg
((argc==3)&&!strcmp(argv[1],"--")&&!strcmp(argv[2],"help"))
)
{
@ -34,26 +34,26 @@ Index: adms-2.3.2/admsXml/admsXml.c
adms_message_usage(("%sXml source [options] -e script1 [-e script2 ...]\n",PACKAGE_NAME))
adms_message_usage(("files:\n"))
adms_message_usage((" source: verilog-ams source code\n"))
@@ -2688,7 +2683,7 @@ int main (const int argc,const char**arg
@@ -2697,7 +2692,7 @@ int main (const int argc,const char**arg
((argc==3)&&!strcmp(argv[1],"--")&&!strcmp (argv[2],"version"))
)
{
- adms_message_usage(("<release name=\"%sXml\" version=\"%s\" date=\"%s\" time=\"%s\"/>\n",PACKAGE_NAME,PACKAGE_VERSION,__DATE__,__TIME__))
+ adms_message_usage(("<release name=\"%sXml\" version=\"%s\"/>\n",PACKAGE_NAME,PACKAGE_VERSION))
+ adms_message_usage(("<release name=\"%sXml\" version=\"%s\" />\n",PACKAGE_NAME,PACKAGE_VERSION))
return 0;
}
else if(
@@ -2704,8 +2699,7 @@ int main (const int argc,const char**arg
@@ -2713,8 +2708,7 @@ int main (const int argc,const char**arg
adms_message_usage((" bug-report=\"%s\"\n",PACKAGE_BUGREPORT))
adms_message_usage((" home-page=\"http://mot-adms.sourceforge.net\"\n"))
adms_message_usage((" home-page=\"https://sourceforge.net/projects/mot-adms/\"\n"))
adms_message_usage((" mailing-list=\"mot-adms-users@lists.sourceforge.net\">\n"))
- adms_message_usage((" <release name=\"%s\" version=\"%s\" ",PACKAGE_NAME,PACKAGE_VERSION))
- adms_message_usage_continue(("git=\"%s\" date=\"%s\" time=\"%s\"/>\n",GIT,__DATE__,__TIME__))
+ adms_message_usage((" <release name=\"%s\" version=\"%s\"/>\n ",PACKAGE_NAME,PACKAGE_VERSION))
+ adms_message_usage((" <release name=\"%s\" version=\"%s\"/>\n",PACKAGE_NAME,PACKAGE_VERSION))
adms_message_usage(("</info>\n"))
return 0;
}
@@ -2761,10 +2755,6 @@ int main (const int argc,const char**arg
@@ -2770,10 +2764,6 @@ int main (const int argc,const char**arg
adms_k2strconcat(&xheader," Command used:\n");
adms_k2strconcat(&xheader," # release: ");
adms_k2strconcat(&xheader,PACKAGE_VERSION);

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Oct 1 16:08:25 UTC 2014 - dmitry_r@opensuse.org
- Update to version 2.3.4
* bugfix release, see included ChangeLog file
- Update adms-no-build-time.patch
- Build without shared libraries.
-------------------------------------------------------------------
Thu Jul 3 17:32:11 UTC 2014 - dmitry_r@opensuse.org

View File

@ -17,7 +17,7 @@
Name: adms
Version: 2.3.2
Version: 2.3.4
Release: 0
Summary: An automatic device model synthesizer
License: LGPL-2.1
@ -40,111 +40,23 @@ 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.
%package devel
Summary: Development files for ADMS
Group: Development/Libraries/Other
Requires: libadmsAdmstpath0 = %{version}
Requires: libadmsElement0 = %{version}
Requires: libadmsPreprocessor0 = %{version}
Requires: libadmsVeriloga0 = %{version}
%description devel
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.
%package -n libadmsAdmstpath0
Summary: ADMS Admstpath library
Group: System/Libraries
%description -n libadmsAdmstpath0
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.
%package -n libadmsElement0
Summary: ADMS Element library
Group: System/Libraries
%description -n libadmsElement0
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.
%package -n libadmsPreprocessor0
Summary: ADMS Preprocessor library
Group: System/Libraries
%description -n libadmsPreprocessor0
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.
%package -n libadmsVeriloga0
Summary: ADMS Verilog-AMS library
Group: System/Libraries
%description -n libadmsVeriloga0
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.
%prep
%setup -q
%patch1 -p1
%build
%configure \
--disable-static
%configure
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libadmsVeriloga0 -p /sbin/ldconfig
%postun -n libadmsVeriloga0 -p /sbin/ldconfig
%post -n libadmsElement0 -p /sbin/ldconfig
%postun -n libadmsElement0 -p /sbin/ldconfig
%post -n libadmsAdmstpath0 -p /sbin/ldconfig
%postun -n libadmsAdmstpath0 -p /sbin/ldconfig
%post -n libadmsPreprocessor0 -p /sbin/ldconfig
%postun -n libadmsPreprocessor0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING
%{_bindir}/admsCheck
%{_bindir}/admsXml
%{_mandir}/man1/admsCheck.1.gz
%{_mandir}/man1/admsXml.1.gz
%files -n libadmsVeriloga0
%defattr(-,root,root)
%{_libdir}/libadmsVeriloga.so.0*
%files -n libadmsElement0
%defattr(-,root,root)
%{_libdir}/libadmsElement.so.0*
%files -n libadmsAdmstpath0
%defattr(-,root,root)
%{_libdir}/libadmsAdmstpath.so.0*
%files -n libadmsPreprocessor0
%defattr(-,root,root)
%{_libdir}/libadmsPreprocessor.so.0*
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%changelog