Compare commits
3 Commits
c464b753d2
...
5dfc440765
Author | SHA1 | Date | |
---|---|---|---|
5dfc440765 | |||
94a21a8788 | |||
b789b54c9c |
@ -1,3 +1,8 @@
|
||||
# Italian translation.
|
||||
# Copyright (C) 2004-2013 Davide Madrisan
|
||||
# This file is distributed under the same license as the autospec package.
|
||||
# Davide Madrisan <davide.madrisan@gmail.com>, 2004-2013.
|
||||
#
|
||||
msgid "this script requires bash version 2 or better"
|
||||
msgstr "questo script richiede bash versione 2 o superiore"
|
||||
|
||||
@ -930,6 +935,9 @@ msgstr "sembra un modulo python (in questo caso usa \\`-t python')"
|
||||
msgid "created specfile"
|
||||
msgstr "creato specfile"
|
||||
|
||||
msgid "checking Source URL with: "
|
||||
msgstr "controllo della URL sorgente con: "
|
||||
|
||||
msgid "redirect detected: replacing from \\`$SPEC_URL' to "
|
||||
"\\`${http_effective_url}'"
|
||||
msgstr "redirezione rilevata: sostituzione da \\`$SPEC_URL' a "
|
||||
@ -956,11 +964,6 @@ msgstr "manca almeno una direttiva \\`%defattr'"
|
||||
msgid "use rpm macros if possible:"
|
||||
msgstr "utilizzare le macro rpm quando possibile:"
|
||||
|
||||
# Italian translation.
|
||||
# Copyright (C) 2004-2013 Davide Madrisan
|
||||
# This file is distributed under the same license as the autospec package.
|
||||
# Davide Madrisan <davide.madrisan@gmail.com>, 2004-2013.
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Project-Id-Version: autospec 1.16.4\n"
|
||||
"Report-Msgid-Bugs-To: davide.madrisan@gmail.com\n"
|
||||
@ -1099,12 +1102,3 @@ msgid "${NOTE}Security checks: ${#rpmpkg_name[@]} package(s) checked: "
|
||||
"${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}"
|
||||
msgstr "${NOTE}Controlli di sicurezza: pacchetti rpm: ${#rpmpkg_name[@]}; "
|
||||
"problemi riscontrati: ${NORM}${WARN}$total_issues${NORM}"
|
||||
|
||||
#~ msgid "replacing the AUTOBUILDREQ block by:"
|
||||
#~ msgstr "sostituzione del blocco AUTOBUILDREQ con:"
|
||||
|
||||
#~ msgid "server unreachable"
|
||||
#~ msgstr "server non raggiungibile"
|
||||
|
||||
#~ msgid "invalid version number"
|
||||
#~ msgstr "numero di versione non valido"
|
||||
|
@ -54,28 +54,14 @@ This package contains libraries and header files for developing applications tha
|
||||
%makeinstall -C build
|
||||
|
||||
@if:i18n
|
||||
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
|
||||
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
|
||||
@fi:i18n
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name}
|
||||
@if:shared_libraries
|
||||
## remove the following line if no dynamic libraries are provided by this package
|
||||
/sbin/ldconfig
|
||||
@fi:shared_libraries
|
||||
exit 0
|
||||
|
||||
%postun -n lib%{name}
|
||||
@if:shared_libraries
|
||||
## remove the following line if no dynamic libraries are provided by this package
|
||||
/sbin/ldconfig
|
||||
@fi:shared_libraries
|
||||
exit 0
|
||||
|
||||
@if:i18n
|
||||
%files -f %{name}5_qt.lang
|
||||
%files -f %{name}.lang
|
||||
@else:i18n
|
||||
%files
|
||||
@fi:i18n
|
||||
|
@ -62,20 +62,6 @@ This package contains libraries and header files for developing applications tha
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name}
|
||||
@if:shared_libraries
|
||||
## remove the following line if no dynamic libraries are provided by this package
|
||||
/sbin/ldconfig
|
||||
@fi:shared_libraries
|
||||
exit 0
|
||||
|
||||
%postun -n lib%{name}
|
||||
@if:shared_libraries
|
||||
## remove the following line if no dynamic libraries are provided by this package
|
||||
/sbin/ldconfig
|
||||
@fi:shared_libraries
|
||||
exit 0
|
||||
|
||||
@if:i18n
|
||||
%files -f %{name}.lang
|
||||
@else:i18n
|
||||
|
@ -110,14 +110,6 @@ This package includes the %{name} API documentation.
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@if:pck_library
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
@else:pck_library
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
@fi:pck_library
|
||||
|
||||
@if:infopages
|
||||
@if:pck_library
|
||||
%post -n lib%{name}-devel
|
||||
|
@ -49,6 +49,10 @@ function specfile.checksyntax() {
|
||||
notify.note "$(test.num2str). ${NOTE}"\
|
||||
"url""${NORM}..."
|
||||
if [[ "$SPEC_URL" ]]; then
|
||||
{ notify.debug "\
|
||||
\`url': "$"checking Source URL with: ""\`curl -s -o /dev/null -w \"%{http_code}\" -A \"${user_agent}\" $SPEC_URL'"
|
||||
}
|
||||
|
||||
http_code=`curl -s -o /dev/null -w "%{http_code}" -A "${user_agent}" $SPEC_URL`
|
||||
if [ "$http_code" != "200" ]; then
|
||||
if [ "${http_code:0:2}" == "30" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user