[dia-optics/f13/master] Initial package
Thibault North
tnorth at fedoraproject.org
Thu Oct 7 13:18:05 UTC 2010
commit 3409c479824fe95d467226480f81ce5ab72d6710
Author: Thibault North <tnorth at fedoraproject.org>
Date: Thu Oct 7 09:18:09 2010 -0400
Initial package
.gitignore | 1 +
dia-optics.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..57a97dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/optics.zip
diff --git a/dia-optics.spec b/dia-optics.spec
new file mode 100644
index 0000000..5933562
--- /dev/null
+++ b/dia-optics.spec
@@ -0,0 +1,65 @@
+%global dia_datadir %{_datadir}/dia
+%global shapes Optics
+
+Name: dia-optics
+Version: 0.1
+Release: 1%{?dist}
+Summary: Dia Optics shapes
+
+Group: Applications/Engineering
+License: GPLv2+
+URL: http://dia-installer.de/shapes/optics/index_en.html
+Source0: http://dia-installer.de/shapes/optics/optics.zip
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires: dia
+BuildArch: noarch
+
+%description
+The following shapes are included in the package:
+ * Polarisation Controller
+ * Directional Coupler
+ * Tuneable Coupler
+ * DFB Laser
+ * Long Fibre
+ * Detector
+ * Osilloscope
+ * Spectrum Analyser
+ * Optical Isolator
+ * EDFA
+ * Variable Attenuator
+ * MZ Modulator
+ * Phase Modulator
+ * Sine Wave Source
+ * Square Wave Source
+ * Long Period Grating
+ * Light Beam
+ * Wave
+
+%prep
+%setup -q -c
+
+
+%build
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{dia_datadir}/sheets
+cp -p sheets/%{shapes}.sheet %{buildroot}%{dia_datadir}/sheets
+cp -pr shapes %{buildroot}%{dia_datadir}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{dia_datadir}/sheets/%{shapes}.sheet
+%{dia_datadir}/shapes/%{shapes}/
+
+%changelog
+* Sun Oct 3 2010 Thibault North <tnorth at fedoraproject.org> - 0.1-1
+- init fedora package
diff --git a/sources b/sources
index e69de29..8b1b95c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6c2bb1ffa6229b832e2d24fb1fd927c9 optics.zip
More information about the scm-commits
mailing list