]> git.pld-linux.org Git - packages/electric.git/commitdiff
This commit was manufactured by cvs2git to create branch 'RA-branch'. STABLE electric-6_08-2
authorcvs2git <feedback@pld-linux.org>
Wed, 18 Feb 2004 11:15:52 +0000 (11:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2004-02-18 11:15:52 UTC ankry <ankry@pld-linux.org> 'pl/UTF fixes'
Cherrypick from unlabeled-1.26.2 2004-02-18 11:13:01 UTC Paweł Gołaszewski <blues@pld-linux.org> '- release 2 for RA':
    electric.spec -> 1.26.2.1

electric.spec

index 605b3b02be696dbd1cf1c9497a3777e0d0a70dba..f6a1333a2afe3b72c98a89b5d97b6c04e339b509 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Electric VLSI Design System
 Summary(pl):   System projektowania uk³adów VLSI
 Name:          electric
 Version:       6.08
-Release:       1
+Release:       2
 License:       GPL v2
 Vendor:                Static Free Software
 Group:         Applications/Engineering
 Source0:       ftp://ftp.gnu.org/pub/gnu/electric/%{name}-%{version}.tar.gz
 # Source0-md5: de428032f08d3d3ee8686f178ae6b160
+Source1:       %{name}.desktop
 Patch0:                %{name}-datadir.patch
 Patch1:                %{name}-tcl.patch
 Patch2:                %{name}-makefile.patch
@@ -19,6 +20,9 @@ BuildRequires:        motif-devel
 BuildRequires: tcl-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _prefix         /usr/X11R6
+%define                _desktopdir     %{_applnkdir}/Scientific
+
 %description
 Electric designs MOS and bipolar integrated circuits,
 printed-circuit-boards, or any type of circuit you choose. It has many
@@ -55,8 +59,7 @@ VHDL, CIF i GDS II.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/electric}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/electric,%{_desktopdir}}
 install electric $RPM_BUILD_ROOT%{_bindir}
 install lib/.cadrc $RPM_BUILD_ROOT%{_datadir}/electric
 install lib/*.help $RPM_BUILD_ROOT%{_datadir}/electric
@@ -66,6 +69,8 @@ install lib/*.txt $RPM_BUILD_ROOT%{_datadir}/electric
 # can't find better way to make electric find tcl.init
 ln -sf /usr/lib/tcl8.* $RPM_BUILD_ROOT%{_datadir}/electric/tcl
 
+install %{SOURCE1}     $RPM_BUILD_ROOT%{_desktopdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -74,3 +79,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc ChangeLog README examples/samples.txt html/manual examples
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/electric
+%{_desktopdir}/%{name}.desktop
This page took 0.119319 seconds and 4 git commands to generate.