File gimp-lch-selector.spec of Package gimp-lch-selector

Name:           gimp-lch-selector
Version:        0.3
Release:        1
License:        GPL v2 or later
Source:         gimp-lch-selector-0.3.tar.bz2
Patch0:         glchs-makefile_overhaul.patch
Group:          Productivity/Other
Summary:        L*C*h color selector for Gimp

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%define plugin_dir %(gimptool-2.0 --gimpplugindir)/modules

# List of additional build dependencies
BuildRequires:  gcc-c++ libxml2-devel 
# BuildRequires:  gtk-devel
BuildRequires:  gimp-devel

%description
This is a L*C*h (L*a*b* in polar coordinates) color selector module for
GIMP.

%prep
%setup -q
%patch0

%build
export RPM_OPT_FLAGS
make

%install
make DESTDIR=%buildroot install

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%{plugin_dir}/libcolor-selector-lch.so

%changelog
* Thu Dec 10 2009 doiggl@velocitynet.com.au  
- packaged gimp-lch-selector 0.3 using the buildservice spec file wizard