geany-plugin-gdb-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. %define __name geanygdb
  2. Summary: Geany plugin to provide integrated debugging environment using the GNU debugger
  3. Summary(ja): GNU デバッガを使い統合的デバッグ環境を提供する Geany プラグイン
  4. Name: geany-plugin-gdb
  5. Version: 0.0.2
  6. Release: 2%{?_dist_release}
  7. License: GPLv2
  8. Group: Development/Tools
  9. Source: http://plugins.geany.org/geanygdb/%{__name}-%{version}.tar.gz
  10. URL: http://plugins.geany.org/%{__name}/
  11. BuildRoot: %{_tmppath}/%{__name}-%{version}-root
  12. Requires: geany >= 0.16
  13. Requires: gdb
  14. BuildRequires: geany-devel
  15. BuildRequires: gtk2, gtk2-devel
  16. BuildRequires: intltool libtool gettext
  17. %description
  18. Geanygdb is plugin to provide integrated debugging environment
  19. using the GNU debugger.
  20. %description -l ja
  21. Geanygdb は GNU デバッガを使い統合的デバッグ環境を提供する Geany プラグインです。
  22. %prep
  23. %setup -q -n %{__name}-%{version}
  24. %build
  25. %configure
  26. make %{?_smp_mflags}
  27. %install
  28. %__rm -Rf $RPM_BUILD_ROOT
  29. install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/geany/
  30. install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/locale/
  31. ./libtool --silent --mode=install /usr/bin/install -c ./src/geanygdb.la \
  32. $RPM_BUILD_ROOT%{_libdir}/geany/geanygdb.la
  33. mv ./po/de.gmo ./po/geanygdb_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/geanygdb.la
  37. %clean
  38. %__rm -Rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-, root, root, -)
  41. %doc AUTHORS COPYING ChangeLog NEWS README
  42. %{_libdir}/geany/geanygdb.so
  43. %{_datadir}/locale/*
  44. %changelog
  45. * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.0.2-2vl5
  46. - rebuilt with geany-0.18
  47. * Sat Jun 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.0.2-1vl5
  48. - initial build for VineSeed