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