input.p 1.3 KB

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