]> git.pld-linux.org Git - packages/f-spot.git/blobdiff - f-spot.spec
- updaed for 0.1.11
[packages/f-spot.git] / f-spot.spec
index 0e7238fe117740fdadae10a1ced78bf1f8964b5e..6852bae3617c2519163aee7eb330765b77a79f45 100644 (file)
@@ -1,23 +1,35 @@
+%include       /usr/lib/rpm/macros.mono
 Summary:       Personal photo manager
 Summary(pl):   Mened¿er prywatnych galerii fotograficznych
 Name:          f-spot
-Version:       0.0.6
+Version:       0.1.10
 Release:       1
 License:       GPL
 Group:         X11/Applications/Graphics
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.0/%{name}-%{version}.tar.bz2
-# Source0-md5: c392789568f2140bd3e018465ee2acb7
+Source0:       http://ftp.gnome.org/pub/gnome/sources/f-spot/0.1/%{name}-%{version}.tar.bz2
+# Source0-md5: a49b74f2ac28011d12ce9e2fd5fe4831
+Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-exec.patch
 URL:           http://www.gnome.org/projects/f-spot/
 BuildRequires: GConf2-devel
-BuildRequires: dotnet-gtk-sharp-devel >= 1.0
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: dotnet-dbus-sharp-devel
+BuildRequires: dotnet-gtk-sharp2-gnome-devel >= 2.7
+BuildRequires: gettext-devel
 BuildRequires: intltool >= 0.21
-BuildRequires: lcms-devel
-BuildRequires: libexif-devel >= 1:0.5.7
+BuildRequires: lcms-devel >= 1.12
+BuildRequires: libexif-devel >= 1:0.6.12
 BuildRequires: libgnomeui-devel >= 2.4.0
+BuildRequires: libgphoto2-devel >= 2.1.4
 BuildRequires: libjpeg-devel
-BuildRequires: mono-csharp >= 1.0
-BuildRequires: sqlite-devel >= 2.8.6
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: mono-csharp >= 1.1.7
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: sqlite-devel >= 2.8.6
+Requires(post,postun): desktop-file-utils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,8 +42,14 @@ F-Spot jest prywatnym mened
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
+%{__intltoolize}
+%{__aclocal}
+%{__automake}
+%{__autoconf}
 %configure \
        --disable-static
 %{__make}
@@ -42,11 +60,20 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
@@ -54,5 +81,8 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/*.exe
 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
-%{_libdir}/%{name}/lib*.la
+%{_libdir}/%{name}/*.dll
+%{_libdir}/%{name}/*.dll.config
 %{_libdir}/%{name}/*.exe.config
+%{_desktopdir}/*.desktop
+%{_pixmapsdir}/*.png
This page took 0.038622 seconds and 4 git commands to generate.