Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > efc58a7c77fd51725d6e26d8fd9d0a46 > files > 3

f-spot-0.1.2-1mdk.src.rpm

%define name f-spot
%define version 0.1.2
%define release 1mdk

Summary: Image Database
Name: %{name}
Version: %{version}
Release: %{release}
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2
Patch: f-spot-0.0.13.exif12.patch.bz2
License: GPL
Group: Graphics
Url: http://www.gnome.org
BuildRequires: dbus-sharp
BuildRequires: gnome-sharp2
BuildRequires: mono-devel
BuildRequires: mono-data-sqlite
BuildRequires: libgnomeui2-devel
BuildRequires: libexif-devel
BuildRequires: liblcms-devel
BuildRequires: sqlite-devel
BuildRequires: libgphoto-devel
BuildRequires: perl-XML-Parser
BuildRequires: ImageMagick
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
#gw please don't drop these explicit deps, the shared libraries are imported
Requires: %mklibname exif 12
Requires: %mklibname gphoto 2

%description
Image Database based on Mono and SQLite.

%prep
%setup -q
%patch -p1
autoconf

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT %name.lang
%makeinstall_std
rm -f %buildroot%_libdir/%name/libfspot*a
#menu
install -d -m 755 $RPM_BUILD_ROOT%{_menudir}
cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
?package(%{name}): \
	command="%{_bindir}/%{name}" \
	needs="X11" \
	section="Multimedia/Graphics" \
	icon="%name.png" \
	title="F-Spot" \
	longtitle="Image Database" \
	startup_notify="true" 
EOF

%find_lang %name

mkdir -p %buildroot{%_liconsdir,%_miconsdir}
ln -s %_datadir/pixmaps/f-spot-logo.png %buildroot%_liconsdir/%name.png
convert -scale 32 icons/f-spot-logo.png %buildroot%_iconsdir/%name.png
convert -scale 16 icons/f-spot-logo.png %buildroot%_miconsdir/%name.png

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
%_bindir/%name
%_libdir/%name
%_datadir/applications/%name.desktop
%_datadir/pixmaps/*.png
%_menudir/%name
%_liconsdir/%name.png
%_iconsdir/%name.png
%_miconsdir/%name.png

%changelog
* Thu Sep  1 2005 Götz Waschk <waschk@mandriva.org> 0.1.2-1mdk
- fix buildrequires
- New release 0.1.2

* Fri Aug 26 2005 Götz Waschk <waschk@mandriva.org> 0.1.1-3mdk
- fix buildrequires

* Thu Aug 25 2005 Götz Waschk <waschk@mandriva.org> 0.1.1-2mdk
- rebuild for new gtk-sharp2

* Mon Aug 22 2005 Götz Waschk <waschk@mandriva.org> 0.1.1-1mdk
- New release 0.1.1

* Mon Aug 15 2005 Götz Waschk <waschk@mandriva.org> 0.1.0-1mdk
- fix buildrequires
- New release 0.1.0

* Tue May 10 2005 Götz Waschk <waschk@mandriva.org> 0.0.13-1mdk
- update the patch
- New release 0.0.13

* Wed Apr  6 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.12-2mdk
- rebuild

* Tue Mar 29 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.12-1mdk
- New release 0.0.12

* Tue Mar 15 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.11-2mdk
- reenable libtoolize
- fix exif major

* Mon Mar 14 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.11-1mdk
- New release 0.0.11

* Mon Mar  7 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.10-1mdk
- add icon to the menu
- drop merged patch
- New release 0.0.10

* Thu Mar  3 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.9-4mdk
- update the patch

* Sun Feb 27 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.9-3mdk
- fix dllmap

* Tue Feb 22 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.9-2mdk
- fix buildrequires

* Tue Feb 22 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.9-1mdk
- New release 0.0.9

* Fri Feb 18 2005 Jerome Soyer <saispo@mandrake.org> 0.0.8-1mdk
- New release 0.0.8

* Wed Feb  2 2005 Goetz Waschk <waschk@linux-mandrake.com> 0.0.7-1mdk
- New release 0.0.7

* Sat Jan 22 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.6-3mdk
- fix buildrequires

* Thu Jan 20 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.6-2mdk
- fix buildrequires

* Thu Jan 20 2005 Goetz Waschk <waschk@linux-mandrake.com> 0.0.6-1mdk
- New release 0.0.6

* Wed Jan 19 2005 Götz Waschk <waschk@linux-mandrake.com> 0.0.5-1mdk
- fix buildrequires
- New release 0.0.5

* Tue Dec 28 2004 Götz Waschk <waschk@linux-mandrake.com> 0.0.4-2mdk
- rebuild

* Mon Dec 27 2004 Götz Waschk <waschk@linux-mandrake.com> 0.0.4-1mdk
- we use gtk-sharp2 now
- New release 0.0.4

* Tue Nov 16 2004 Goetz Waschk <waschk@linux-mandrake.com> 0.0.3-1mdk
- New release 0.0.3

* Wed Sep  1 2004 Götz Waschk <waschk@linux-mandrake.com> 0.0.2-2mdk
- fix deps

* Mon Aug 30 2004 Götz Waschk <waschk@linux-mandrake.com> 0.0.2-1mdk
- fix buildrequires
- update file list
- New release 0.0.2

* Wed Apr 21 2004 Götz Waschk <waschk@linux-mandrake.com> 0.0.1-2mdk
- fix source URL
- fix buildrequires

* Tue Apr  6 2004 Götz Waschk <waschk@linux-mandrake.com> 0.0.1-1mdk
- initial package