Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 7d94adb51b59ddcdb29afdecad7a1e3f > files > 2

autodia-2.03-2mdv2008.0.src.rpm

%define name	autodia
%define Name	Autodia
%define version	2.03
%define release	%mkrel 2
%define _requires_exceptions perl(Inline::Java)

Name:		    %{name}
Version:	    %{version}
Release:	    %{release}
Summary:	    Automatic Dia/UML generator
License:	    GPL
Group:		    Text tools
URL:		    http://www.aarontrevena.co.uk/opensource/autodia/
Source:		    http://search.cpan.org/CPAN/authors/id/T/TE/TEEJAY/%{Name}-%{version}.tar.bz2
BuildRequires:	perl-devel
BuildArch:	    noarch
BuildRoot:	    %{_tmppath}/%{name}-%{version}

%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 -n %{Name}-%{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}/%{Name}
%{perl_vendorlib}/%{Name}.pm
%{_mandir}/*/*


%changelog
* 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