Sophie

Sophie

distrib > Mandriva > 10.1 > i586 > by-pkgid > 9714c8e939d900b90f621f74821c5fd0 > files > 2

autodia-1.99-2mdk.src.rpm

%define name	autodia
%define Name	Autodia
%define version	1.99
%define release	2mdk

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

%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
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make

%install
rm -rf $RPM_BUILD_ROOT
make PREFIX=$RPM_BUILD_ROOT%{_prefix} install
# what does script do there ?
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/*.pl

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc CHANGES COPYING CREDITS FAQ README INSTALL TODO
%{_bindir}/*
%{perl_vendorlib}/%{Name}
%{perl_vendorlib}/%{Name}.pm
%{_mandir}/*/*

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