|
|
|
@@ -3,7 +3,7 @@
|
|
|
|
|
%global spectool_version 1.0.10
|
|
|
|
|
|
|
|
|
|
Name: rpmdevtools
|
|
|
|
|
Version: 6.8
|
|
|
|
|
Version: 7.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: RPM Development Tools
|
|
|
|
|
|
|
|
|
@@ -11,50 +11,31 @@ Group: Development/Tools
|
|
|
|
|
# rpmdev-setuptree is GPLv2, everything else GPLv2+
|
|
|
|
|
License: GPLv2+ and GPLv2
|
|
|
|
|
URL: https://fedorahosted.org/rpmdevtools/
|
|
|
|
|
Source0: https://fedorahosted.org/releases/r/p/rpmdevtools/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source0: https://fedorahosted.org/released/rpmdevtools/%{name}-%{version}.tar.lzma
|
|
|
|
|
Source1: http://people.redhat.com/nphilipp/spectool/spectool-%{spectool_version}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# All build deps for man page generation
|
|
|
|
|
# lzma for unpacking the tarball
|
|
|
|
|
BuildRequires: lzma
|
|
|
|
|
# help2man, pod2man, *python for creating man pages
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
BuildRequires: %{_bindir}/pod2man
|
|
|
|
|
BuildRequires: python
|
|
|
|
|
BuildRequires: rpm-python
|
|
|
|
|
Provides: spectool = %{spectool_version}
|
|
|
|
|
Provides: fedora-rpmdevtools = %{version}
|
|
|
|
|
Obsoletes: fedora-rpmdevtools < 5.0
|
|
|
|
|
# Minimal RPM build requirements
|
|
|
|
|
Requires: bash
|
|
|
|
|
Requires: bzip2
|
|
|
|
|
Requires: coreutils
|
|
|
|
|
Requires: cpio
|
|
|
|
|
Requires: diffutils
|
|
|
|
|
Requires: findutils
|
|
|
|
|
Requires: gawk
|
|
|
|
|
Requires: gcc
|
|
|
|
|
Requires: gcc-c++
|
|
|
|
|
Requires: grep
|
|
|
|
|
Requires: gzip
|
|
|
|
|
Requires: info
|
|
|
|
|
Requires: make
|
|
|
|
|
Requires: redhat-release
|
|
|
|
|
Requires: redhat-rpm-config
|
|
|
|
|
Requires: rpm-build >= 4.4.2.1
|
|
|
|
|
Requires: sed
|
|
|
|
|
Requires: tar
|
|
|
|
|
Requires: unzip
|
|
|
|
|
Requires: util-linux
|
|
|
|
|
Requires: which
|
|
|
|
|
# Additionally required for tool operations
|
|
|
|
|
#Requires: cpio
|
|
|
|
|
Requires: fakeroot
|
|
|
|
|
Requires: file
|
|
|
|
|
Requires: perl
|
|
|
|
|
Requires: python
|
|
|
|
|
Requires: findutils
|
|
|
|
|
Requires: gawk
|
|
|
|
|
Requires: grep
|
|
|
|
|
Requires: rpm-build >= 4.4.2.1
|
|
|
|
|
Requires: rpm-python >= 4.4.2.2
|
|
|
|
|
#Requires: sed
|
|
|
|
|
Requires: sed
|
|
|
|
|
Requires: wget
|
|
|
|
|
# For _get_cword in bash completion snippet
|
|
|
|
|
Conflicts: bash-completion < 20080705
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package contains scripts and (X)Emacs support files to aid in
|
|
|
|
@@ -97,32 +78,11 @@ for dir in %{emacs_sitestart_d} %{xemacs_sitestart_d} ; do
|
|
|
|
|
touch $RPM_BUILD_ROOT$dir/rpmdev-init.elc
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Backwards compatibility symlinks
|
|
|
|
|
ln -s rpmdev-checksig $RPM_BUILD_ROOT%{_bindir}/fedora-rpmchecksig
|
|
|
|
|
ln -s rpmdev-diff $RPM_BUILD_ROOT%{_bindir}/fedora-diffarchive
|
|
|
|
|
ln -s rpmdev-extract $RPM_BUILD_ROOT%{_bindir}/fedora-extract
|
|
|
|
|
ln -s rpmdev-md5 $RPM_BUILD_ROOT%{_bindir}/fedora-md5
|
|
|
|
|
ln -s rpmdev-newspec $RPM_BUILD_ROOT%{_bindir}/fedora-newrpmspec
|
|
|
|
|
ln -s rpmdev-rmdevelrpms $RPM_BUILD_ROOT%{_bindir}/fedora-rmdevelrpms
|
|
|
|
|
ln -s rpmdev-setuptree $RPM_BUILD_ROOT%{_bindir}/fedora-buildrpmtree
|
|
|
|
|
ln -s rpmdev-vercmp $RPM_BUILD_ROOT%{_bindir}/fedora-rpmvercmp
|
|
|
|
|
ln -s rpmdev-wipetree $RPM_BUILD_ROOT%{_bindir}/fedora-wipebuildtree
|
|
|
|
|
ln -s rpminfo $RPM_BUILD_ROOT%{_bindir}/fedora-rpminfo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
# Upgrade from fedora-rpmdevtools:
|
|
|
|
|
oldconf=%{_sysconfdir}/fedora/rmdevelrpms.conf
|
|
|
|
|
if [ $1 -eq 1 -a -f $oldconf ] ; then
|
|
|
|
|
echo "5615a64d80f6e6b4df77b3ab0ef1469c $oldconf" \
|
|
|
|
|
| md5sum -c --status - >/dev/null 2>&1 || \
|
|
|
|
|
cat $oldconf > %{_sysconfdir}/rpmdevtools/rmdevelrpms.conf || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%triggerin -- emacs-common
|
|
|
|
|
[ -d %{emacs_sitestart_d} ] && \
|
|
|
|
|
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{emacs_sitestart_d} || :
|
|
|
|
@@ -142,8 +102,8 @@ fi
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING README*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/rpmdevtools/
|
|
|
|
|
%{_sysconfdir}/bash_completion.d/
|
|
|
|
|
%{_datadir}/rpmdevtools/
|
|
|
|
|
%{_bindir}/fedora-*
|
|
|
|
|
%{_bindir}/rpm*
|
|
|
|
|
%{_bindir}/spectool
|
|
|
|
|
%ghost %{_datadir}/*emacs
|
|
|
|
@@ -151,8 +111,15 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 3 2009 Ville Skyttä <ville.skytta at iki.fi> - 6.8-1
|
|
|
|
|
- 6.8.
|
|
|
|
|
* Sat Apr 4 2009 Ville Skyttä <ville.skytta at iki.fi> - 7.1-1
|
|
|
|
|
- 7.1.
|
|
|
|
|
- Make rpmdev-md5 and friends work on non-srpm package files too.
|
|
|
|
|
|
|
|
|
|
* Sun Mar 15 2009 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Add bash completion.
|
|
|
|
|
|
|
|
|
|
* Mon Mar 9 2009 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Add query format option to rmdevelrpms, sort output by NEVRA.
|
|
|
|
|
|
|
|
|
|
* Sun Feb 22 2009 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Use %%global instead of %%define in spec templates.
|
|
|
|
@@ -163,6 +130,10 @@ fi
|
|
|
|
|
|
|
|
|
|
* Fri Dec 26 2008 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Add minimum version to rpm-python dependency (for rpmdev-bumpspec).
|
|
|
|
|
|
|
|
|
|
* Fri Dec 26 2008 Ville Skyttä <ville.skytta at iki.fi> - 7.0-1
|
|
|
|
|
- 7.0.
|
|
|
|
|
- Drop fonts spec template, adapt to new ones from Fedora fonts SIG (#477055).
|
|
|
|
|
- Add man page for rpmdev-newspec.
|
|
|
|
|
|
|
|
|
|
* Tue Dec 16 2008 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
@@ -175,6 +146,10 @@ fi
|
|
|
|
|
- Add vamp-plugin-sdk to internal list of non-devel packages in rmdevelrpms
|
|
|
|
|
(#472641, Michael Schwendt).
|
|
|
|
|
|
|
|
|
|
* Thu Nov 20 2008 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Drop "minimal buildroot" dependencies.
|
|
|
|
|
- Drop fedora-rpmdevtools Obsoletes.
|
|
|
|
|
|
|
|
|
|
* Mon Oct 13 2008 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Show available types in rpmdev-newspec --help (ticket #6, Todd Zullinger).
|
|
|
|
|
|
|
|
|
@@ -186,6 +161,9 @@ fi
|
|
|
|
|
* Thu Sep 25 2008 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Bring rpmdev-bumpspec copyright holder closer to truth (Michael Schwendt).
|
|
|
|
|
|
|
|
|
|
* Mon Sep 22 2008 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Switch to lzma compressed tarball.
|
|
|
|
|
|
|
|
|
|
* Sun Sep 7 2008 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Improve arch specific %%files in perl spec template (#461177, Chris Weyl).
|
|
|
|
|
|
|
|
|
@@ -234,6 +212,7 @@ fi
|
|
|
|
|
- Add ';;' to the init script template's reload action.
|
|
|
|
|
|
|
|
|
|
* Sat Dec 8 2007 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- Add fonts spec template from the Fedora Fonts SIG (#407781).
|
|
|
|
|
- Add option to use macro style instead of shell style variables to newspec.
|
|
|
|
|
- Prefer ~/.config/rpmdevtools/rmdevelrpms.conf over ~/.rmdevelrpmsrc in
|
|
|
|
|
rmdevelrpms.
|
|
|
|
@@ -287,6 +266,7 @@ fi
|
|
|
|
|
|
|
|
|
|
* Tue Mar 13 2007 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|
- BR perl(ExtUtils::MakeMaker) by default in perl spec template.
|
|
|
|
|
- Drop deprecated backwards compatibility with fedora-rpmdevtools.
|
|
|
|
|
- Update URL.
|
|
|
|
|
|
|
|
|
|
* Wed Nov 8 2006 Ville Skyttä <ville.skytta at iki.fi>
|
|
|
|
|