2024-01-05 18:49:28 +01:00
|
|
|
%define gitcommit %(echo %version | cut -d. -f5)
|
2024-01-05 18:49:27 +01:00
|
|
|
Name: unixodbc-gui-qt
|
2024-01-05 18:49:28 +01:00
|
|
|
Version: 2.3.0.20180915git.1fcd64c
|
|
|
|
Release: 2mamba
|
2024-01-05 18:49:27 +01:00
|
|
|
Summary: Qt based GUI bits for unixODBC
|
|
|
|
Group: Graphical Desktop/Applications/Databases
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 18:49:28 +01:00
|
|
|
URL: http://www.unixodbc.org/
|
|
|
|
Source: https://github.com/mazbrili/unixodbc-gui-qt.git/master@%{gitcommit}/unixodbc-gui-qt-%{version}.tar.bz2
|
|
|
|
Source1: ODBCCreateDataSourceQ5.desktop
|
|
|
|
Source2: ODBCManageDataSourcesQ5.desktop
|
2024-01-05 18:49:27 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 18:49:28 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libodbc-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
2024-01-05 18:49:27 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Provides: unixODBC-qt-gui
|
2024-01-05 18:49:28 +01:00
|
|
|
Obsoletes: unixODBC-qt-gui < 2.3.0.20180915git.1fcd64c
|
|
|
|
Obsoletes: unixodbc-gui-qt-devel < 2.3.0.20180915git.1fcd64c
|
2024-01-05 18:49:27 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Qt based GUI bits for unixODBC. Includes configuration interface and data manager.
|
|
|
|
|
2024-01-05 18:49:28 +01:00
|
|
|
%debug_package
|
2024-01-05 18:49:27 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 18:49:28 +01:00
|
|
|
export UNIXODBC_DIR=%{_prefix}
|
|
|
|
export UNIXODBC_LIBDIR=%{_libdir}
|
|
|
|
|
|
|
|
%{_qt5_qmake}
|
2024-01-05 18:49:27 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 18:49:28 +01:00
|
|
|
export UNIXODBC_DIR="%{_prefix}"
|
|
|
|
export UNIXODBC_LIBDIR="%{_libdir}"
|
2024-01-05 18:49:27 +01:00
|
|
|
|
2024-01-05 18:49:28 +01:00
|
|
|
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
|
|
|
|
|
|
|
|
# install *.desktop files
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/pixmaps
|
2024-01-05 18:49:27 +01:00
|
|
|
|
2024-01-05 18:49:28 +01:00
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
|
|
|
|
|
|
|
# install icons used for applications in *.desktop files
|
|
|
|
install -p -m 644 ODBCDataManagerQ4/ODBC64.xpm \
|
|
|
|
%{buildroot}%{_datadir}/pixmaps/ODBCCreateDataSourceQ5.xpm
|
|
|
|
install -p -m 644 odbcinstQ5/ODBCManageDataSources64.xpm \
|
|
|
|
%{buildroot}%{_datadir}/pixmaps/ODBCManageDataSourcesQ5.xpm
|
2024-01-05 18:49:27 +01:00
|
|
|
|
2024-01-05 18:49:28 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 18:49:27 +01:00
|
|
|
|
2024-01-05 18:49:28 +01:00
|
|
|
%files
|
2024-01-05 18:49:27 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:49:28 +01:00
|
|
|
%{_bindir}/ODBCCreateDataSourceQ5
|
|
|
|
%{_bindir}/ODBCManageDataSourcesQ5
|
|
|
|
%{_libdir}/libodbcinstQ5.so
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/pixmaps/ODBC*.xpm
|
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 18:49:27 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:49:28 +01:00
|
|
|
* Fri Nov 25 2022 Automatic Build System <autodist@mambasoft.it> 2.3.0.20180915git.1fcd64c-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Nov 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.20180915git.1fcd64c-1mamba
|
|
|
|
- update to 2.3.0.20180915git.1fcd64c
|
|
|
|
|
2024-01-05 18:49:27 +01:00
|
|
|
* Fri Dec 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- package created by autospec
|