1 Summary: Dia2Code generate code from a Dia diagram
2 Summary(pl.UTF-8): Dia2Code generuje kod źródłowy z diagramów Dia
7 Group: Development/Tools
8 Source0: http://downloads.sourceforge.net/dia2code/%{name}-%{version}.tar.gz
9 # Source0-md5: 482480ae0738f9618d48d47b4f5627cd
10 URL: http://dia2code.sourceforge.net/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libxml2-devel >= 2.4.1
14 Requires: libxml2 >= 2.4.1
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Dia2Code is a small utility used to generate code from a Dia diagram.
19 Generates code for: Ada, C, C++, Java, PHP, PHP5, Python, Ruby,
20 shapefile, SQL and C#.
22 %description -l pl.UTF-8
23 Dia2Code to małe narzędzie, które generuje kod źródłowy z diagramów
24 Dia. Generuje kod źródłowy dla języków: Ada, C, C++, Java, PHP, PHP5,
25 Python, Ruby, shapefile, SQL oraz C#.
40 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_mandir}/man1
45 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc AUTHORS ChangeLog README TODO
53 %attr(755,root,root) %{_bindir}/*
54 %{_mandir}/man1/%{name}.1*