Summary: Autodia - producing an XML documents from source code or data
Summary(pl): Autodia - tworzenie dokumentów XML z kodu ¼ród³owego lub danych
Name: Autodia
-Version: 1.3
+Version: 2.02
Release: 1
License: GPL
Group: Development/Tools
-# Source0 URL???
Source0: http://droogs.org/autodia/download/%{name}-%{version}.tar.gz
+# Source0-md5: 4c00d58dd9bbbfa386e4d03a82b7a2f8
URL: http://droogs.org/autodia/
+BuildRequires: perl-Template-Toolkit
BuildRequires: rpm-perlprov
-#Requires: dia
+Requires: perl-Inline
+Requires: perl-Inline-Java
+Requires: perl-XML-Simple
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
C++, Javy i PHP. Ten program poprzednio nazywa³ siê AutoDIAL.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
%{__make}
%{__make} test
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) %{_bindir}/*
-%{perl_sitelib}/Autodia.pm
-%{perl_sitelib}/Autodia
+%{perl_vendorlib}/Autodia.pm
+%{perl_vendorlib}/Autodia
%{_mandir}/man3/*