qucs - symulator układów elektronicznych

Robert Tomasik robert.tomasik at gmail.com
Sun Jan 29 18:50:46 CET 2006


Przesyłam speca do symulatorów układów elektronicznych.
Programik młody ale dobrze zapowiadający się. 

Zastanawiam się, czy nie lepiej byłoby plik .desktop tworzyć w specu. 
Mniej plików, mniejszy bajzel, co Wy na to ?

-- 
___________________________
Linux is like Wigwam. No Gates, No Windows, Apache Inside !!!
ftp.pld.robert74.one.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qucs.desktop
Type: application/x-desktop
Size: 219 bytes
Desc: not available
URL: </mailman/pipermail/pld-devel-pl/attachments/20060129/338ad563/attachment.bin>
-------------- next part --------------
# $Revision:$, $Date:$
Summary:		An integrated circuit simulator
Summary(pl):	Symulator układów elektronicznych
Name:		qucs
Version:	0.0.8
Release:	1
License:	GPL
Group:		X11/Applications
Source0:	http://dl.sourceforge.net/qucs/%{name}-%{version}.tar.gz
# Source0-md5:	0b280090e4b7ff390c6cc4458b3387a8
Source1:	%{name}.desktop
URL:		http://www.kde-apps.org/content/show.php?content=21644
BuildRequires:	qt-devel >= 3.1
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Qucs provides a GUI based on Qt for setting up electronical circuits,
simulator, which is able to simulate the small- and large signal and
noisebehaviour of microwave circuits. The results can be shown on
aspecial presentation page in different formats (rect, polar,
smith,tabular).

%description -l pl
Qucs dostarczas GUI oparte o bibliotekę QT do symulacji układów
elektronicznych, które umożliwia symulowanie różnych sygnałów i szumów
w układach scaloncyh. Rezultaty mogą być obrazowane jako specjalne
prezentacje w różnych formatach.

%prep
%setup -q

%build
export QTDIR="%{_prefix}"
perl -pi -e 's|%{_prefix}/local/qt/lib|\$QTDIR/%{_lib}|' configure
./configure \
	--prefix=%{_prefix} \
	--cache-file=config.cache \
	--bindir=%{_bindir} \
	--sbindir=%{_sbindir} \
	--datadir=%{_datadir} \
	--libexecdir=%{_libexecdir} \
	--sysconfdir=%{_sysconfdir} \
	--includedir=%{_includedir} \
	--sharedstatedir=%{_sharedstatedir} \
	--libdir=%{_libdir} \
	--infodir=%{_infodir} \
	--mandir=%{_mandir} \

%{__make} \
        CC="%{__cc}"

%install
rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_mandir}/man?/*
%{_desktopdir}/%{name}.desktop
%doc RELEASE README THANKS TODO COPYING AUTHORS NEWS

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log:$


More information about the pld-devel-pl mailing list