Author: luzik                        Date: Sun Feb  3 10:19:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   ng-spice.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ng-spice.spec
diff -u /dev/null SPECS/ng-spice.spec:1.1
--- /dev/null   Sun Feb  3 11:19:25 2008
+++ SPECS/ng-spice.spec Sun Feb  3 11:19:20 2008
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+Summary:       Ngspice circuit simulator
+Summary(pl.UTF-8):     Ngspice symulator obwodów
+Name:          ng-spice
+Version:       17
+Release:       0.1
+License:       GPL
+Group:         Applications
+Source0:       
http://dl.sourceforge.net/ngspice/%{name}-rework-%{version}.tar.gz
+Source1:       %{name}.desktop
+# Source0-md5: abe283dea98b913a2122f085076865b1
+URL:           http://ngspice.sourceforge.net/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is
+based on three open source software packages: Spice3f5, Cider1b1 and
+Xspice.
+
+%description -l pl.UTF-8
+Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is
+based on three open source software packages: Spice3f5, Cider1b1 and
+Xspice.
+
+%prep
+%setup -q -n %{name}-rework-%{version}
+find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
+%build
+%configure \
+       --enable-xspice \
+       --enable-cider \
+       --enable-xgraph \
+       --with-x
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+cp -R examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ANALYSES AUTHORS ChangeLog NEWS README doc/ngspice.pdf doc 
doc/ngspice.info*
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}-rework
+%{_libdir}/spice
+%{_desktopdir}/%{name}.desktop
+%{_mandir}/man1/ng*1*
+%{_infodir}/ngspice*
+%{_examplesdir}/%{name}-%{version}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-02-03 10:19:20  luzik
+- initial PLD release
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to