Blame digikamimageplugins.spec

ec0e93c
ec0e93c
Name:    digikamimageplugins
ec0e93c
Summary: Plugins for Digikam
02032d8
Version: 0.8.2
4366c03
Release: 3%{?dist}
ec0e93c
ec0e93c
License: GPL
ec0e93c
Group:   Applications/Multimedia
ec0e93c
URL:     http://extragear.kde.org/apps/digikamimageplugins/ 
c83c014
Source:  http://dl.sourceforge.net/sourceforge/digikam/digikamimageplugins-%{version}.tar.bz2	
ec0e93c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ec0e93c
ec0e93c
Obsoletes: digikamplugins < %{version}
ec0e93c
98de5d2
BuildRequires: gettext
98de5d2
BuildRequires: libxml2
02032d8
BuildRequires: kdelibs-devel 
36b543f
BuildRequires: digikam-devel >= %{version}
36b543f
BuildRequires: digikam-devel < 0.9
02032d8
#BuildRequires: symlinks
3fff994
02032d8
# rpm already auto deps on libdigikam.so.0, but let's be careful.
c83c014
Requires: digikam >= %{version}
ec0e93c
Requires: ImageMagick 
ec0e93c
ec0e93c
%description
ec0e93c
DigikamImagePlugins are a collection of plugins for digiKam Image 
ec0e93c
Editor and showfoto (digiKam stand alone image editor implementation). 
ec0e93c
These plugins add new image treatment options like color management, 
ec0e93c
filters, or special effects.
ec0e93c
17c941e
Currently implemented plugins include:
ec0e93c
* Image improvements:
17c941e
  o Adjust levels : a tool to adjust the photograph histogram levels.
17c941e
  o Adjust curves : a tool to adjust the photograph colors using curves.
17c941e
  o Noise Reduction : a photograph noise reduction filter.
17c941e
  o Unsharp : a photograph unsharp mask filter to unblur picture without
ec0e93c
    increase noise.
17c941e
  o Lens Distortion : a tool for correct lens spherical aberration on
17c941e
    photograph.
17c941e
  o Anti Vignetting : a tool for correct vignetting on photograph.
17c941e
  o Channel Mixer : a tool to mix the photograph color channels.
17c941e
  o White Balance : a tool to adjust white color temperature balance of
ec0e93c
    photograph.
17c941e
  o Photograph Restoration : a tool to reduce photograph artifacts 
17c941e
    (CImg library).
17c941e
  o Photograph Inpainting : a tool to remove unwanted photograph area
17c941e
    (CImg library).
02032d8
  o Photograph Refocus : a sharpness editor to refocus a photograph (SVN only).
02032d8
  o Hot Pixels Correction : a tool to remove photograph hot pixels generated by a deficient camera CCD (SVN only).
ec0e93c
* Transformation tools:
17c941e
  o Free Rotation : a plugin to rotate a photograph with a free angle in
17c941e
    degrees.
17c941e
  o Shear Tool : a plugin to shear a photograph horizontally and vertically.
17c941e
  o Perpective Tool : a plugin to adjust the photograph perpective.
17c941e
  o Blowup Photograph : a plugin to blowup a photograph without less image
17c941e
    quality using CImg library.
ec0e93c
* Image tools:
17c941e
  o Template Superimpose : a tool for superimpose a template on photograph.
17c941e
  o Add Border : a tool for add border around a photograph.
17c941e
  o Insert Text : a tool for insert text under a photograph.
17c941e
  o Apply Texture : a tool to apply a decorative texture to a photograph.
ec0e93c
* Special effects:
17c941e
  o Solarize : a plugin to solarize a photograph.
17c941e
  o Oil Paint : simulate oil painting on photograph
17c941e
    (using Pieter Voloshyn algorithm).
17c941e
  o Emboss : an effect filter to emboss photograph
17c941e
    (using Pieter Voloshyn algorithm).
17c941e
  o Rain Drops : adding the visual effect of raindrops on photograph
17c941e
    (using Pieter Voloshyn algorithm).
17c941e
  o Charcoal : simulate charcoal drawing on photograph.
17c941e
  o FilmGrain : simulate film grain on photograph.
17c941e
  o Infrared : simulate infrared film effect on photograph.
17c941e
  o Blur FX : apply bluring special effects on photograph
17c941e
    (using Pieter Voloshyn algorithms).
17c941e
  o Distortion FX : apply distortion special effects on photograph
17c941e
    (using Pieter Voloshyn algorithms).
ec0e93c
ec0e93c
ec0e93c
%prep
ec0e93c
%setup -q -n %{name}-%{version}%{?beta:-%{beta}}
ec0e93c
ec0e93c
ec0e93c
%build
ec0e93c
unset QTDIR || : ; . /etc/profile.d/qt.sh
ec0e93c
ec0e93c
%configure \
ec0e93c
  --disable-rpath \
02032d8
  --disable-gcc-hidden-visibility \
02032d8
  --enable-new-ldflags \
74c2cc1
  --disable-debug --disable-warnings \
02032d8
  --disable-dependency-tracking --enable-final
ec0e93c
ec0e93c
make %{?_smp_mflags} 
ec0e93c
ec0e93c
ec0e93c
%install
ec0e93c
rm -rf $RPM_BUILD_ROOT
ec0e93c
ec0e93c
make install DESTDIR=$RPM_BUILD_ROOT
ec0e93c
ec0e93c
## File lists
ec0e93c
# locale's
ec0e93c
for app_file in $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/*.mo ; do
ec0e93c
   app=$(basename $app_file .mo)
ec0e93c
   # don't repeat
ec0e93c
   [ ! -f ${app}.lang ] && %find_lang ${app}
ec0e93c
done
74c2cc1
# HTML (1.0)
ec0e93c
HTML_DIR=$(kde-config --expandvars --install html)
ec0e93c
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
ec0e93c
for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
33537aa
  if [ -d $lang_dir ]; then
33537aa
    lang=$(basename $lang_dir)
6611b64
    echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
74c2cc1
    # replace absolute symlinks with relative ones
74c2cc1
    pushd $lang_dir
74c2cc1
      for i in *; do
74c2cc1
        [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
74c2cc1
      done
74c2cc1
    popd
33537aa
  fi
ec0e93c
done
ec0e93c
fi
ec0e93c
ec0e93c
cat *.lang > %{name}.list
ec0e93c
ec0e93c
ec0e93c
%clean
ec0e93c
rm -rf $RPM_BUILD_ROOT
ec0e93c
ec0e93c
ec0e93c
%post
ec0e93c
touch --no-create %{_datadir}/icons/hicolor ||:
ec0e93c
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
ec0e93c
ec0e93c
%postun
ec0e93c
touch --no-create %{_datadir}/icons/hicolor ||:
ec0e93c
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
ec0e93c
ec0e93c
ec0e93c
%files -f %{name}.list
ec0e93c
%defattr(-,root,root,-)
ec0e93c
%doc AUTHORS COPYING README TODO
33537aa
%{_libdir}/kde3/digikamimageplugin_*.*
33537aa
%{_datadir}/apps/digikamimageplugins/
02032d8
%{_datadir}/apps/digikam/*
ec0e93c
%{_datadir}/icons/hicolor/*/*/*
ec0e93c
%{_datadir}/services/*.desktop
ec0e93c
ec0e93c
ec0e93c
%changelog
4366c03
* Mon Aug 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-3
02032d8
- don't own %%_datadir/apps/digikam
02032d8
02032d8
* Tue Jul 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-1
02032d8
- 0.8.2
02032d8
17c941e
* Thu Feb 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-1
17c941e
- 0.8.1
17c941e
- update %%description (it's getting pretty long, maybe consider
17c941e
  omitting detailed list of available plugins)
17c941e
36b543f
* Tue Feb 14 2006 Rex Dieter <rexdieter[AT]users.sf.net>
36b543f
- BR: %%version <= digikam < 0.9
36b543f
641be63
* Fri Feb 10 2006 Rex Dieter <rexdieter[AT]users.sf.net>
641be63
- fc5: gcc/glibc respin
641be63
c83c014
* Thu Dec 01 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.0-1
c83c014
- 0.8.0
c83c014
c83c014
* Thu Nov 10 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.0-0.1.rc
c83c014
- 0.8.0-rc
c83c014
c83c014
* Thu Nov 10 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-11 
74c2cc1
- abs->relative symlinks
74c2cc1
- simplify configure
c83c014
c83c014
* Fri Nov 04 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-10 
6611b64
- Req/BR: digikam = %%version
6611b64
66328a3
* Fri Oct 28 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-9
33537aa
- simplify file list
33537aa
- Requires: digikam
98de5d2
- BR: digikam-devel < 0.8 (prep for 0.8)
33537aa
a9055f7
* Sun Oct 23 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-7
a9055f7
- drop extraneous BR's (#171503)
a9055f7
50d4ecb
* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-6
50d4ecb
- BR: libjpeg-devel (more missing digikam-devel deps)
50d4ecb
ec0e93c
* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-5
ec0e93c
- %%post,%%postun: gtk-update-icon-cache
ec0e93c
- drop %%{?debug_package}
ec0e93c
- drop CVS tags
ec0e93c
ec0e93c
* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-4
ec0e93c
- %%description: < 80 columns 
ec0e93c
- BR: libkipi-devel, libkexif-devel, gphoto2-devel, imlib2-devel
ec0e93c
  (workaround for digikam bug #171503)
ec0e93c
ec0e93c
* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-3
ec0e93c
- follow icon spec (touch icon theme dir)
ec0e93c
ec0e93c
* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-2
ec0e93c
- BR: gdbm-devel (workaround for digikam bug #171503)
ec0e93c
ec0e93c
* Thu Aug 18 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.4-1
ec0e93c
- 0.7.4
ec0e93c
ec0e93c
* Thu Jul 07 2005 Rex Dieter 0:0.7.3-0.1.kde
ec0e93c
- 0.7.3(final)
ec0e93c
ec0e93c
* Fri Apr 15 2005 Rex Dieter 0:0.7.3-0.0.beta1.kde
ec0e93c
- 0.7.3-beta1
ec0e93c
ec0e93c
* Tue Mar 03 2005 Rex Dieter 0.7.2-1.0.kde
ec0e93c
- 0.7.2 
ec0e93c
ec0e93c
* Tue Feb 08 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.7.2-0.fdr.0.1.beta1
ec0e93c
- 0.7.2-beta1
ec0e93c
ec0e93c
* Mon Jan 03 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.7.1-0.fdr.0
ec0e93c
- 0.7.1
ec0e93c
- digikamimageplugins-0.7.1-imlib2.patch (kde bug #96251)
ec0e93c
ec0e93c
* Mon Nov 15 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.7-0.fdr.0
ec0e93c
- 0.7
ec0e93c
ec0e93c
* Fri Jun 18 2004 Rex Dieter 
ec0e93c
- 0.6.2
ec0e93c
ec0e93c
* Wed Jun 02 2004 Rex Dieter <rexdieter at sf.net> 0:0.6.1-0.fdr.1
ec0e93c
- opengl patch
ec0e93c
ec0e93c
* Sun Apr 04 2004 Rex Dieter <rexdieter at sf.net>
ec0e93c
- kde-redhat'ize
ec0e93c
- TODO: 0.6.1
ec0e93c
ec0e93c
* Mon Mar 22 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.6-0.fdr.2
ec0e93c
- keep the *.la files (or else plugins won't be detected)
ec0e93c
ec0e93c
* Sat Mar 20 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.6-0.fdr.1
ec0e93c
- Initial RPM release.