diff --git a/README.md b/README.md index 2d9ed2f..e726635 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,3 @@ Autospec is a tool for automatically generating specfiles and updating rpm packages. Install autospec if you are a packager or you just want to build/upgrade rpm packages in an easy and quick way. -Autospec è un tool in grado di generare in modo automatico specfile ed aggiornare pacchetti rpm. -Installa autospec se sei un packager o se vuoi creare/aggiornare pacchetti rpm in modo semplice e rapido. - diff --git a/autospec.spec b/autospec.spec index 1b25337..7ff9157 100644 --- a/autospec.spec +++ b/autospec.spec @@ -1,24 +1,26 @@ -# modify these definitions according to your distribution -%define distribution openmamba -%define vendor openmamba - Name: autospec -Version: 1.16.8 +Version: 1.17.0 Release: 1mamba Summary: Create specfiles and automatically update/check/fix rpm packages -Summary(it): Crea specfile ed aggiorna/controlla/corregge in modo automatico pacchetti rpm Group: Development/Tools -Vendor: %{vendor} -Distribution: %{distribution} -Packager: Davide Madrisan +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco URL: https://sites.google.com/site/davidemadrisan/opensource#TOC-autospec-suite -# http://git.openmamba.org/?p=autospec.git;a=summary -Source: autospec-%{version}.tar.bz2 -Requires(pre): bash -Requires(pre): make -Requires(pre): rpm -Requires: cpio, coreutils, curl, findutils, grep, sed -Requires: /bin/mktemp +Source: http://gitlab.mambasoft.it/openmamba/autospec.git/v%{version}/autospec-%{version}.tar.bz2 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: gettext +Requires: bash +Requires: make +Requires: rpm +Requires: cpio +Requires: coreutils +Requires: curl +Requires: findutils +Requires: grep +Requires: sed +Requires: /usr/bin/mktemp Requires: /usr/bin/getopt %if "%{stage1}" != "1" # host (and 'bind-utils') is not available in early stage platform development @@ -27,99 +29,21 @@ Requires: /usr/bin/host Requires: bzip2 Requires: gzip Requires: unzip -#Requires: sudo Requires: ftp -Requires: %{name}-plugins = %{?epoch:%epoch:}%{version}-%{release} -BuildRequires: gettext License: GPL BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: autospec-plugins < 1.17.0 +Obsoletes: autospec-plugins < 1.17.0 +Obsoletes: autospec-libs < 1.17.0 +Obsoletes: autospec-tests < 1.17.0 +Obsoletes: autospec-tools < 1.17.0 +Obsoletes: autospec-templates-openmamba < 1.17.0 +Obsoletes: autospec-config-openmamba < 1.17.0 %description Autospec is a tool for automatically generating specfiles and updating rpm packages. Install autospec if you are a packager or you just want to build/upgrade rpm packages in an easy and quick way. -%description -l it -Autospec è un tool in grado di generare in modo automatico specfile ed aggiornare pacchetti rpm. -Installa autospec se sei un packager o se vuoi creare/aggiornare pacchetti rpm in modo semplice e rapido. - -%package plugins -Summary: Autospec plugins -Summary(it): Plugin di autospec -Group: Development/Tools -Requires: %{name}-config-%{distribution} = %{?epoch:%epoch:}%{version}-%{release} -Requires: %{name}-libs = %{?epoch:%epoch:}%{version}-%{release} -Requires: %{name}-templates-%{distribution} = %{?epoch:%epoch:}%{version}-%{release} -Requires: %{name}-tests = %{?epoch:%epoch:}%{version}-%{release} -Requires(pre): rpm - -%description plugins -This package contains the plugins needed for generating specfiles, updating rpm packages, and extracting files from a source rpm package. - -%description -l it plugins -Questo pacchetto contiene i plugin necessari per generare specfile, aggiornare pacchetti rpm, estrarre file da pacchetti source rpm (srpm). - -%package config-%{distribution} -Summary: Configuration files for autospec -Summary(it): File di configurazione per autospec -Group: Development/Tools -Provides: %{name}-config = %{?epoch:%epoch:}%{version}-%{release} - -%description config-%{distribution} -This package contains the configuration files for autospec. - -%description -l it config-%{distribution} -Questo pacchetto contiene i file di configurazione di autospec. - -%package libs -Summary: Autospec libraries -Summary(it): Librerie di autospec -Group: Development/Tools - -%description libs -This package contains the library functions needed by autospec, and their plugins. -They can be used by external tools that manage rpm packages and specfiles. - -%description -l it libs -Questo pacchetto contiene le librerie necessarie al funzionamento di autospec e dei suoi plugin. -Possono anche essere stilizzate da tool esterni che lavorano su rpm e specfile. - -%package templates-%{distribution} -Summary: Autospec templates -Summary(it): Template per autospec -Group: Development/Tools -Provides: %{name}-templates = %{?epoch:%epoch:}%{version}-%{release} - -%description templates-%{distribution} -This package contains the templates used by autospec for generating specfiles from tarballs. - -%description -l it templates-%{distribution} -Questo pacchetto contiene i template utilizzati da autospec per generare gli specfile a partire dai sorgenti. - -%package tests -Summary: Autospec tests -Summary(it): Test per autospec -Group: Development/Tools - -%description tests -This package contains the tests to check rpm packages for quality and security issues. - -%description -l it tests -Questo pacchetto contiene i test per il controllo di qualità e sicurezza dei pacchetti rpm. -Possono anche essere stilizzate da tool esterni che lavorano su rpm e specfile. - -%package tools -Summary: Autospec extra tools -Summary(it): Programmi extra basati su autospec -Group: Development/Tools -Requires: %{name}-libs = %{?epoch:%epoch:}%{version}-%{release} - -%description tools -This package contains some extra tools. - -%description -l it tools -Questo pacchetto contiene alcuni script extra. - %prep %setup -q @@ -138,40 +62,32 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} %{_bindir}/%{name} %lang(it) %{_mandir}/it/man1/%{name}.* %lang(it) %{?_localedir:%{_localedir}}%{!?_localedir:%_datadir/locale}/it/LC_MESSAGES/%{name}.mo -%doc AUTHORS BUGS ChangeLog COPYING NEWS TODO - -%files plugins -%defattr(-,root,root) +# plugins %{_bindir}/config-getvar %{_bindir}/pck-extract %{_bindir}/pck-update %{_bindir}/spec-create %config %attr(644,root,root) %{_sysconfdir}/%{name}.conf - -%files config-%{distribution} -%defattr(-,root,root) +# config-openmamba %dir %{_sysconfdir}/%{name}.d %config %attr(644,root,root) %{_sysconfdir}/%{name}.d/*.conf %config %attr(644,root,root) %{_sysconfdir}/%{name}.d/color-theme.* - -%files libs -%defattr(-,root,root) +# libs %{_datadir}/%{name}/lib/* - -%files templates-%{distribution} -%defattr(-,root,root) +# templates %{_datadir}/%{name}/templates - -%files tests -%defattr(-,root,root) +# tests %{_datadir}/%{name}/tests - -%files tools -%defattr(-,root,root) +# tools %{_bindir}/extract-specs %{_bindir}/autoupdate-* +%doc AUTHORS COPYING +#BUGS ChangeLog COPYING NEWS TODO %changelog +* Thu Jan 06 2022 Silvan Calarco 1.17.0-1mamba +- update to 1.17.0 + * Sun Sep 27 2020 Silvan Calarco 1.16.8-1mamba - update to 1.16.8 @@ -246,7 +162,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} - new subpackages %{name}-config-openmamba and %{name}-templates-openmamba - require bash -* Mon May 01 2012 Davide Madrisan 1.10.0-1mamba +* Tue May 01 2012 Davide Madrisan 1.10.0-1mamba - update to 1.10.0 * Wed Apr 18 2012 Davide Madrisan 1.9.4-1mamba @@ -289,7 +205,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} * Wed Dec 22 2010 Davide Madrisan 1.7.0-1mamba - update to 1.7.0 -* Tue Nov 28 2010 Davide Madrisan 1.6.3-1mamba +* Sun Nov 28 2010 Davide Madrisan 1.6.3-1mamba - update to 1.6.3 * Tue Nov 02 2010 Davide Madrisan 1.6.2-1mamba @@ -366,7 +282,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} * Tue Jan 12 2010 Davide Madrisan 1.4.11-1mamba - update to 1.4.11 -* Thu Jan 10 2010 Davide Madrisan 1.4.10-1mamba +* Sun Jan 10 2010 Davide Madrisan 1.4.10-1mamba - update to 1.4.10 * Fri Oct 23 2009 Davide Madrisan 1.4.9-1mamba @@ -391,7 +307,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} - update to 1.4.5 - add missing %%defattr in 'plugins' subpackage -* Thu Dec 23 2008 Davide Madrisan 1.4.4-1mamba +* Tue Dec 23 2008 Davide Madrisan 1.4.4-1mamba - update to 1.4.4 (Christmas Release) * Thu Nov 20 2008 Davide Madrisan 1.4.3-1mamba @@ -433,7 +349,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} * Wed Jan 30 2008 Davide Madrisan 1.1.8-1mamba - update to version 1.1.8 -* Sat Dec 31 2007 Davide Madrisan 1.1.7-1mamba +* Mon Dec 31 2007 Davide Madrisan 1.1.7-1mamba - update to version 1.1.7 * Sun Dec 23 2007 Davide Madrisan 1.1.6-1mamba @@ -580,7 +496,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} * Sun Oct 16 2005 Davide Madrisan 0.8.1-1qilnx - update to version 0.8.1 -* Mon Oct 09 2005 Davide Madrisan 0.8.0-1qilnx +* Sun Oct 09 2005 Davide Madrisan 0.8.0-1qilnx - update to version 0.8.0 * Sun Oct 02 2005 Davide Madrisan 0.7.3-1qilnx @@ -618,7 +534,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} * Fri Mar 25 2005 Davide Madrisan 0.5.3-1qilnx - update to version 0.5.3 -* Sun Mar 21 2005 Davide Madrisan 0.5.2-1qilnx +* Mon Mar 21 2005 Davide Madrisan 0.5.2-1qilnx - update to version 0.5.2 * Sun Mar 13 2005 Davide Madrisan 0.5.1-1qilnx @@ -627,7 +543,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} * Fri Mar 11 2005 Davide Madrisan 0.5.0-1qilnx - update to version 0.5.0 -* Fri Mar 02 2005 Davide Madrisan 0.4.15-1qilnx +* Wed Mar 02 2005 Davide Madrisan 0.4.15-1qilnx - update to version 0.4.15 * Tue Feb 15 2005 Davide Madrisan 0.4.14-1qilnx @@ -679,7 +595,7 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} * Mon Sep 13 2004 Davide Madrisan 0.4.0-1qilnx - update to version 0.4.0 -* Tue Sep 01 2004 Davide Madrisan 0.3.9-1qilnx +* Wed Sep 01 2004 Davide Madrisan 0.3.9-1qilnx - update to version 0.3.9 * Fri Aug 27 2004 Davide Madrisan 0.3.8-1qilnx @@ -688,10 +604,10 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} * Wed Aug 25 2004 Davide Madrisan 0.3.7-1qilnx - update to version 0.3.7 -* Wed Aug 20 2004 Davide Madrisan 0.3.6-1qilnx +* Fri Aug 20 2004 Davide Madrisan 0.3.6-1qilnx - update to version 0.3.6 -* Sat Aug 09 2004 Davide Madrisan 0.3.5-1qilnx +* Mon Aug 09 2004 Davide Madrisan 0.3.5-1qilnx - update to version 0.3.5 * Thu Aug 05 2004 Davide Madrisan 0.3.4-1qilnx