]> git.pld-linux.org Git - packages/f-spot.git/blob - f-spot.spec
- it should work with libgphoto2 < 2.1.99, so let's set BR only for th
[packages/f-spot.git] / f-spot.spec
1 #
2 # TODO:
3 # - package gnome-screensver thingy
4 #
5 %include        /usr/lib/rpm/macros.mono
6 Summary:        Personal photo manager
7 Summary(pl):    Mened¿er prywatnych galerii fotograficznych
8 Name:           f-spot
9 Version:        0.1.11
10 Release:        3
11 License:        GPL
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)
38
39 %description
40 F-Spot is an application designed to provide personal photo management
41 to the GNOME desktop.
42
43 %description -l pl
44 F-Spot jest prywatnym mened¿erem galerii fotograficznych dla
45 ¶rodowiska GNOME.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51
52 %build
53 %{__intltoolize}
54 %{__aclocal}
55 %{__automake}
56 %{__autoconf}
57 %configure \
58         --disable-static
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
68 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
69
70 %find_lang %{name}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 %update_desktop_database_post
77
78 %postun
79 %update_desktop_database_postun
80
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
92 %{_pixmapsdir}/*.png
This page took 0.078065 seconds and 4 git commands to generate.