vtg-0.6.0-1kkr2009.0.spec
%define name vtg
%define version 0.6.0
%define release %mkrel 1
%define vtgdir %{_datadir}/%{name}
%define geditplugindir %{_libdir}/gedit-2/plugins
Summary: Vala Toys for gEdit
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.bz2
URL: http://code.google.com/p/vtg/
# The entire source code is GPLv2+ except vsc/ which is LGPLv2+
License: GPLv2+ and LGPLv2+
Group: Editors
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: gedit >= 2.24.0 vala >= 0.7.7 gtksourcecompletion >= 0.7.0 readline
BuildRequires: gedit-devel >= 2.24.0 vala-devel >= 0.7.7 libgtksourcecompletion-devel >= 0.7.0 intltool readline-devel libGConf2-devel >= 2.22.0
%description
Vala Toys for gEdit is an experimental collection of plugins that extends the gEdit editor to make it a better programmer editor for the Vala language.
%description -l ja
Vala Toys for gEditはgEditエディタをVala言語プログラミング向けに機能拡張するための実験的なプラグイン集です。
%prep
%setup -q
%{__sed} -i 's:${prefix}/doc/vtg:%{buildroot}/%{_datadir}/doc/%{name}:' Makefile.in
%build
%configure2_5x
%make
%install
%{__rm} %{buildroot} -fr
%makeinstall
%{__lzma} %{buildroot}/%{_datadir}/doc/%{name}/*
#%find_lang %{name}.lang
%clean
%{__rm} %{buildroot} -fr
#%files -f %{name}.lang
%files
%defattr(-, root, root)
%{_bindir}/vala-gen-project
%{_bindir}/vsc-shell
%{_mandir}/man1/vala-gen-project.1*
%{_docdir}/%{name}/
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{geditplugindir}/libvtg.*
%{geditplugindir}/vtg.gedit-plugin
%{vtgdir}/
%changelog
* Wed Oct 07 2009 kakurasan <kakurasan AT gmail DOT com> 0.6.0-1kkr2009.0
- new version
* Mon Sep 28 2009 kakurasan <kakurasan AT gmail DOT com> 0.6.0-0.20090928.1kkr2009.0
- new version
* Sun Sep 27 2009 kakurasan <kakurasan AT gmail DOT com> 0.5.0-1kkr2009.0
- new version
* Fri Jul 03 2009 kakurasan <kakurasan AT gmail DOT com> 0.5.0-0.20090703.1kkr2009.0
- initial build