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.14.0
%define gnome_vfs_version 2.10.0
%define pkgname gnome-vfsmm
%define major 2.24
Name: libgnome-vfsmm
Version: %major.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/%major/%pkgname-%version.tar.bz2
# Automatically added by buildreq on Sun Jan 13 2008
BuildRequires: gcc-c++ gnome-vfs-devel libglibmm-devel
BuildPreReq: doxygen
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 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 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
cd docs/reference && %make
%install
%makeinstall_std
%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/%pkgname-%api_version/
%_libdir/%pkgname-%api_version/
%_pkgconfigdir/*.pc
%_libdir/*.so
%files doc
%doc docs/reference/html/
%changelog
…
Full changelog you can see here
%define glibmm_version 2.14.0
%define gnome_vfs_version 2.10.0
%define pkgname gnome-vfsmm
%define major 2.24
Name: libgnome-vfsmm
Version: %major.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/%major/%pkgname-%version.tar.bz2
# Automatically added by buildreq on Sun Jan 13 2008
BuildRequires: gcc-c++ gnome-vfs-devel libglibmm-devel
BuildPreReq: doxygen
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 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 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
cd docs/reference && %make
%install
%makeinstall_std
%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/%pkgname-%api_version/
%_libdir/%pkgname-%api_version/
%_pkgconfigdir/*.pc
%_libdir/*.so
%files doc
%doc docs/reference/html/
%changelog
…
Full changelog you can see here