## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: cdsclient Version: 4.07 Release: %autorelease Summary: Tools to query databases at CDS # Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only URL: http://cdsarc.u-strasbg.fr/doc/cdsclient.html Source0: ftp://cdsarc.u-strasbg.fr/pub/sw/%{name}-%{version}.tar.gz # Patch to get useful debuginfo. strip was called in Makefile before and compiler # flags were ignored, submitted upstream by email Patch0: fix_makefile_debuginfo.patch # Upstream places abibcode.awk in /usr/bin although it is not an executable but # arch independent data Patch1: abibcode_share_location_trim.patch BuildRequires: gcc BuildRequires: make # wget is used by some of the shell scripts to fetch data from servers Requires: wget %description The cdsclient package is a set of C and shell routines which can be built on Unix stations or PCs running Linux, which once compiled allow to query some databases located at CDS or on mirrors over the network. The cdsclient package includes two generic query programs: - vizquery, a program to remotely query VizieR. It connects the VizieR server via the HTTP protocol (requires an access to the port 80) - find_cats, a program for fast access to large surveys from a list of positions, via a dedicated client (requires an access to the port 1660) Specific programs like find2mass or finducac3 are connecting directly to one of the very large surveys available from CDS (a very large survey has 107 or more rows). %prep %setup -q %patch -P0 -p1 %patch -P1 -p1 sed -i -e '1 s|python|python3|' catClient.py %build %configure make %{?_smp_mflags} %install # make install doesn't create directories mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir} mkdir -p %{buildroot}%{_datadir}/%{name} %make_install PREFIX=%{buildroot}%{_prefix} MANDIR=%{buildroot}%{_mandir} # Remove this unneeded stuff rm -f %{buildroot}%{_prefix}/versions rm -f %{buildroot}%{_bindir}/find_cats.gz # Move abibcode.awk (non executable called by abibcode) to /usr/share/cdsclient/ mv %{buildroot}%{_bindir}/abibcode.awk %{buildroot}%{_datadir}/%{name}/abibcode.awk %{_fixperms} %{buildroot}/* %files %if 0%{?fedora} >= 21 %license COPYING COPYRIGHT %else %doc COPYING COPYRIGHT %endif %dir %{_datadir}/%{name} %dir %{_mandir}/mantex %{_bindir}/* %{_datadir}/%{name}/abibcode.awk %{_mandir}/man1/* %{_mandir}/man3/* %{_mandir}/mantex/* %changelog ## START: Generated by rpmautospec * Tue Nov 26 2024 Sergio Pascual - 4.07-1 - New release 4.07 * Mon Jul 29 2024 Miroslav Suchý - 3.84-20 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 3.84-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jan 23 2024 Fedora Release Engineering - 3.84-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 3.84-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 3.84-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jan 18 2023 Fedora Release Engineering - 3.84-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 3.84-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 3.84-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 3.84-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.84-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.84-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 3.84-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 3.84-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 3.84-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Christian Dersch - 3.84-6 - BuildRequires: gcc * Thu Jul 12 2018 Fedora Release Engineering - 3.84-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 3.84-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 3.84-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 3.84-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Apr 06 2017 Christian Dersch - 3.84-1 - new version * Fri Feb 10 2017 Fedora Release Engineering - 3.83-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Mar 04 2016 Christian Dersch - 3.83-1 - new version * Sat Feb 06 2016 Christian Dersch - 3.81-1 - new version * Wed Feb 03 2016 Fedora Release Engineering - 3.80-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jun 22 2015 Christian Dersch - 3.80-1 - new upstream release * Wed Jun 17 2015 Fedora Release Engineering - 3.79-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Apr 3 2015 Christian Dersch - 3.79-1 - new upstream release * Sun Jan 25 2015 Christian Dersch - 3.78-3 - spec cleanups * Sun Jan 25 2015 Christian Dersch - 3.78-2 - move non-executable file abibcode.awk to /usr/share/cdsclient * Mon Jan 19 2015 Christian Dersch - 3.78-1 - new upstream release - patch Makefile to be able to generate useful debuginfo - enable debuginfo * Mon Jan 12 2015 Christian Dersch - 3.77-1 - initial spec ## END: Generated by rpmautospec