automatic version update by autodist [release 6.0.0-1mamba;Mon Feb 15 2021]
This commit is contained in:
parent
762925f49b
commit
62c7fbbfef
244
libgda.spec
244
libgda.spec
@ -4,14 +4,14 @@
|
|||||||
%define majversion %(echo %version | cut -d. -f 1-2)
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||||||
|
|
||||||
Name: libgda
|
Name: libgda
|
||||||
Version: 5.2.9
|
Version: 6.0.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A library implementing a free unified data access architecture
|
Summary: A library implementing a free unified data access architecture
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.gnome-db.org/
|
URL: https://www.gnome-db.org/
|
||||||
Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{majversion}/%{pkgname}-%{version}.tar.xz
|
Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{majversion}/%{pkgname}-%{version}.tar.xz
|
||||||
Patch0: libgda4-3.99.8-java_check.patch
|
Patch0: libgda4-3.99.8-java_check.patch
|
||||||
Patch1: libgda-5.0.4-graphviz-2.30.patch
|
Patch1: libgda-5.0.4-graphviz-2.30.patch
|
||||||
@ -92,17 +92,17 @@ A library implementing a free unified data access architecture.
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Devel package for libgda
|
Summary: Devel package for libgda
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: %{name}-bdb = %{?epoch:%epoch:}%{version}-%{release}
|
#Requires: %{name}-bdb = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: %{name}-mysql = %{?epoch:%epoch:}%{version}-%{release}
|
#Requires: %{name}-mysql = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: %{name}-postgresql = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name}-postgresql = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: %{name}-sqlite = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name}-sqlite = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: %{name}-mdb = %{?epoch:%epoch:}%{version}-%{release}
|
#Requires: %{name}-mdb = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Provides: libgda2-devel
|
Provides: libgda2-devel
|
||||||
Obsoletes: libgda2-devel
|
Obsoletes: libgda2-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
A library implementing a free unified data access architecture.
|
A library implementing a free unified data access architecture.
|
||||||
This package contains static libraries and header files need for development.
|
This package contains static libraries and header files needed for development.
|
||||||
|
|
||||||
%package -n gda
|
%package -n gda
|
||||||
Group: Graphical Desktop/Applications/Databases
|
Group: Graphical Desktop/Applications/Databases
|
||||||
@ -224,48 +224,36 @@ Obsoletes: libgda2-apidocs
|
|||||||
# Sybase = no
|
# Sybase = no
|
||||||
# xBase (dBase, Clipper, FoxPro) = no
|
# xBase (dBase, Clipper, FoxPro) = no
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libgda-%{version}
|
%setup -q -n libgda-%{version}
|
||||||
|
|
||||||
#%patch0 -p1
|
#%ifarch %{ix86}
|
||||||
#%patch1 -p1
|
#sed -i "s|lib/amd64|lib/i386|" getsp.java
|
||||||
#%patch2 -p1
|
#%endif
|
||||||
#/usr/lib/jvm/jdk/bin/javac getsp.java
|
#%ifarch arm
|
||||||
|
#sed -i "s|lib/amd64|lib/arm|" getsp.java
|
||||||
%ifarch %{ix86}
|
#%endif
|
||||||
sed -i "s|lib/amd64|lib/i386|" getsp.java
|
#
|
||||||
%endif
|
#rm -f getsp.class
|
||||||
%ifarch arm
|
#%{_jvmdir}/jdk/bin/javac getsp.java
|
||||||
sed -i "s|lib/amd64|lib/arm|" getsp.java
|
|
||||||
%endif
|
|
||||||
|
|
||||||
rm -f getsp.class
|
|
||||||
%{_jvmdir}/jdk/bin/javac getsp.java
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1"
|
CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1"
|
||||||
%configure \
|
%meson \
|
||||||
--enable-shared \
|
-Ddoc=true \
|
||||||
--disable-static \
|
-Dldap=true \
|
||||||
--enable-gtk-doc \
|
-Dflatpak=true \
|
||||||
--enable-csharp \
|
-Dgraphviz=true \
|
||||||
--disable-debug \
|
-Dgoocanvas=true \
|
||||||
--with-firebird \
|
-Dgtksourceview=true
|
||||||
--with-mysql \
|
|
||||||
--with-postgres \
|
|
||||||
--with-odbc=%{_prefix} \
|
|
||||||
--with-ldap \
|
|
||||||
--with-bdb \
|
|
||||||
--with-java \
|
|
||||||
GRAPHVIZ_LIBS="`pkg-config --libs libcgraph libgvc`"
|
|
||||||
|
|
||||||
# --disable-introspection \
|
%meson_build
|
||||||
|
|
||||||
%make -j1
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
%makeinstall
|
%meson_install
|
||||||
|
|
||||||
%find_lang libgda-%{apiver}
|
%find_lang libgda-%{apiver}
|
||||||
|
|
||||||
@ -277,77 +265,71 @@ CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1"
|
|||||||
|
|
||||||
%files -n gda
|
%files -n gda
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/gda-*
|
#%{_bindir}/gda-*
|
||||||
%{_libdir}/libgda-ui-%{apiver}.so.*
|
#%{_libdir}/libgda-ui-%{apiver}.so.*
|
||||||
%{_libdir}/libgda-%{apiver}/plugins
|
#%{_libdir}/libgda-%{apiver}/plugins
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-sqlcipher.so
|
#%{_libdir}/libgda-%{apiver}/providers/libgda-sqlcipher.so
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-web.so
|
#%{_libdir}/libgda-%{apiver}/providers/libgda-web.so
|
||||||
%{_datadir}/appdata/gda-browser-%{apiver}.appdata.xml
|
#%{_datadir}/appdata/gda-browser-%{apiver}.appdata.xml
|
||||||
%{_datadir}/applications/gda-browser-%{apiver}.desktop
|
#%{_datadir}/applications/gda-browser-%{apiver}.desktop
|
||||||
%{_datadir}/applications/gda-control-center-%{apiver}.desktop
|
#%{_datadir}/applications/gda-control-center-%{apiver}.desktop
|
||||||
%{_datadir}/pixmaps/gda-browser-%{apiver}.png
|
#%{_datadir}/pixmaps/gda-browser-%{apiver}.png
|
||||||
%{_datadir}/icons/hicolor/*/apps/gda-control-center.png
|
#%{_datadir}/icons/hicolor/*/apps/gda-control-center.png
|
||||||
%{_datadir}/libgda-%{apiver}/gda_trml2html/*.py
|
#%{_datadir}/libgda-%{apiver}/gda_trml2html/*.py
|
||||||
%{_datadir}/libgda-%{apiver}/gda_trml2pdf/*.py
|
#%{_datadir}/libgda-%{apiver}/gda_trml2pdf/*.py
|
||||||
%{_datadir}/libgda-%{apiver}/icons/hicolor/
|
#%{_datadir}/libgda-%{apiver}/icons/hicolor/
|
||||||
%{_datadir}/libgda-%{apiver}/php
|
#%{_datadir}/libgda-%{apiver}/php
|
||||||
%{_datadir}/libgda-%{apiver}/pixmaps
|
#%{_datadir}/libgda-%{apiver}/pixmaps
|
||||||
%{_datadir}/libgda-%{apiver}/ui
|
#%{_datadir}/libgda-%{apiver}/ui
|
||||||
%{_datadir}/libgda-%{apiver}/web_specs_auth.xml
|
#%{_datadir}/libgda-%{apiver}/web_specs_auth.xml
|
||||||
%{_datadir}/libgda-%{apiver}/web_specs_dsn.xml
|
#%{_datadir}/libgda-%{apiver}/web_specs_dsn.xml
|
||||||
|
|
||||||
%files -f libgda-%{apiver}.lang
|
%files -f libgda-%{apiver}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/libgda-%{apiver}/config
|
|
||||||
%{_sysconfdir}/libgda-%{apiver}/sales_test.db
|
|
||||||
%{_libdir}/libgda-%{apiver}.so.*
|
%{_libdir}/libgda-%{apiver}.so.*
|
||||||
%{_libdir}/libgda-report-%{apiver}.so.*
|
%{_libdir}/girepository-1.0/Gda-%{apiver}.typelib
|
||||||
%{_libdir}/libgda-xslt-%{apiver}.so.*
|
%{_libdir}/libgda-6.0/providers/libgda-sqlcipher-%{apiver}.so
|
||||||
#%{_libdir}/libgda_handlers-%{apiver}.so.*
|
#%{_libdir}/libgda-report-%{apiver}.so.*
|
||||||
#%{_libdir}/libgda_sql_delimiter-%{apiver}.so.*
|
#%{_libdir}/libgda-xslt-%{apiver}.so.*
|
||||||
#%{_libdir}/libgda_sql_transaction-%{apiver}.so.*
|
#%{_datadir}/libgda-%{apiver}/import_encodings.xml
|
||||||
#%{_libdir}/libgdasql-%{apiver}.so.*
|
#%{_datadir}/libgda-%{apiver}/language-specs/gda-sql.lang
|
||||||
%{_datadir}/libgda-%{apiver}/import_encodings.xml
|
#%{_datadir}/libgda-%{apiver}/server_operation.glade
|
||||||
%{_datadir}/libgda-%{apiver}/language-specs/gda-sql.lang
|
#%{_datadir}/libgda-%{apiver}/sqlcipher_specs_*.xml
|
||||||
%{_datadir}/libgda-%{apiver}/server_operation.glade
|
|
||||||
%{_datadir}/libgda-%{apiver}/sqlcipher_specs_*.xml
|
|
||||||
#%{_datadir}/libgda-%{apiver}/xml/*.dtd
|
#%{_datadir}/libgda-%{apiver}/xml/*.dtd
|
||||||
#%{_datadir}/libgda-%{apiver}/xml/*.xsl
|
#%{_datadir}/libgda-%{apiver}/xml/*.xsl
|
||||||
%{_datadir}/libgda-%{apiver}/information_schema.xml
|
#%{_datadir}/libgda-%{apiver}/information_schema.xml
|
||||||
%{_datadir}/libgda-%{apiver}/dtd/*.dtd
|
#%{_datadir}/libgda-%{apiver}/dtd/*.dtd
|
||||||
%{_datadir}/libgda-%{apiver}/web/*
|
#%{_datadir}/libgda-%{apiver}/web/*
|
||||||
%{_libdir}/girepository-1.0/Gda-*.typelib
|
#%{_libdir}/girepository-1.0/Gda-*.typelib
|
||||||
%{_libdir}/girepository-1.0/Gdaui-*.typelib
|
#%{_libdir}/girepository-1.0/Gdaui-*.typelib
|
||||||
%{_mandir}/man1/*
|
#%{_mandir}/man1/*
|
||||||
#%{_mandir}/man5/*
|
|
||||||
|
|
||||||
%files bdb
|
#%files bdb
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/libgda-%{apiver}/bdb_*.xml
|
#%{_datadir}/libgda-%{apiver}/bdb_*.xml
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-bdb.so
|
#%{_libdir}/libgda-%{apiver}/providers/libgda-bdb.so
|
||||||
|
|
||||||
%ifarch %{ix86}
|
#%ifarch %{ix86}
|
||||||
%files firebird
|
#%files firebird
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/libgda-%{apiver}/firebird_*.xml
|
#%{_datadir}/libgda-%{apiver}/firebird_*.xml
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-firebird*.so
|
#%{_libdir}/libgda-%{apiver}/providers/libgda-firebird*.so
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
%files ldap
|
#%files ldap
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/libgda-%{apiver}/ldap_*.xml
|
#%{_datadir}/libgda-%{apiver}/ldap_*.xml
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-ldap.so
|
#%{_libdir}/libgda-%{apiver}/providers/libgda-ldap.so
|
||||||
|
|
||||||
%files mdb
|
#%files mdb
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/libgda-%{apiver}/mdb_*.xml
|
#%{_datadir}/libgda-%{apiver}/mdb_*.xml
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-mdb.so
|
#%{_libdir}/libgda-%{apiver}/providers/libgda-mdb.so
|
||||||
|
|
||||||
%files mysql
|
#%files mysql
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_datadir}/libgda-%{apiver}/mysql_*.xml
|
#%{_datadir}/libgda-%{apiver}/mysql_*.xml
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-mysql.so
|
#%{_libdir}/libgda-%{apiver}/providers/libgda-mysql.so
|
||||||
#%{_datadir}/gnome/help/gda-sql/C/gda-sql-help.xml
|
|
||||||
|
|
||||||
#%files jdbc
|
#%files jdbc
|
||||||
#%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
@ -362,53 +344,65 @@ CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1"
|
|||||||
|
|
||||||
%files postgresql
|
%files postgresql
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/libgda-%{apiver}/postgres_*.xml
|
#%{_datadir}/libgda-%{apiver}/postgres_*.xml
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-postgres.so
|
%{_libdir}/libgda-%{apiver}/providers/libgda-postgres-%{apiver}.so
|
||||||
|
|
||||||
%files sqlite
|
%files sqlite
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/libgda-%{apiver}/sqlite_*.xml
|
#%{_datadir}/libgda-%{apiver}/sqlite_*.xml
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-sqlite.so
|
%{_libdir}/libgda-%{apiver}/providers/libgda-sqlite-%{apiver}.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/gdaui-demo-%{apiver}
|
%{_bindir}/org.gnome.gda.Test
|
||||||
%dir %{_includedir}/libgda-%{apiver}
|
%dir %{_includedir}/libgda-%{apiver}
|
||||||
%dir %{_includedir}/libgda-%{apiver}/libgda/
|
%dir %{_includedir}/libgda-%{apiver}/libgda/
|
||||||
%{_includedir}/libgda-%{apiver}/libgda/*
|
%{_includedir}/libgda-%{apiver}/libgda/*
|
||||||
%{_includedir}/libgda-%{apiver}/libgda-ui/
|
%{_includedir}/libgda-%{apiver}/providers/sqlcipher/gda-sqlcipher-provider.h
|
||||||
%{_includedir}/libgda-%{apiver}/libgda-xslt/
|
#%{_includedir}/libgda-%{apiver}/libgda-ui/
|
||||||
%{_includedir}/libgda-%{apiver}/libgda-report/
|
#%{_includedir}/libgda-%{apiver}/libgda-xslt/
|
||||||
|
#%{_includedir}/libgda-%{apiver}/libgda-report/
|
||||||
#%{_includedir}/libgda-%{apiver}/providers-support/
|
#%{_includedir}/libgda-%{apiver}/providers-support/
|
||||||
#%{_includedir}/libgda-%{apiver}/sql-parser/
|
#%{_includedir}/libgda-%{apiver}/sql-parser/
|
||||||
#%{_includedir}/libgda-%{apiver}/virtual/
|
#%{_includedir}/libgda-%{apiver}/virtual/
|
||||||
%{_libdir}/*.la
|
#%{_libdir}/*.la
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/libgda-%{apiver}/providers/libgda-*.la
|
#%{_libdir}/libgda-%{apiver}/providers/libgda-*.la
|
||||||
%{_datadir}/libgda-%{apiver}/demo
|
#%{_datadir}/libgda-%{apiver}/demo
|
||||||
%{_datadir}/glade/catalogs/gdaui-catalog.xml
|
#%{_datadir}/glade/catalogs/gdaui-catalog.xml
|
||||||
%{_datadir}/glade/pixmaps/widget-*.png
|
#%{_datadir}/glade/pixmaps/widget-*.png
|
||||||
|
%dir %{_datadir}/libgda-%{apiver}/dtd
|
||||||
|
%{_datadir}/libgda-%{apiver}/dtd/*.dtd
|
||||||
|
%{_datadir}/libgda-%{apiver}/information_schema.xml
|
||||||
%{_datadir}/gir-1.0/Gda-*.gir
|
%{_datadir}/gir-1.0/Gda-*.gir
|
||||||
%{_datadir}/gir-1.0/Gdaui-*.gir
|
%{_datadir}/vala/vapi/libgda-*.deps
|
||||||
|
%{_datadir}/vala/vapi/libgda-*.vapi
|
||||||
%{_libdir}/pkgconfig/libgda*-%{apiver}.pc
|
%{_libdir}/pkgconfig/libgda*-%{apiver}.pc
|
||||||
|
|
||||||
%files apidocs
|
%files apidocs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/gtk-doc/html/%{pkgname}-%{apiver}/
|
%dir %{_datadir}/gtk-doc/html/%{pkgname}-%{apiver}
|
||||||
%dir %{_datadir}/help/C/gda-browser
|
%{_datadir}/gtk-doc/html/%{pkgname}-%{apiver}/*
|
||||||
%{_datadir}/help/C/gda-browser
|
%dir %{_datadir}/devhelp/books/Gda-%{apiver}
|
||||||
%lang(cs) %{_datadir}/help/cs/gda-browser
|
%{_datadir}/devhelp/books/Gda-%{apiver}/*
|
||||||
%lang(de) %{_datadir}/help/de/gda-browser
|
|
||||||
%lang(el) %{_datadir}/help/el/gda-browser
|
#%dir %{_datadir}/help/C/gda-browser
|
||||||
%lang(es) %{_datadir}/help/es/gda-browser
|
#%{_datadir}/help/C/gda-browser
|
||||||
%lang(gl) %{_datadir}/help/gl/gda-browser
|
#%lang(cs) %{_datadir}/help/cs/gda-browser
|
||||||
%lang(id) %{_datadir}/help/id/gda-browser
|
#%lang(de) %{_datadir}/help/de/gda-browser
|
||||||
%lang(pt_BR) %{_datadir}/help/pt_BR/gda-browser
|
#%lang(el) %{_datadir}/help/el/gda-browser
|
||||||
%lang(sl) %{_datadir}/help/sl/gda-browser
|
#%lang(es) %{_datadir}/help/es/gda-browser
|
||||||
%lang(zh_CN) %{_datadir}/help/zh_CN/gda-browser
|
#%lang(gl) %{_datadir}/help/gl/gda-browser
|
||||||
%{_datadir}/gtk-doc/html/gda-browser
|
#%lang(id) %{_datadir}/help/id/gda-browser
|
||||||
|
#%lang(pt_BR) %{_datadir}/help/pt_BR/gda-browser
|
||||||
|
#%lang(sl) %{_datadir}/help/sl/gda-browser
|
||||||
|
#%lang(zh_CN) %{_datadir}/help/zh_CN/gda-browser
|
||||||
|
#%{_datadir}/gtk-doc/html/gda-browser
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 15 2021 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Fri May 10 2019 Automatic Build System <autodist@mambasoft.it> 5.2.9-1mamba
|
* Fri May 10 2019 Automatic Build System <autodist@mambasoft.it> 5.2.9-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user