trac-plugin-footnotemacro-vl.spec 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. %define ver 1.03
  2. %define rel 2
  3. %define svn_rev 9788
  4. Summary: add footnotes to wiki for Trac
  5. Name: trac-plugin-footnotemacro
  6. Version: %{ver}
  7. Release: %{rel}.svn%{svn_rev}%{?_dist_release}
  8. License: BSD-style License
  9. Group: Applications/Development
  10. URL: http://trac-hacks.org/wiki/FootNoteMacro
  11. Source0: footnotemacro-%{version}-svn%{svn_rev}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  13. BuildArch: noarch
  14. BuildRequires: python-devel python-setuptools
  15. Requires: trac >= 0.11
  16. %description
  17. add footnotes to wiki for Trac
  18. %prep
  19. %setup -q -n footnotemacro-%{version}-svn%{svn_rev}
  20. %build
  21. pushd 0.11
  22. %__python setup.py build
  23. popd
  24. %install
  25. %__rm -rf %{buildroot}
  26. pushd 0.11
  27. %__python setup.py install --root=%{buildroot}
  28. popd
  29. %clean
  30. %__rm -rf %{buildroot}
  31. %files
  32. %defattr(-,root,root,-)
  33. #%doc
  34. %{python_sitelib}/FootNoteMacro*
  35. %{python_sitelib}/footnotemacro
  36. %changelog
  37. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.03-2.svn9788
  38. - rebuild with python-2.7.2
  39. * Mon Jan 24 2011 IWAI, Masaharu <iwai@alib.jp> 1.03-1.svn9788
  40. - Initial build.