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)
|
||||
|
||||
Name: libgda
|
||||
Version: 5.2.9
|
||||
Version: 6.0.0
|
||||
Release: 1mamba
|
||||
Summary: A library implementing a free unified data access architecture
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
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
|
||||
Patch0: libgda4-3.99.8-java_check.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
|
||||
Summary: Devel package for libgda
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name}-bdb = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name}-mysql = %{?epoch:%epoch:}%{version}-%{release}
|
||||
#Requires: %{name}-bdb = %{?epoch:%epoch:}%{version}-%{release}
|
||||
#Requires: %{name}-mysql = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name}-postgresql = %{?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
|
||||
Obsoletes: libgda2-devel
|
||||
|
||||
%description devel
|
||||
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
|
||||
Group: Graphical Desktop/Applications/Databases
|
||||
@ -224,48 +224,36 @@ Obsoletes: libgda2-apidocs
|
||||
# Sybase = no
|
||||
# xBase (dBase, Clipper, FoxPro) = no
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n libgda-%{version}
|
||||
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
#%patch2 -p1
|
||||
#/usr/lib/jvm/jdk/bin/javac getsp.java
|
||||
|
||||
%ifarch %{ix86}
|
||||
sed -i "s|lib/amd64|lib/i386|" getsp.java
|
||||
%endif
|
||||
%ifarch arm
|
||||
sed -i "s|lib/amd64|lib/arm|" getsp.java
|
||||
%endif
|
||||
|
||||
rm -f getsp.class
|
||||
%{_jvmdir}/jdk/bin/javac getsp.java
|
||||
#%ifarch %{ix86}
|
||||
#sed -i "s|lib/amd64|lib/i386|" getsp.java
|
||||
#%endif
|
||||
#%ifarch arm
|
||||
#sed -i "s|lib/amd64|lib/arm|" getsp.java
|
||||
#%endif
|
||||
#
|
||||
#rm -f getsp.class
|
||||
#%{_jvmdir}/jdk/bin/javac getsp.java
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1"
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-gtk-doc \
|
||||
--enable-csharp \
|
||||
--disable-debug \
|
||||
--with-firebird \
|
||||
--with-mysql \
|
||||
--with-postgres \
|
||||
--with-odbc=%{_prefix} \
|
||||
--with-ldap \
|
||||
--with-bdb \
|
||||
--with-java \
|
||||
GRAPHVIZ_LIBS="`pkg-config --libs libcgraph libgvc`"
|
||||
%meson \
|
||||
-Ddoc=true \
|
||||
-Dldap=true \
|
||||
-Dflatpak=true \
|
||||
-Dgraphviz=true \
|
||||
-Dgoocanvas=true \
|
||||
-Dgtksourceview=true
|
||||
|
||||
# --disable-introspection \
|
||||
|
||||
%make -j1
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
%meson_install
|
||||
|
||||
%find_lang libgda-%{apiver}
|
||||
|
||||
@ -277,77 +265,71 @@ CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1"
|
||||
|
||||
%files -n gda
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gda-*
|
||||
%{_libdir}/libgda-ui-%{apiver}.so.*
|
||||
%{_libdir}/libgda-%{apiver}/plugins
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-sqlcipher.so
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-web.so
|
||||
%{_datadir}/appdata/gda-browser-%{apiver}.appdata.xml
|
||||
%{_datadir}/applications/gda-browser-%{apiver}.desktop
|
||||
%{_datadir}/applications/gda-control-center-%{apiver}.desktop
|
||||
%{_datadir}/pixmaps/gda-browser-%{apiver}.png
|
||||
%{_datadir}/icons/hicolor/*/apps/gda-control-center.png
|
||||
%{_datadir}/libgda-%{apiver}/gda_trml2html/*.py
|
||||
%{_datadir}/libgda-%{apiver}/gda_trml2pdf/*.py
|
||||
%{_datadir}/libgda-%{apiver}/icons/hicolor/
|
||||
%{_datadir}/libgda-%{apiver}/php
|
||||
%{_datadir}/libgda-%{apiver}/pixmaps
|
||||
%{_datadir}/libgda-%{apiver}/ui
|
||||
%{_datadir}/libgda-%{apiver}/web_specs_auth.xml
|
||||
%{_datadir}/libgda-%{apiver}/web_specs_dsn.xml
|
||||
#%{_bindir}/gda-*
|
||||
#%{_libdir}/libgda-ui-%{apiver}.so.*
|
||||
#%{_libdir}/libgda-%{apiver}/plugins
|
||||
#%{_libdir}/libgda-%{apiver}/providers/libgda-sqlcipher.so
|
||||
#%{_libdir}/libgda-%{apiver}/providers/libgda-web.so
|
||||
#%{_datadir}/appdata/gda-browser-%{apiver}.appdata.xml
|
||||
#%{_datadir}/applications/gda-browser-%{apiver}.desktop
|
||||
#%{_datadir}/applications/gda-control-center-%{apiver}.desktop
|
||||
#%{_datadir}/pixmaps/gda-browser-%{apiver}.png
|
||||
#%{_datadir}/icons/hicolor/*/apps/gda-control-center.png
|
||||
#%{_datadir}/libgda-%{apiver}/gda_trml2html/*.py
|
||||
#%{_datadir}/libgda-%{apiver}/gda_trml2pdf/*.py
|
||||
#%{_datadir}/libgda-%{apiver}/icons/hicolor/
|
||||
#%{_datadir}/libgda-%{apiver}/php
|
||||
#%{_datadir}/libgda-%{apiver}/pixmaps
|
||||
#%{_datadir}/libgda-%{apiver}/ui
|
||||
#%{_datadir}/libgda-%{apiver}/web_specs_auth.xml
|
||||
#%{_datadir}/libgda-%{apiver}/web_specs_dsn.xml
|
||||
|
||||
%files -f libgda-%{apiver}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/libgda-%{apiver}/config
|
||||
%{_sysconfdir}/libgda-%{apiver}/sales_test.db
|
||||
%{_libdir}/libgda-%{apiver}.so.*
|
||||
%{_libdir}/libgda-report-%{apiver}.so.*
|
||||
%{_libdir}/libgda-xslt-%{apiver}.so.*
|
||||
#%{_libdir}/libgda_handlers-%{apiver}.so.*
|
||||
#%{_libdir}/libgda_sql_delimiter-%{apiver}.so.*
|
||||
#%{_libdir}/libgda_sql_transaction-%{apiver}.so.*
|
||||
#%{_libdir}/libgdasql-%{apiver}.so.*
|
||||
%{_datadir}/libgda-%{apiver}/import_encodings.xml
|
||||
%{_datadir}/libgda-%{apiver}/language-specs/gda-sql.lang
|
||||
%{_datadir}/libgda-%{apiver}/server_operation.glade
|
||||
%{_datadir}/libgda-%{apiver}/sqlcipher_specs_*.xml
|
||||
%{_libdir}/girepository-1.0/Gda-%{apiver}.typelib
|
||||
%{_libdir}/libgda-6.0/providers/libgda-sqlcipher-%{apiver}.so
|
||||
#%{_libdir}/libgda-report-%{apiver}.so.*
|
||||
#%{_libdir}/libgda-xslt-%{apiver}.so.*
|
||||
#%{_datadir}/libgda-%{apiver}/import_encodings.xml
|
||||
#%{_datadir}/libgda-%{apiver}/language-specs/gda-sql.lang
|
||||
#%{_datadir}/libgda-%{apiver}/server_operation.glade
|
||||
#%{_datadir}/libgda-%{apiver}/sqlcipher_specs_*.xml
|
||||
#%{_datadir}/libgda-%{apiver}/xml/*.dtd
|
||||
#%{_datadir}/libgda-%{apiver}/xml/*.xsl
|
||||
%{_datadir}/libgda-%{apiver}/information_schema.xml
|
||||
%{_datadir}/libgda-%{apiver}/dtd/*.dtd
|
||||
%{_datadir}/libgda-%{apiver}/web/*
|
||||
%{_libdir}/girepository-1.0/Gda-*.typelib
|
||||
%{_libdir}/girepository-1.0/Gdaui-*.typelib
|
||||
%{_mandir}/man1/*
|
||||
#%{_mandir}/man5/*
|
||||
#%{_datadir}/libgda-%{apiver}/information_schema.xml
|
||||
#%{_datadir}/libgda-%{apiver}/dtd/*.dtd
|
||||
#%{_datadir}/libgda-%{apiver}/web/*
|
||||
#%{_libdir}/girepository-1.0/Gda-*.typelib
|
||||
#%{_libdir}/girepository-1.0/Gdaui-*.typelib
|
||||
#%{_mandir}/man1/*
|
||||
|
||||
%files bdb
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/libgda-%{apiver}/bdb_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-bdb.so
|
||||
#%files bdb
|
||||
#%defattr(-,root,root)
|
||||
#%{_datadir}/libgda-%{apiver}/bdb_*.xml
|
||||
#%{_libdir}/libgda-%{apiver}/providers/libgda-bdb.so
|
||||
|
||||
%ifarch %{ix86}
|
||||
%files firebird
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/libgda-%{apiver}/firebird_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-firebird*.so
|
||||
%endif
|
||||
#%ifarch %{ix86}
|
||||
#%files firebird
|
||||
#%defattr(-,root,root)
|
||||
#%{_datadir}/libgda-%{apiver}/firebird_*.xml
|
||||
#%{_libdir}/libgda-%{apiver}/providers/libgda-firebird*.so
|
||||
#%endif
|
||||
|
||||
%files ldap
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/libgda-%{apiver}/ldap_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-ldap.so
|
||||
#%files ldap
|
||||
#%defattr(-,root,root)
|
||||
#%{_datadir}/libgda-%{apiver}/ldap_*.xml
|
||||
#%{_libdir}/libgda-%{apiver}/providers/libgda-ldap.so
|
||||
|
||||
%files mdb
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/libgda-%{apiver}/mdb_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-mdb.so
|
||||
#%files mdb
|
||||
#%defattr(-,root,root)
|
||||
#%{_datadir}/libgda-%{apiver}/mdb_*.xml
|
||||
#%{_libdir}/libgda-%{apiver}/providers/libgda-mdb.so
|
||||
|
||||
%files mysql
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/libgda-%{apiver}/mysql_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-mysql.so
|
||||
#%{_datadir}/gnome/help/gda-sql/C/gda-sql-help.xml
|
||||
#%files mysql
|
||||
#%defattr(-,root,root)
|
||||
#%{_datadir}/libgda-%{apiver}/mysql_*.xml
|
||||
#%{_libdir}/libgda-%{apiver}/providers/libgda-mysql.so
|
||||
|
||||
#%files jdbc
|
||||
#%defattr(-,root,root)
|
||||
@ -362,53 +344,65 @@ CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1"
|
||||
|
||||
%files postgresql
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/libgda-%{apiver}/postgres_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-postgres.so
|
||||
#%{_datadir}/libgda-%{apiver}/postgres_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-postgres-%{apiver}.so
|
||||
|
||||
%files sqlite
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/libgda-%{apiver}/sqlite_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-sqlite.so
|
||||
#%{_datadir}/libgda-%{apiver}/sqlite_*.xml
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-sqlite-%{apiver}.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gdaui-demo-%{apiver}
|
||||
%{_bindir}/org.gnome.gda.Test
|
||||
%dir %{_includedir}/libgda-%{apiver}
|
||||
%dir %{_includedir}/libgda-%{apiver}/libgda/
|
||||
%{_includedir}/libgda-%{apiver}/libgda/*
|
||||
%{_includedir}/libgda-%{apiver}/libgda-ui/
|
||||
%{_includedir}/libgda-%{apiver}/libgda-xslt/
|
||||
%{_includedir}/libgda-%{apiver}/libgda-report/
|
||||
%{_includedir}/libgda-%{apiver}/providers/sqlcipher/gda-sqlcipher-provider.h
|
||||
#%{_includedir}/libgda-%{apiver}/libgda-ui/
|
||||
#%{_includedir}/libgda-%{apiver}/libgda-xslt/
|
||||
#%{_includedir}/libgda-%{apiver}/libgda-report/
|
||||
#%{_includedir}/libgda-%{apiver}/providers-support/
|
||||
#%{_includedir}/libgda-%{apiver}/sql-parser/
|
||||
#%{_includedir}/libgda-%{apiver}/virtual/
|
||||
%{_libdir}/*.la
|
||||
#%{_libdir}/*.la
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/libgda-%{apiver}/providers/libgda-*.la
|
||||
%{_datadir}/libgda-%{apiver}/demo
|
||||
%{_datadir}/glade/catalogs/gdaui-catalog.xml
|
||||
%{_datadir}/glade/pixmaps/widget-*.png
|
||||
#%{_libdir}/libgda-%{apiver}/providers/libgda-*.la
|
||||
#%{_datadir}/libgda-%{apiver}/demo
|
||||
#%{_datadir}/glade/catalogs/gdaui-catalog.xml
|
||||
#%{_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/Gdaui-*.gir
|
||||
%{_datadir}/vala/vapi/libgda-*.deps
|
||||
%{_datadir}/vala/vapi/libgda-*.vapi
|
||||
%{_libdir}/pkgconfig/libgda*-%{apiver}.pc
|
||||
|
||||
%files apidocs
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/gtk-doc/html/%{pkgname}-%{apiver}/
|
||||
%dir %{_datadir}/help/C/gda-browser
|
||||
%{_datadir}/help/C/gda-browser
|
||||
%lang(cs) %{_datadir}/help/cs/gda-browser
|
||||
%lang(de) %{_datadir}/help/de/gda-browser
|
||||
%lang(el) %{_datadir}/help/el/gda-browser
|
||||
%lang(es) %{_datadir}/help/es/gda-browser
|
||||
%lang(gl) %{_datadir}/help/gl/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
|
||||
%dir %{_datadir}/gtk-doc/html/%{pkgname}-%{apiver}
|
||||
%{_datadir}/gtk-doc/html/%{pkgname}-%{apiver}/*
|
||||
%dir %{_datadir}/devhelp/books/Gda-%{apiver}
|
||||
%{_datadir}/devhelp/books/Gda-%{apiver}/*
|
||||
|
||||
#%dir %{_datadir}/help/C/gda-browser
|
||||
#%{_datadir}/help/C/gda-browser
|
||||
#%lang(cs) %{_datadir}/help/cs/gda-browser
|
||||
#%lang(de) %{_datadir}/help/de/gda-browser
|
||||
#%lang(el) %{_datadir}/help/el/gda-browser
|
||||
#%lang(es) %{_datadir}/help/es/gda-browser
|
||||
#%lang(gl) %{_datadir}/help/gl/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
|
||||
* 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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user