diff --git a/libgda.spec b/libgda.spec index 9c95fc9..ad685e4 100644 --- a/libgda.spec +++ b/libgda.spec @@ -4,7 +4,7 @@ %define majversion %(echo %version | cut -d. -f 1-2) Name: libgda -Version: 5.2.2 +Version: 5.2.4 Release: 1mamba Summary: A library implementing a free unified data access architecture Group: System/Libraries @@ -181,6 +181,14 @@ Obsoletes: libgda2-bdb %description bdb Berkeley DB provider for %{name}. +%package firebird +Group: Development/Libraries +Summary: Firebird DB provider for libgda +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description firebird +Firebird provider for %{name}. + %package sqlite Group: Development/Libraries Summary: SQLite providers for %{name} @@ -218,14 +226,21 @@ Obsoletes: libgda2-apidocs %prep %setup -q -n libgda-%{version} -rm -f getsp.class -%{_jvmdir}/jdk/bin/javac getsp.java - #%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 + %build CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1" %configure \ @@ -264,6 +279,7 @@ CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1" %{_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 @@ -305,6 +321,11 @@ CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1" %{_datadir}/libgda-%{apiver}/bdb_*.xml %{_libdir}/libgda-%{apiver}/providers/libgda-bdb.so +%files firebird +%defattr(-,root,root) +%{_datadir}/libgda-%{apiver}/firebird_*.xml +%{_libdir}/libgda-%{apiver}/providers/libgda-firebird*.so + %files ldap %defattr(-,root,root) %{_datadir}/libgda-%{apiver}/ldap_*.xml @@ -379,6 +400,9 @@ CFLAGS="%{optflags} -DGRAPHVIZ_NEW_API=1" %{_datadir}/gtk-doc/html/gda-browser %changelog +* Fri Nov 13 2015 Automatic Build System 5.2.4-1mamba +- automatic version update by autodist + * Mon Dec 23 2013 Automatic Build System 5.2.2-1mamba - automatic version update by autodist