3 # - package gnome-screensver thingy
5 %include /usr/lib/rpm/macros.mono
6 Summary: Personal photo manager
7 Summary(pl): Mened¿er prywatnych galerii fotograficznych
12 Group: X11/Applications/Graphics
13 Source0: http://ftp.gnome.org/pub/gnome/sources/f-spot/0.1/%{name}-%{version}.tar.bz2
14 # Source0-md5: d4d75f6a5272fa15b5658abdf708b050
15 Patch0: %{name}-desktop.patch
16 Patch1: %{name}-exec.patch
17 URL: http://www.gnome.org/projects/f-spot/
18 BuildRequires: GConf2-devel
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: dotnet-dbus-sharp-devel
22 BuildRequires: dotnet-gtk-sharp2-gnome-devel >= 2.7
23 BuildRequires: gettext-devel
24 BuildRequires: intltool >= 0.21
25 BuildRequires: lcms-devel >= 1.12
26 BuildRequires: libexif-devel >= 1:0.6.12
27 BuildRequires: libgnomeui-devel >= 2.4.0
28 BuildRequires: libgphoto2-devel >= 2.1.99
29 BuildRequires: libjpeg-devel
30 BuildRequires: libstdc++-devel
31 BuildRequires: libtool
32 BuildRequires: mono-csharp >= 1.1.7
33 BuildRequires: pkgconfig
34 BuildRequires: rpmbuild(macros) >= 1.197
35 BuildRequires: sqlite-devel >= 2.8.6
36 Requires(post,postun): desktop-file-utils
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 F-Spot is an application designed to provide personal photo management
44 F-Spot jest prywatnym mened¿erem galerii fotograficznych dla
62 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
67 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
68 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
73 rm -rf $RPM_BUILD_ROOT
76 %update_desktop_database_post
79 %update_desktop_database_postun
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
84 %attr(755,root,root) %{_bindir}/*
85 %dir %{_libdir}/%{name}
86 %attr(755,root,root) %{_libdir}/%{name}/*.exe
87 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
88 %{_libdir}/%{name}/*.dll
89 %{_libdir}/%{name}/*.dll.config
90 %{_libdir}/%{name}/*.exe.config
91 %{_desktopdir}/*.desktop