rpms/electric/EL-5 electric.desktop, NONE, 1.1 electric.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chitlesh GOORAH
chitlesh at fedoraproject.org
Mon Dec 1 21:56:32 UTC 2008
Author: chitlesh
Update of /cvs/pkgs/rpms/electric/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6167/EL-5
Modified Files:
.cvsignore sources
Added Files:
electric.desktop electric.spec import.log
Log Message:
new package
--- NEW FILE electric.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Electric VLSI
Exec=electric
Icon=electric
Type=Application
Terminal=false
GenericName=Electric
Categories=Electronics;Engineering;
--- NEW FILE electric.spec ---
Name: electric
Version: 8.07
Release: 1%{?dist}
Summary: Sophisticated Java based VLSI CAD System
Group: Applications/Engineering
License: GPLv3
URL: http://www.staticfreesoft.com/
Source0: ftp://ftp.gnu.org/pub/gnu/electric/%{name}-%{version}.jar
Source1: %{name}.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: java-1.6.0-openjdk-devel
BuildRequires: java-devel
BuildRequires: ant
Requires: java-1.6.0-openjdk
Requires: java
Requires: electronics-menu
BuildArch: noarch
%description
Electric is a sophisticated electrical CAD system that can handle
many forms of circuit design, including custom IC layout (ASICs),
schematic drawing, hardware description language specifications,
and electro-mechanical hybrid layout.
%package javadoc
Summary: Javadocs for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -T -c %{name}-%{version} -a 0
find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \;
jar xf %{SOURCE0}
%build
ant -verbose \
jarForGNUBinary \
javadoc
%install
%{__rm} -rf %{buildroot}
# generating empty directories
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_javadir}/%{name}
# real java binary created by this spec file
install -pm 0755 %{name}-%{version}.jar \
%{buildroot}%{_javadir}/%{name}/%{name}-%{version}.jar
# dummy executable file to call %%{name}-%%{version}.jar
cat > %{name} << EOF
#!/bin/bash
java -jar %{_javadir}/%{name}/%{name}-%{version}.jar
EOF
install -pm 0755 %{name} %{buildroot}%{_bindir}/%{name}
# desktop file and its icon
desktop-file-install --vendor fedora \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE1}
install -d %{buildroot}%{_datadir}/pixmaps/
install -pm 0644 com/sun/electric/tool/user/help/helphtml/iconplug.png \
%{buildroot}%{_datadir}/pixmaps/%{name}.png
# javadoc API
install -d %{buildroot}%{_javadocdir}/%{name}
%{__cp} -rp apidoc/* %{buildroot}%{_javadocdir}/%{name}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc packaging/README.txt ChangeLog.txt packaging/LicenseGNU.txt
%{_bindir}/%{name}
%{_javadir}/%{name}/%{name}-%{version}.jar
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}
%changelog
* Sat Nov 22 2008 Chitlesh GOORAH <chitlesh [AT] fedoraproject DOT org> - 8.07-1
- Updated to 8.07 and making electric compile for fedora.
- spec file was entirely revamped
- subpackage javadoc
- comply to electronics-menu structure and desktop file
- build arch : noarch
* Wed Jun 25 2008 Aanjhan Ranganathan <aanjhan at tuxmaniac.com> - 8.06-1
- Initial Fedora Package version 8.06
--- NEW FILE import.log ---
electric-8_07-1_fc10:EL-5:electric-8.07-1.fc10.src.rpm:1228168470
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/electric/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Dec 2008 20:51:25 -0000 1.1
+++ .cvsignore 1 Dec 2008 21:56:02 -0000 1.2
@@ -0,0 +1 @@
+electric-8.07.jar
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/electric/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Dec 2008 20:51:25 -0000 1.1
+++ sources 1 Dec 2008 21:56:02 -0000 1.2
@@ -0,0 +1 @@
+b4fd104575b9c21dd2a005627f30f696 electric-8.07.jar
More information about the fedora-extras-commits
mailing list