[521] | 1 | %define gnome_vfs_version 2.15.3 |
---|
| 2 | %define libbonobo_version 2.18.0 |
---|
| 3 | %define gconf_version 2.18.0 |
---|
| 4 | %define glib_version 2.12.0 |
---|
| 5 | %define orbit_version 2.14.0 |
---|
| 6 | |
---|
| 7 | Summary: Monikers for the GNOME virtual file-system |
---|
| 8 | Name: gnome-vfs2-monikers |
---|
| 9 | Version: 2.15.3 |
---|
[3735] | 10 | Release: 1%{?_dist_release} |
---|
[521] | 11 | License: LGPL |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-vfs-monikers/2.15/gnome-vfs-monikers-%{version}.tar.bz2 |
---|
| 14 | URL: http://www.gnome.org/ |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 16 | Requires: gnome-vfs2 >= %{gnome_vfs_version} |
---|
| 17 | BuildRequires: gnome-vfs2-devel >= %{gnome_vfs_version} |
---|
| 18 | BuildRequires: libbonobo-devel >= %{libbonobo_version} |
---|
| 19 | BuildRequires: bonobo-activation-devel |
---|
| 20 | BuildRequires: GConf2-devel >= %{gconf_version} |
---|
| 21 | BuildRequires: glib2-devel >= %{glib_version} |
---|
| 22 | BuildRequires: ORBit2-devel >= %{orbit_version} |
---|
| 23 | BuildRequires: perl(XML::Parser) |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | GNOME VFS is the GNOME virtual file system. |
---|
| 27 | Programs using bonobo can use the monikers provided |
---|
| 28 | in this package to access gnome-vfs. |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q -n gnome-vfs-monikers-%{version} |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %configure |
---|
| 35 | make |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -fr $RPM_BUILD_ROOT |
---|
| 39 | |
---|
| 40 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 41 | |
---|
| 42 | rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.{a,la} |
---|
| 43 | |
---|
| 44 | for serverfile in $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/*.server; do |
---|
| 45 | sed -i -e 's|location *= *"/usr/lib\(64\)*/|location="/usr/$LIB/|' $serverfile |
---|
| 46 | done |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -fr %{buildroot} |
---|
| 50 | |
---|
| 51 | %post -p /sbin/ldconfig |
---|
| 52 | |
---|
| 53 | %postun -p /sbin/ldconfig |
---|
| 54 | |
---|
| 55 | %files |
---|
| 56 | %defattr(-, root, root) |
---|
| 57 | %doc AUTHORS COPYING ChangeLog NEWS |
---|
| 58 | |
---|
| 59 | %{_libdir}/bonobo |
---|
| 60 | |
---|
| 61 | %changelog |
---|
[3735] | 62 | * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.15.3-1 |
---|
| 63 | - rebuild with rpm-4.8.1 |
---|
| 64 | |
---|
[521] | 65 | * Mon Apr 30 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.3-0vl1 |
---|
| 66 | - initial build for Vine Linux |
---|
| 67 | |
---|
| 68 | * Tue Apr 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.15.3-3 |
---|
| 69 | - Improve description (#219057) |
---|
| 70 | |
---|
| 71 | * Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.3-2 |
---|
| 72 | - Incorporate package review feedback |
---|
| 73 | |
---|
| 74 | * Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.3-1 |
---|
| 75 | - Initial package |
---|