File geany-plugins.spec of Package geany-plugins
#
# spec file for package geany-plugins
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: geany-plugins
Version: 1.23
Release: 0
# FIXME: gendoc requires ctpl (http://ctpl.tuxfamily.org/)
Summary: A collection of different plugins for Geany
License: GPL-2.0+ and GPL-3.0+
Group: Development/Tools/IDE
Url: http://plugins.geany.org/geany-plugins/
Source: http://plugins.geany.org/geany-plugins/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM geany-plugins-lua-5_2.patch sf#3476581 dimstar@opensuse.org -- Fix build with lua 5.2.
Patch0: geany-plugins-lua-5_2.patch
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: libgpgme-devel
BuildRequires: pkgconfig(enchant) >= 1.3
BuildRequires: pkgconfig(geany) >= 1.23
BuildRequires: pkgconfig(glib-2.0) >= 2.16
BuildRequires: pkgconfig(gtk+-2.0) >= 2.16
BuildRequires: pkgconfig(gtkspell-2.0)
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.27
BuildRequires: pkgconfig(lua) >= 5.1
BuildRequires: pkgconfig(vte) >= 0.24
BuildRequires: pkgconfig(webkit-1.0) >= 1.1.18
Requires: %{name}-lang = %{version}
Requires: geany >= 1.23
Requires: lua
Enhances: geany
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Geany-Plugins is a collection of different plugins for Geany,
a lightweight IDE.
%lang_package
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%fdupes %{buildroot}%{_datadir}/doc/%{name}
%find_lang %{name}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc NEWS README
%{_libdir}/geany-plugins/
# Explicitly list plugins, so we don't lose any by accident
%{_libdir}/geany/addons.so
%{_libdir}/geany/codenav.so
%{_libdir}/geany/commander.so
%{_libdir}/geany/debugger.so
%{_libdir}/geany/geanydoc.so
%{_libdir}/geany/geanyextrasel.so
%{_libdir}/geany/geanyinsertnum.so
%{_libdir}/geany/geanylatex.so
%{_libdir}/geany/geanylipsum.so
%{_libdir}/geany/geanylua.so
%{_libdir}/geany/geanymacro.so
%{_libdir}/geany/geanyminiscript.so
%{_libdir}/geany/geanynumberedbookmarks.so
%{_libdir}/geany/geanypg.so
%{_libdir}/geany/geanyprj.so
%{_libdir}/geany/geanysendmail.so
%{_libdir}/geany/geanyvc.so
%{_libdir}/geany/geniuspaste.so
%{_libdir}/geany/gproject.so
%{_libdir}/geany/markdown.so
%{_libdir}/geany/pretty-printer.so
%{_libdir}/geany/scope.so
%{_libdir}/geany/shiftcolumn.so
%{_libdir}/geany/spellcheck.so
%{_libdir}/geany/tableconvert.so
%{_libdir}/geany/treebrowser.so
%{_libdir}/geany/updatechecker.so
%{_libdir}/geany/webhelper.so
%{_libdir}/geany/xmlsnippets.so
%{_datadir}/doc/geany-plugins/
%{_datadir}/geany-plugins/
%{_datadir}/icons/hicolor/16x16/apps/gproject*.png
%files lang -f %{name}.lang
%changelog