From b55a6c4579592ea84f5719f249d37665fa4a5d5f Mon Sep 17 00:00:00 2001 From: Eric Tanguy Date: Oct 16 2005 10:26:36 +0000 Subject: auto-import qucs-0.0.7-5 on branch devel from qucs-0.0.7-5.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..807722f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +qucs-0.0.7.tar.gz diff --git a/qucs.desktop b/qucs.desktop new file mode 100644 index 0000000..fcd159b --- /dev/null +++ b/qucs.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=Qucs +Exec=qucs +Name[fr_FR]=qucs +Comment=Qucs is a electronic circuit simulator +Comment[fr]=Qucs est un simulateur de circuits électroniques +Terminal=false +Type=Application +Icon=/usr/share/qucs/bitmaps/big.qucs.xpm +Categories=Application;Electronics;Engineering; diff --git a/qucs.spec b/qucs.spec new file mode 100644 index 0000000..fa175a8 --- /dev/null +++ b/qucs.spec @@ -0,0 +1,74 @@ +# + +Summary: Circuit simulator +Name: qucs +Version: 0.0.7 +Release: 5%{?dist} +Source0: http://ovh.dl.sourceforge.net/sourceforge/qucs/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +URL: http://qucs.sourceforge.net/ +License: GPL +Group: Applications/Engineering +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: desktop-file-utils +BuildRequires: qt-devel + + + +%description +Qucs is a circuit simulator with graphical user interface. The +software aims to support all kinds of circuit simulation types, +e.g. DC, AC, S-parameter and harmonic balance analysis. + +%prep +%setup -q + +%build +[ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh +%configure +make %{?_smp_mflags} + +# install will be a bit complicated because we are not assured +# that the builder has root privileges +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/applications +desktop-file-install --vendor fedora \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + --add-category X-Fedora \ + %{SOURCE1} + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_bindir}/qucs* +%{_datadir}/%{name} +%{_datadir}/applications/* +%{_mandir}/man1/* + +%changelog +* Tue Oct 11 2005 Eric Tanguy - 0.0.7-5 +-add qucs.desktop +-modify buildroot + +* Tue Aug 2 2005 Wojciech Kazubski +- version 0.0.7. + +* Thu Jun 23 2005 Wojciech Kazubski +- rebuilt for Fedora Core 4 + +* Mon May 30 2005 Wojciech Kazubski +- version 0.0.6. + +* Thu Mar 3 2005 Wojciech Kazubski +- version 0.0.5. + +* Fri Dec 10 2004 Wojciech Kazubski +- version 0.0.4 for Fedora Core 3 + +# end of file diff --git a/sources b/sources index e69de29..82af001 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +87059c90cdb6e55b30c55ca72ad792b7 qucs-0.0.7.tar.gz