File apt4rpm.spec of Package apt4rpm
#
# spec file for package apt4rpm (Version 0.69.3)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#
# norootforbuild
Name: apt4rpm
BuildRequires: docbook-toys
License: GPL
Group: System/Packages
Summary: Create an APT repository
Version: 0.69.3
Release: 6
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}_nodigest.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
URL: http://sourceforge.net/projects/apt4rpm
Requires: apt-server perl-XML-LibXML perl-XML-LibXML-Common perl-XML-SAX
%define pkgdocdir %{_defaultdocdir}/%{name}
%description
This application creates an Advanced Package Tool (APT) repository from
rpm packages
Authors:
--------
Richard Bos <richard.bos@xs4all.nl>
%prep
%setup -q
%patch
%build
./configure \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--datadir=%{_datadir} \
--sysconfdir=%{_sysconfdir} \
--enable-pkgdocdir=%{pkgdocdir}
# In case you do not get the right sized postscript (or pdf, etc)
# output you can change your LANG variable to for example LANG=C.
# If LANG=C the output will be A4.
make
%install
make DESTDIR=%{buildroot} install
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/apt
%config(noreplace) %{_sysconfdir}/apt/aptate.conf
%{_bindir}/*
%{_mandir}/man?/*
%{_datadir}/apt4rpm
%{_prefix}/lib/apt4rpm
%doc %{pkgdocdir}
%changelog -n apt4rpm
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Aug 18 2005 - cthiel@suse.de
- added --nodigest to RPM_NOSIGNATURE_ARG to speed up aptate
* Thu Aug 18 2005 - cthiel@suse.de
- fixed requires
* Sun Aug 07 2005 - aj@suse.de
- Initial package.