geany-plugin-vc-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. %define __name geanyvc
  2. Summary: geanyvc is plugin that provides a uniform way of accessing the different version-control systems
  3. Summary(ja): 異なるバージョン制御システムにアクセスする均一的方法を提供する Geany プラグイン
  4. Name: geany-plugin-vc
  5. Version: 0.5
  6. Release: 6%{?_dist_release}
  7. License: GPLv2
  8. Group: Development/Tools
  9. Source: http://users.cosmostv.by/yurand/geanyvc/geanyvc-%{version}.tar.gz
  10. URL: http://plugins.geany.org/geanyvc/
  11. BuildRoot: %{_tmppath}/%{__name}-%{version}-root
  12. Requires: geany >= 0.16
  13. BuildRequires: geany-devel
  14. BuildRequires: gettext, intltool
  15. BuildRequires: gtk2, gtk2-devel, gtkspell-devel
  16. BuildRequires: perl-XML-Parser
  17. %description
  18. geanyvc is plugin that provides a uniform way of accessing the different
  19. version-control systems inside Geany IDE.
  20. %description -l ja
  21. geanyvc は Geany IDE で異なるバージョン制御システムにアクセスする
  22. 均一的方法を提供するプラグインです。
  23. %prep
  24. %setup -q -n geanyvc-%{version}
  25. %build
  26. %configure
  27. make %{?_smp_mflags}
  28. %install
  29. %__rm -Rf $RPM_BUILD_ROOT
  30. install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/geany/
  31. install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/locale/
  32. ./libtool --silent --mode=install /usr/bin/install -c ./geanyvc.la $RPM_BUILD_ROOT%{_libdir}/geany/geanyvc.la
  33. mv ./po/de.gmo ./po/geanyvc_de.mo
  34. install -m 0755 ./po/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/
  35. #remove .la file before packaging
  36. rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/geanyvc.la
  37. %clean
  38. %__rm -Rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-, root, root, -)
  41. %doc COPYING ChangeLog README
  42. %{_libdir}/geany/geanyvc.so
  43. %{_datadir}/locale/*
  44. %changelog
  45. * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-6vl5
  46. - rebuilt with geany-0.18
  47. * Sat Jul 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-5vl5
  48. - added BuildRequires: gtkspell-devel, gettext, intltool, perl-XML-Parser
  49. * Mon May 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-4vl5
  50. - added document in %files
  51. * Sun May 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-3vl5
  52. - rebuilt with geany-0.17
  53. - spec in UTF-8
  54. - changed summary(ja) and description(ja) a little
  55. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> - 0.5-2vl5
  56. - fixed library path for lib64
  57. * Sat Feb 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1vl5
  58. - new upstream release
  59. - changed Requires: geany >= 0.16
  60. * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-3vl5
  61. - fixed %changelog typo
  62. * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-2vl5
  63. - rebuilt with geany-0.16
  64. * Thu Feb 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-1vl5
  65. - initial build for VineSeed