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