Group :: System/Libraries
RPM: libgnome-vfsmm
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define api_version 2.6
%define glibmm_version 2.6.0
%define gnome_vfs_version 2.10.0
%define pkgname gnome-vfsmm
Name: libgnome-vfsmm
Version: 2.10.0
Release: alt1
Summary: A C++ interface for GNOME VFS library
Packager: Vitaly Lipatov <lav at altlinux.ru>
License: LGPL
Group: System/Libraries
Url: http://gtkmm.sourceforge.net/
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%pkgname/%api_version/%pkgname-%version.tar.bz2
# manually removed: gcc-g77 hostinfo
# Automatically added by buildreq on Thu Nov 04 2004
BuildRequires: ORBit2-devel doxygen gcc-c++ glib2-devel gnome-vfs2-devel libGConf2-devel libbonobo2-devel libglibmm-devel libsigc++2.0-devel libstdc++-devel pkgconfig
BuildRequires: gnome-vfs2-devel >= %gnome_vfs_version
BuildRequires: libglibmm-devel >= %glibmm_version
%description
This package provides a C++ interface for gnome-vfs (the GNOME
Virtual File System), which provides an abstraction to common file
system operations like reading, writing and copying files, listing
directories and so on. It is a subpackage of the gnomemm project,
which provides a C++ interface for GNOME libraries.
%package -n %name-devel
Summary: Headers and development files of GNOME VFS C++ wrapper
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: gnome-vfs2-devel >= %gnome_vfs_version
Requires: libglibmm-devel >= %glibmm_version
%description -n %name-devel
This package contains the headers and various development files needed,
when compiling or developing programs which want C++ wrapper of GNOME
VFS library.
%package doc
Summary: Documentation of %pkgname library
Group: Books/Other
%description doc
This package provides API documentation of %pkgname library.
%prep
%setup -q -n %pkgname-%version
%build
%configure --disable-static
%make
### Build doc
pushd docs/reference
perl -pi -e 's/^(HAVE_DOT.*=) YES/$1 NO/' Doxyfile
make all
popd
%install
%makeinstall
%post -n %name
%post_ldconfig
%postun -n %name
%postun_ldconfig
%files -n %name
%_libdir/*.so.*
%files -n %name-devel
%doc AUTHORS ChangeLog NEWS README
%_includedir/*
%_libdir/%pkgname-%api_version
%_libdir/pkgconfig/*.pc
%_libdir/*.so
%files doc
%doc docs/reference/html
%changelog
…
Full changelog you can see here
%define glibmm_version 2.6.0
%define gnome_vfs_version 2.10.0
%define pkgname gnome-vfsmm
Name: libgnome-vfsmm
Version: 2.10.0
Release: alt1
Summary: A C++ interface for GNOME VFS library
Packager: Vitaly Lipatov <lav at altlinux.ru>
License: LGPL
Group: System/Libraries
Url: http://gtkmm.sourceforge.net/
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%pkgname/%api_version/%pkgname-%version.tar.bz2
# manually removed: gcc-g77 hostinfo
# Automatically added by buildreq on Thu Nov 04 2004
BuildRequires: ORBit2-devel doxygen gcc-c++ glib2-devel gnome-vfs2-devel libGConf2-devel libbonobo2-devel libglibmm-devel libsigc++2.0-devel libstdc++-devel pkgconfig
BuildRequires: gnome-vfs2-devel >= %gnome_vfs_version
BuildRequires: libglibmm-devel >= %glibmm_version
%description
This package provides a C++ interface for gnome-vfs (the GNOME
Virtual File System), which provides an abstraction to common file
system operations like reading, writing and copying files, listing
directories and so on. It is a subpackage of the gnomemm project,
which provides a C++ interface for GNOME libraries.
%package -n %name-devel
Summary: Headers and development files of GNOME VFS C++ wrapper
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: gnome-vfs2-devel >= %gnome_vfs_version
Requires: libglibmm-devel >= %glibmm_version
%description -n %name-devel
This package contains the headers and various development files needed,
when compiling or developing programs which want C++ wrapper of GNOME
VFS library.
%package doc
Summary: Documentation of %pkgname library
Group: Books/Other
%description doc
This package provides API documentation of %pkgname library.
%prep
%setup -q -n %pkgname-%version
%build
%configure --disable-static
%make
### Build doc
pushd docs/reference
perl -pi -e 's/^(HAVE_DOT.*=) YES/$1 NO/' Doxyfile
make all
popd
%install
%makeinstall
%post -n %name
%post_ldconfig
%postun -n %name
%postun_ldconfig
%files -n %name
%_libdir/*.so.*
%files -n %name-devel
%doc AUTHORS ChangeLog NEWS README
%_includedir/*
%_libdir/%pkgname-%api_version
%_libdir/pkgconfig/*.pc
%_libdir/*.so
%files doc
%doc docs/reference/html
%changelog
…
Full changelog you can see here