Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37398413
en ru br
Репозитории ALT
S:5.8-alt1_13.arduino11
www.altlinux.org/Changes

Группа :: Разработка/C
Пакет: arduino-ctags

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Group: Development/C
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global         extraver        arduino11
Name:           arduino-ctags
Version:        5.8
Release:        alt1_13.%{extraver}
Summary:        A mix of ctags and anjuta-tags for the perfect C++ ctags

License:        GPLv2
URL:            http://arduino.cc
Source0:        https://github.com/arduino/ctags/archive/%{version}-%{extraver}.tar.gz#/ctags-%{version}-%{extraver}.tar.gz

# add support for DESTDIR in make install

Patch0:         ctags-5.7-destdir.patch
# https://github.com/arduino/ctags/issues/14
Patch1:         ctags-CVE-2014-7204.patch

BuildRequires:  gcc
Source44: import.info
%description
An Arduino fork of exuberant ctags

%prep
%setup -q -n ctags-%{version}-%{extraver}
%patch0 -p1
%patch1 -p1


# rename executable and man page

sed -i 's/^CTAGS_PROG =.*/CTAGS_PROG = arduino-ctags/' Makefile.in
sed -i 's/^MANPAGE =.*/MANPAGE = arduino-ctags.1/' Makefile.in

# remove glibc regex bundled copy to ensure it's not used

rm -r gnu_regex

# glibc 2.34

[ %version = 5.8 ] && sed -i s,__unused__,__attribute_unused__,g `grep -rl __unused__`

%build
%configure
%make_build


%install
%makeinstall_std DESTDIR=%{buildroot}

%files
%doc --no-dereference COPYING
%doc EXTENDING.html FAQ NEWS README
%{_bindir}/arduino-ctags
%{_mandir}/man1/arduino-ctags.1*


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin