Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 66a69354120e0e2a24ab3fd28e4d5443 > files > 4

git-bugzilla-0-0.3.20091211git.fc14.src.rpm

Name:           git-bugzilla
Version:        0
Release:        0.3.20091211git%{?dist}
Summary:        Attach patches to a bugzilla bug

Group:          Development/Tools
License:        GPLv2+
URL:            http://git.collabora.co.uk/?p=user/cassidy/git-bugzilla
# wget -O git-bugzilla-fc2be92.tar.gz \
# 'http://git.collabora.co.uk/?p=user/cassidy/git-bugzilla;a=snapshot;h=fc2be92;sf=tgz'
Source0:        %{name}-fc2be92.tar.gz
Patch0:         0001-Do-not-default-to-GNOME-bugzilla.patch
Patch1:         0002-Fix-a-warning-about-uninitialized-value.patch
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:  asciidoc
BuildRequires:  xmlto
Requires:       git-core
Requires:       perl(WWW::Mechanize)
Requires:       perl(Crypt::SSLeay)
BuildArch:      noarch

%description
Add commits as attachments to a Bugzilla bug.


%prep
%setup -q -n %{name}
%patch0 -p1 -b .gnome
%patch1 -p1 -b .warn


%build
make %{?_smp_mflags} all doc


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix}
make -C docs install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_bindir}/git-send-bugzilla
%{_mandir}/man1/git-send-bugzilla.1*


%changelog
* Sun Feb 21 2010 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 0-0.3.20091211git
- Require Crypt::SSLeay (Bruce Cowan, #559898)

* Sat Dec 19 2009 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 0-0.2.20091211git
- Add missing Require
- Do not default to GNOME bugzilla
- Fix a subtle warning
- Use upstream generated tarball

* Fri Dec 11 2009 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 0-0.1.20091211git
- Initial packaging