gtksourcecompletion-0.7.0-1.2kkr2009.0.spec
%define name gtksourcecompletion
%define version 0.7.0
%define release %mkrel 1
%define subrel 2
%define libname %mklibname %{name}-2.0_ 1
%define develname %mklibname -d %{name}-2.0
%define staticdevelname %mklibname -s -d %{name}-2.0
%define gtksourcecompletiondir %{_datadir}/%{name}
Summary: Adds completion support to GtkSourceView
Summary(ja): GtkSourceViewに補完サポートを追加する
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://cloud.github.com/downloads/chuchiperriman/gtksourcecompletion/%{name}-%{version}.tar.gz
# Size : 413,833
# MD5 : dd86f6c211dc4d8a305126f700869679
# SHA-1 : e97ce2f6a2859c2db0f34091ed740d5188c551ee
URL: http://gtksourcecomple.sourceforge.net/
License: LGPLv2+
Group: Editors
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: intltool libgtksourceview-devel
%package -n %{libname}
Summary: Adds completion support to GtkSourceView
Summary(ja): GtkSourceViewに補完サポートを追加する
Group: Editors
Requires: gtksourceview
Provides: %{name} = %{version}-%{release}
%package -n %{develname}
Summary: Adds completion support to GtkSourceView(development files)
Summary(ja): GtkSourceViewに補完サポートを追加する(開発ファイル)
Group: Development/GNOME and GTK+
Requires: %{libname} = %{version}-%{release}
Provides: libgtksourcecompletion-devel = %{version}-%{release}
%package -n %{staticdevelname}
Summary: Adds completion support to GtkSourceView(static library)
Summary(ja): GtkSourceViewに補完サポートを追加する(静的ライブラリ)
Group: Development/GNOME and GTK+
Requires: %{develname} = %{version}-%{release}
Provides: libgtksourcecompletion-static-devel = %{version}-%{release}
%description
GtkSourceCompletion is a library to add (auto)completion and calltips support to GtkSourceView.
%description -l ja
GtkSourceCompletionはGtkSourceViewに(自動)補完とコールチップのサポートを追加するためのライブラリです。
%description -n %{libname}
GtkSourceCompletion is a library to add (auto)completion and calltips support to GtkSourceView.
This package contains the library needed to run programs dynamically linked with %{name}.
%description -n %{libname} -l ja
GtkSourceCompletionはGtkSourceViewに(自動)補完とコールチップのサポートを追加するためのライブラリです。
本パッケージは%{name}に動的リンクされたプログラムを実行するのに必要なライブラリを含んでいます。
%description -n %{develname}
GtkSourceCompletion is a library to add (auto)completion and calltips support to GtkSourceView.
This package contains development files for %{name}.
%description -n %{develname} -l ja
GtkSourceCompletionはGtkSourceViewに(自動)補完とコールチップのサポートを追加するためのライブラリです。
本パッケージは%{name}の開発ファイルを含んでいます。
%description -n %{staticdevelname}
GtkSourceCompletion is a library to add (auto)completion and calltips support to GtkSourceView.
This package contains the static library of %{name}.
%description -n %{staticdevelname} -l ja
GtkSourceCompletionはGtkSourceViewに(自動)補完とコールチップのサポートを追加するためのライブラリです。
本パッケージは%{name}の静的ライブラリを含んでいます。
%prep
%setup -q
%build
%configure2_5x
%make
%install
%{__rm} %{buildroot} -fr
%makeinstall
%{__rm} %{buildroot}/%{_bindir}/gio-test
%find_lang %{name}-2.0
%{__lzma} AUTHORS ChangeLog NEWS README
%clean
%{__rm} %{buildroot} -fr
%files -n %{libname} -f %{name}-2.0.lang
%defattr(-, root, root)
%{_bindir}/completion-*
%{_libdir}/libgtksourcecompletion-2.0.so.*
%{_libdir}/pkgconfig/gtksourcecompletion-2.0.pc
%{gtksourcecompletiondir}/
%doc AUTHORS* ChangeLog* NEWS* README*
%files -n %{develname}
%defattr(-, root, root)
%{_includedir}/gtksourcecompletion-2.0/
%{_libdir}/libgtksourcecompletion-2.0.so
%{_datadir}/gtk-doc/html/gtksourcecompletion-2.0/
%files -n %{staticdevelname}
%defattr(-, root, root)
%{_libdir}/libgtksourcecompletion-2.0.*a
%changelog
* Mon Aug 31 2009 kakurasan <kakurasan AT gmail DOT com> 0.7.0-1.2kkr2009.0
- fix %%description
* Wed Jul 15 2009 kakurasan <kakurasan AT gmail DOT com> 0.7.0-1.1kkr2009.0
- fix missing version in Requires
* Fri Jul 03 2009 kakurasan <kakurasan AT gmail DOT com> 0.7.0-1kkr2009.0
- initial build