distromatic/distromatic.spec

380 lines
12 KiB
RPMSpec

%define cgidir %{_localstatedir}/www/cgi-bin
%define htmldir %{_localstatedir}/www/html
%define packager_groupid 65028
Name: distromatic
Version: 2.0
Release: 1mamba
Summary: A tool for maintaining an RPM based distribution
Group: System/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://openmamba.org
Source: https://openmamba.org/distribution/sources/distromatic-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libglib-devel
BuildRequires: librepo-devel
BuildRequires: librpm-devel
BuildRequires: libsqlite-devel
BuildRequires: libunwind-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
BuildRequires: libiberty-devel
%debug_package
%description
A tool for maintaining an RPM based distribution.
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C build
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%pre
groupadd packager -g %{packager_groupid} 2>/dev/null || :
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/distromatic
%attr(664,root,packager) %config(noreplace) %{_sysconfdir}/distromatic.conf
%attr(755,root,packager) %dir %{htmldir}/distromatic
%attr(664,root,packager) %config(noreplace) %{htmldir}/distromatic/index.html
%attr(755,root,root) %{cgidir}/distroquery
%{htmldir}/distromatic/feed-icon.png
%{htmldir}/distromatic/pkg.png
%{htmldir}/distromatic/pkgup.png
%{htmldir}/distromatic/warning-icon.png
%doc AUTHORS COPYING
%changelog
* Sat Mar 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- update to 2.0
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0.2-2mamba
- rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba
* Mon Jun 22 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0.2-1mamba
- update to 1.5.0.2
* Sat Jun 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0.1-1mamba
- update to 1.5.0.1
* Thu Jun 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1mamba
- update to 1.5.0
* Sat Sep 07 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.7-1mamba
- update to 1.4.7
* Fri Oct 21 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.6-1mamba
- update to 1.4.6
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.5-1mamba
- update to 1.4.5
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
- update to 1.4.4
* Sat Jun 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-1mamba
- update to 1.4.3
* Tue May 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- update to 1.4.2
* Mon Oct 07 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
- update to 1.4.1
* Sun Oct 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4-1mamba
- update to 1.4
* Sat Feb 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- update to 1.3
* Sun Jan 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1.1-1mamba
- update to 1.2.1.1
* Thu Jan 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Sat Oct 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- update to 1.2
* Mon Feb 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-1mamba
- update to 1.1.3
* Fri Jan 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
- update to 1.1.2
* Fri Dec 31 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- update to 1.1.1
* Wed Dec 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- update to 1.1.0
* Tue Dec 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7.1-2mamba
- rebuilt with rpm 5.2.1
* Sat Sep 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7.1-1mamba
- update to 1.0.7.1
* Thu Aug 19 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-1mamba
- update to 1.0.7
* Fri Aug 13 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.6-1mamba
- update to 1.0.6
* Thu Aug 12 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
- update to 1.0.5
* Tue Aug 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
- update to 1.0.4
* Mon Aug 09 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
- update to 1.0.3
* Sat Jun 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Thu May 13 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1.1-1mamba
- update to 1.0.1.1
* Mon May 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- update to 1.0
* Wed Apr 21 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.7-1mamba
- update to 0.9.9.7
* Tue Apr 06 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.6-1mamba
- update to 0.9.9.6
* Mon Mar 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.5-1mamba
- update to 0.9.9.5
* Wed Mar 17 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.4-1mamba
- update to 0.9.9.4
* Wed Mar 17 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.3-1mamba
- update to 0.9.9.3
* Mon Mar 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.2-1mamba
- update to 0.9.9.2
* Sat Mar 13 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.1-1mamba
- update to 0.9.9.1
* Wed Mar 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9-1mamba
- update to 0.9.9
* Thu Feb 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8.1-1mamba
- update to 0.9.8.1
* Tue Feb 09 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8-1mamba
- update to 0.9.8
* Fri Jan 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7.2-1mamba
- update to 0.9.7.2
* Sun Jan 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7.1-1mamba
- update to 0.9.7.1
* Tue Jan 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-1mamba
- update to 0.9.7
* Tue Dec 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-1mamba
- update to 0.9.6
* Tue May 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-1mamba
- update to 0.9.5
* Sun Apr 19 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4.1-1mamba
- update to 0.9.4.1
* Fri Apr 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4-1mamba
- update to 0.9.4
* Mon Apr 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-1mamba
- update to 0.9.3
* Tue Dec 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-1mamba
- update to 0.9.2
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- update to 0.9.1
* Fri Oct 31 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0
* Tue Oct 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.100-1mamba
- update to 0.8.100
* Wed Oct 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.99-1mamba
- update to 0.8.99
* Mon Sep 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.98-1mamba
- update to 0.8.98
* Wed Sep 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.97-1mamba
- update to 0.8.97
* Fri Sep 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.96-1mamba
- update to 0.8.96
* Thu Jul 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.95-1mamba
- update to 0.8.95
* Fri Jul 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.94-1mamba
- update to 0.8.94
* Thu Feb 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.93-1mamba
- update to 0.8.93
* Thu Feb 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.92-1mamba
- update to 0.8.92
* Sat Dec 15 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.91-1mamba
- update to 0.8.91
* Wed Sep 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.90-1mamba
- update to 0.8.90
* Mon Aug 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
- update to 0.8.1
* Tue Jul 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- update to 0.8.0
* Thu Jul 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.4-1mamba
- update to 0.7.4
* Wed Jul 04 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.3-1mamba
- update to 0.7.3
* Sat Jun 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.2-1mamba
- update to 0.7.2
* Tue Jun 12 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
- update to 0.7.1
* Fri Jun 01 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
- update to 0.7.0
* Sat May 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.9-1mamba
- update to 0.6.9
* Mon Apr 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.8-1mamba
- update to version 0.6.8 by autospec
* Tue Apr 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.7-1mamba
- update to version 0.6.7 by autospec
* Tue Mar 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.6-1qilnx
- update to version 0.6.6 by autospec
* Fri Mar 09 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.5-1qilnx
- update to version 0.6.5 by autospec
* Sun Feb 25 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.4-1qilnx
- update to version 0.6.4 by autospec
* Wed Feb 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-1qilnx
- update to version 0.6.3 by autospec
* Tue Feb 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-2qilnx
- rebuilt
* Thu Feb 08 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-1qilnx
- update to version 0.6.2 by autospec
- give usage privileges to packager group
* Tue Feb 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-1qilnx
- update to version 0.6.1 by autospec
* Tue Feb 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1qilnx
- update to version 0.6 by autospec
* Mon Jan 15 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2-1qilnx
- update to version 0.5.2 by autospec
* Wed Nov 01 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1qilnx
- update to version 0.5.1 by autospec
* Fri Oct 27 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1qilnx
- update to version 0.5 by autospec
* Thu Oct 26 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.5-1qilnx
- update to version 0.4.5 by autospec
* Mon Oct 16 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.4-1qilnx
- update to version 0.4.4 by autospec
* Wed Sep 13 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1qilnx
- update to version 0.4.3 by autospec
* Thu Jul 06 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1qilnx
- update to version 0.4.2 by autospec
* Sat Jul 01 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1qilnx
- update to version 0.4.1 by autospec
- added build requirement for libbzip2-devel
* Sun Jun 11 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.4.0-1qilnx
- update to version 0.4.0 by autospec
- specfile reworked
* Mon Oct 04 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-1qilnx
- added support for alternative repositories (e.g. updates and contrib)
* Thu Aug 19 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-1qilnx
- changed default html dir to support PostNuke
* Fri Jul 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2-1qilnx
- small fixes (add license, required by, URL)
- promoted to sub-major release 0.2
* Thu Jul 29 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.6-1qilnx
- lots of new features, including integration with PostNuke and stats module
* Tue Jul 27 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.5-1qilnx
- added php pages creation with includes instead of plain html
- added default index.php page (static, not generated by distromatic)
- various changes in configuration file (see sample)
* Mon Jul 26 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.4-1qilnx
- added genpkglist option
- print version number for each changelog entry
* Mon Jul 26 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.3-1qilnx
- added support for SRPMS repository
- fixed some recursion problems (some others are still to be fixed)
* Sat Jul 24 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-1qilnx
- added command genhtml
- added multiple tag support in configuration file and -t option
* Sat Jul 24 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1qilnx
- added configuration file handling
* Sat Jul 24 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-1qilnx
- first build