]> 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 b03d664b0d49ea2c578fbb1df290f1b1048f1a82..6852bae3617c2519163aee7eb330765b77a79f45 100644 (file)
@@ -1,20 +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.1
+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: 5fa94700b0c071eb0afd8336526dd4a1
+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: gtk-sharp-devel >= 0.17
-BuildRequires: libexif-devel >= 0.5.7
+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 >= 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 >= 0.28
+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
@@ -27,9 +42,16 @@ F-Spot jest prywatnym mened
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-%configure
+%{__intltoolize}
+%{__aclocal}
+%{__automake}
+%{__autoconf}
+%configure \
+       --disable-static
 %{__make}
 
 %install
@@ -38,14 +60,29 @@ 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
 
-%files
+%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
 %attr(755,root,root) %{_bindir}/*
 %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.069342 seconds and 4 git commands to generate.