1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
--- /dev/null 2010-03-14 16:00:00.000000000 +0800
+++ output.spec 2010-03-14 16:21:19.000000000 +0800
@@ -0,0 +1,74 @@
+#
+# Do not Edit! Generated by:
+# spectacle version 0.13
+#
+# >> macros
+# << macros
+
+Name: testpkg
+Summary: Sample package for spectacle testings
+Version: 1.0
+Release: 1
+Group: System/Base
+License: BSD
+URL: http://www.testpkg.org/
+Source0: http://www.testpkg.org/testpkg-%{version}.tar.gz
+Source100: testpkg.yaml
+
+%description
+Sample package for spectacle testings, which will be used as
+the base of all testings. In this YAML file, only basic keywords
+specified, plus with one sub package "devel".
+
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains development files for %{name}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+
+# >> install post
+# << install post
+
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%defattr(-,root,root,-)
+%{_bindir}/*
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+# << files devel
+
|