%define upstream_name Autodia %define upstream_version 2.10 Name: autodia Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Automatic Dia/UML generator License: GPL Group: Text tools Url: http://www.aarontrevena.co.uk/opensource/autodia/ Source0: http://search.cpan.org/CPAN/authors/id/T/TE/TEEJAY/%{upstream_name}-%{upstream_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description AutoDia is a modular application that parses source code or data (if a handler is available) and produces an XML document in Dia format, essentially a Dia diagram autocreation package. The diagrams its creates are standard UML diagrams showing dependencies, superclasses, packages, classes and inheritances, as well as the methods, etc of each class. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf %{buildroot} %makeinstall_std # what does script do there ? rm -f %{buildroot}%{perl_vendorlib}/*.pl %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES COPYING CREDITS FAQ README INSTALL TODO %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Sat Jan 16 2010 Jérôme Quelin <jquelin@mandriva.org> 2.100.0-1mdv2010.1 + Revision: 492210 - update to 2.10 * Thu Sep 10 2009 Thierry Vignaud <tvignaud@mandriva.com> 2.08-2mdv2010.0 + Revision: 436683 - rebuild * Fri Mar 13 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.08-1mdv2009.1 + Revision: 354510 - update to new version 2.08 * Tue Jul 22 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.03-4mdv2009.0 + Revision: 240434 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Tue Sep 11 2007 Emmanuel Andry <eandry@mandriva.org> 2.03-2mdv2008.0 + Revision: 84518 - rebuild - Import autodia * Fri Aug 25 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.03-1 - New version 2.03 - fix URL - %%mkrel * Wed Aug 17 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.01-2mdk - exception for Inline::Java, as it is impossible to package * Mon Apr 11 2005 Guillaume Rousse <guillomovitch@mandrake.org> 2.01-1mdk - new version * Fri Jul 09 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.99-2mdk - rebuild to have proper M.. words * Thu Apr 22 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.99-1mdk - new release - rpmbuildupdate aware * Tue Nov 25 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 1.8-1mdk - 1.8 * Thu Apr 03 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.6-1mdk - first mdk release