Group :: System/Libraries
RPM: libgnomedb
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%set_verify_elf_method unresolved=relaxed
%def_without mono
%def_disable static
%define ver_major 1.9
Name: libgnomedb
Version: %ver_major.103
Release: alt2
Summary: Library for writing gnome database programs
License: LGPL
Group: System/Libraries
Url: http://www.gnome-db.org/
Obsoletes: libgnome-db < %version
Provides: libgnome-db = %version-%release
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch: %name-1.9.103-alt-Makefiles.patch
%if_with mono
BuildPreReq: mono-devel libgtk-sharp2-devel libgda-sharp
%endif
BuildPreReq: libgda-devel >= 1.9.102
BuildPreReq: scrollkeeper
BuildPreReq: libgtk+2-devel >= 2.6.0
BuildPreReq: libgnomeui-devel >= 1.103
BuildPreReq: libglade-devel >= 2.6
BuildPreReq: gtk-doc >= 1.0
#BuildRequires: rpm-utils less
# Automatically added by buildreq on Thu Sep 21 2006
BuildRequires: gcc-c++ gtk-doc libgda-devel libgnomeui-devel libgtksourceview-devel libssl-devel perl-XML-Parser
%description
%name is a library that eases the task of writing gnome database
programs.
%package devel
Summary: Development libraries and header files for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
This package contains the header files and libraries needed to write and
compile programs that use %name.
%package doc
Summary: Documentation for %name
Group: Development/C
%description doc
This package contains the documentation needed to write programs that use %name.
Requires: %name-devel = %version-%release
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains static libraries needed to compile programs
statically linked with %name.
%define _libexecdir %_libdir/%name
%prep
%setup -q
%patch -p1
%build
autoreconf -fisv
%configure --disable-schemas-install
# %{subst_enable static}
%make
%install
%make_install DESTDIR=%buildroot install
%find_lang %name-3
%post
%gconf2_install %name
%files -f %name-3.lang
%_bindir/*
%_libdir/*.so.*
%dir %_libdir/%name
%dir %_libdir/%name/plugins
%dir %_libdir/%name/plugins/*.so*
%_libdir/libglade/*/*.so
%_datadir/applications/*.desktop
%_datadir/%name
%_datadir/mime-info/*
%_datadir/pixmaps/%name/*
#%%_menudir/*
%config %_sysconfdir/gconf/schemas/*
%doc AUTHORS ChangeLog NEWS
%files doc
%doc %_datadir/gtk-doc/html/%name
%doc %_datadir/omf/%name/*
%files devel
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%if_enabled static
%files devel-static
%_libdir/*.a
#%%_libdir/%name/plugins/*.a
%_libdir/bonobo/*/*.a
%_libdir/libglade/*/*.a
%endif
%changelog
…
Full changelog you can see here
%def_without mono
%def_disable static
%define ver_major 1.9
Name: libgnomedb
Version: %ver_major.103
Release: alt2
Summary: Library for writing gnome database programs
License: LGPL
Group: System/Libraries
Url: http://www.gnome-db.org/
Obsoletes: libgnome-db < %version
Provides: libgnome-db = %version-%release
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch: %name-1.9.103-alt-Makefiles.patch
%if_with mono
BuildPreReq: mono-devel libgtk-sharp2-devel libgda-sharp
%endif
BuildPreReq: libgda-devel >= 1.9.102
BuildPreReq: scrollkeeper
BuildPreReq: libgtk+2-devel >= 2.6.0
BuildPreReq: libgnomeui-devel >= 1.103
BuildPreReq: libglade-devel >= 2.6
BuildPreReq: gtk-doc >= 1.0
#BuildRequires: rpm-utils less
# Automatically added by buildreq on Thu Sep 21 2006
BuildRequires: gcc-c++ gtk-doc libgda-devel libgnomeui-devel libgtksourceview-devel libssl-devel perl-XML-Parser
%description
%name is a library that eases the task of writing gnome database
programs.
%package devel
Summary: Development libraries and header files for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
This package contains the header files and libraries needed to write and
compile programs that use %name.
%package doc
Summary: Documentation for %name
Group: Development/C
%description doc
This package contains the documentation needed to write programs that use %name.
Requires: %name-devel = %version-%release
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains static libraries needed to compile programs
statically linked with %name.
%define _libexecdir %_libdir/%name
%prep
%setup -q
%patch -p1
%build
autoreconf -fisv
%configure --disable-schemas-install
# %{subst_enable static}
%make
%install
%make_install DESTDIR=%buildroot install
%find_lang %name-3
%post
%gconf2_install %name
%files -f %name-3.lang
%_bindir/*
%_libdir/*.so.*
%dir %_libdir/%name
%dir %_libdir/%name/plugins
%dir %_libdir/%name/plugins/*.so*
%_libdir/libglade/*/*.so
%_datadir/applications/*.desktop
%_datadir/%name
%_datadir/mime-info/*
%_datadir/pixmaps/%name/*
#%%_menudir/*
%config %_sysconfdir/gconf/schemas/*
%doc AUTHORS ChangeLog NEWS
%files doc
%doc %_datadir/gtk-doc/html/%name
%doc %_datadir/omf/%name/*
%files devel
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%if_enabled static
%files devel-static
%_libdir/*.a
#%%_libdir/%name/plugins/*.a
%_libdir/bonobo/*/*.a
%_libdir/libglade/*/*.a
%endif
%changelog
…
Full changelog you can see here