[smartsim] Initial import (#854345).

Eric Smith brouhaha at fedoraproject.org
Sun Sep 30 01:56:12 UTC 2012


commit 4ed713caa818ec429d9ae1420720b76b5532732f
Author: Eric Smith <eric at brouhaha.com>
Date:   Sat Sep 29 19:57:47 2012 -0600

    Initial import (#854345).

 .gitignore    |    1 +
 smartsim.spec |   72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e161b94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/smartsim-3b11cf8.tar.gz
diff --git a/smartsim.spec b/smartsim.spec
new file mode 100644
index 0000000..a8e92ed
--- /dev/null
+++ b/smartsim.spec
@@ -0,0 +1,72 @@
+%global git_date 20120830
+%global git_hash 3b11cf8
+
+Name:           smartsim
+URL:            http://smartsim.org.uk/
+Version:        1.2.1
+Release:        1%{?dist}
+Group:          Applications/Engineering
+License:        GPLv3
+Summary:        Digital logic circuit design and simulation package
+Source0:        https://github.com/ashleynewson/SmartSim/tarball/%{git_hash}/smartsim-%{git_hash}.tar.gz
+BuildRequires:  gtk2-devel libxml2-devel librsvg2-devel
+BuildRequires:  ImageMagick desktop-file-utils
+
+%description
+SmartSim is a free and open source digital logic circuit design and
+simulation package.
+
+SmartSim lets you create complex circuits by allowing you to create
+your own custom components and including them in other circuits, as if
+they were any other built-in component. These larger circuits can then
+also be included in other designs as sub-components. SmartSim also
+offers the ability to print out or export your circuit designs to PDF,
+PNG, or SVG.
+
+When you have finished designing your circuit, SmartSim offers an
+interactive simulation feature, allowing you to control your circuit
+and explore inside sub-components whilst the circuit is
+running. SmartSim also allows you to produce logic timing diagrams
+from your simulation's activity, which can then be exported to PDF,
+PNG, and SVG formats.
+
+%prep
+%setup -q -n ashleynewson-SmartSim-%{git_hash}
+./configure --prefix=%{_prefix} --libdir=%{_libdir}
+
+%build
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
+# create desktop file
+cat <<EOF >smartsim.desktop
+[Desktop Entry]
+Name=smartsim
+GenericName=SmartSim
+Exec=smartsim
+Icon=smartsim
+Terminal=false
+Type=Application
+Categories=Engineering;
+EOF
+
+%install
+make install DESTDIR="%{buildroot}"
+
+install -d -m 755 %{buildroot}%{_datadir}/applications
+install -p -m 644 %{name}.desktop %{buildroot}%{_datadir}/applications
+
+install -d -m 755 %{buildroot}%{_datadir}/pixmaps
+convert %{buildroot}%{_datadir}/%{name}/%{name}.ico  %{buildroot}%{_datadir}/pixmaps/%{name}.png
+
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%files
+%{_bindir}/%{name}
+%{_datadir}/%{name}
+%doc COPYING README
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+%changelog
+* Sat Sep 04 2012 Eric Smith <eric at brouhaha.com> 1.2.1-1
+- initial version
diff --git a/sources b/sources
index e69de29..fdba356 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+90d71a586327e1a5b4a30bf7e84c084e  smartsim-3b11cf8.tar.gz


More information about the scm-commits mailing list