Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
libgnomedb
libgnomedb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgnomedb.spec of Package libgnomedb
# # spec file for package libgnomedb (Version 3.99.7) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libgnomedb BuildRequires: evolution-data-server-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gconf2-devel # glade3 is required for directory ownership BuildRequires: glade3 BuildRequires: glib2-devel BuildRequires: gnome-common BuildRequires: goocanvas-devel BuildRequires: graphviz-devel BuildRequires: gtk2-devel BuildRequires: gtk-doc BuildRequires: gtksourceview-devel BuildRequires: intltool BuildRequires: iso-codes-devel BuildRequires: libgcrypt-devel BuildRequires: libgda-4_0-devel BuildRequires: libglade2-devel BuildRequires: libgladeui-1_0-devel BuildRequires: libgnomeui-devel BuildRequires: scrollkeeper BuildRequires: sgml-skel BuildRequires: shared-mime-info BuildRequires: update-desktop-files License: GPL v2 or later ; LGPL v2.0 or later Group: System/GUI/GNOME Version: 3.99.7 Release: 4 Summary: Library for Writing GNOME Database Programs BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.gnome-db.org/ Source: ftp://ftp.gnome.org/pub/gnome/sources/libgnomedb/3.99/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM libgnomedb-fix-build-svn.patch vuntz@novell.com -- Fix build with latest gda, taken from svn Patch0: libgnomedb-fix-build-svn.patch.bz2 # PATCH-FIX-UPSTREAM libgnomedb-decl.patch bgo579287 Patch1: libgnomedb-decl.patch # PATCH-FIX-UPSTREAM libgnomedb-build-fix.patch bgo579287 vuntz@novell.com Patch2: libgnomedb-build-fix.patch Requires: %{name}-lang = %{version} %gconf_schemas_prereq %description Libgnomedb is a library that eases the task of writing GNOME database programs. Authors: -------- Rodrigo Moya <rodrigo@gnome-db.org> Vivien Malerba <malerba@gnome-db.org> Daniel Espinosa <esodan@gmail.com> %package -n glade3-libgnomedb License: GPL v2 or later ; LGPL v2.0 or later Summary: Glade3 binding for Library for Writing GNOME Database Programs Group: System/GUI/GNOME # Supplements shared library libgladeui with version package it is compiled with: Requires: glade3 Supplements: glade3 %description -n glade3-libgnomedb Libgnomedb is a library that eases the task of writing GNOME database programs. Authors: -------- Rodrigo Moya <rodrigo@gnome-db.org> Vivien Malerba <malerba@gnome-db.org> Daniel Espinosa <esodan@gmail.com> %package devel License: GPL v2 or later ; LGPL v2.0 or later Summary: Include Files and Libraries mandatory for Development. Group: Development/Libraries/C and C++ Requires: %{name} = %{version} glib2-devel goocanvas-devel graphviz-devel gtk2-devel iso-codes-devel libgda-4_0-devel libglade2-devel %description devel This package contains all necessary include files and libraries needed to develop applications that require these. Authors: -------- Rodrigo Moya <rodrigo@gnome-db.org> Vivien Malerba <malerba@gnome-db.org> Daniel Espinosa <esodan@gmail.com> %package doc License: GPL v2 or later ; LGPL v2.0 or later Summary: Additional Package Documentation. Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description doc Libgnomedb is a library that eases the task of writing GNOME database programs. Authors: -------- Rodrigo Moya <rodrigo@gnome-db.org> Vivien Malerba <malerba@gnome-db.org> Daniel Espinosa <esodan@gmail.com> %lang_package %prep %setup -q %patch0 %patch1 %patch2 -p1 %build autoreconf -f -i CFLAGS="$RPM_OPT_FLAGS -Werror=implicit-function-declaration" %configure --with-pic \ --enable-gtk-doc \ --disable-schemas-install \ --disable-scrollkeeper \ --disable-static %{__make} %{?jobs:-j%jobs} %install %makeinstall # glade3 seems to have a new directory layout: %{__mv} $RPM_BUILD_ROOT/%{_datadir}/glade3/pixmaps/hicolor/16x16/actions $RPM_BUILD_ROOT/%{_datadir}/glade3/pixmaps/16x16 %{__mv} $RPM_BUILD_ROOT/%{_datadir}/glade3/pixmaps/hicolor/22x22/actions $RPM_BUILD_ROOT/%{_datadir}/glade3/pixmaps/22x22 %{__rm} -rf $RPM_BUILD_ROOT/%{_datadir}/glade3/pixmaps/hicolor %suse_update_desktop_file -G "GNOME Database Access Properties" database-properties-4.0 # Change sr@Latn to sr@latin mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin %find_lang %{name}-4.0 %find_gconf_schemas find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + %fdupes $RPM_BUILD_ROOT %clean %{__rm} -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %post -p /sbin/ldconfig %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %postun -p /sbin/ldconfig %files -f %{name}.schemas_list %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/gnome-db-4.0 %{_datadir}/pixmaps/gnome-db-4.0 %{_datadir}/pixmaps/gnome-db-4.0.png %{_libdir}/gnome-db-4.0 %{_libdir}/*.so.* %{_libdir}/libglade/2.0/*.so %exclude %{_datadir}/gnome-db-4.0/demo %files lang -f %{name}-4.0.lang %files -n glade3-libgnomedb %defattr(-, root, root) %{_datadir}/glade3/catalogs/*.xml* %{_datadir}/glade3/pixmaps/16x16/*.png %{_libdir}/glade3/modules/*.so %files devel %defattr(-, root, root) %{_datadir}/gnome-db-4.0/demo %{_datadir}/omf/* %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files doc %defattr(-, root, root) %{_datadir}/gtk-doc/html/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor