]> git.pld-linux.org Git - packages/dia2code.git/blame - dia2code.spec
- added man page, cleanup
[packages/dia2code.git] / dia2code.spec
CommitLineData
9ead1bc6
AG
1Summary: Dia2Code generate code from a Dia diagram
2Summary(pl.UTF-8): Dia2Code generuje kod źródłowy z diagramów Dia
3Name: dia2code
4Version: 0.8.3
5Release: 1
6License: GPL v2+
7Group: Development/Tools
8Source0: http://dl.sourceforge.net/dia2code/%{name}-%{version}.tar.gz
9# Source0-md5: af64302f4e6633f26e28f74cbfbab742
10URL: http://dia2code.sourceforge.net/
11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: libxml2-devel >= 2.4.1
14Requires: libxml2 >= 2.4.1
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Dia2Code is a small utility used to generate code from a Dia diagram.
19Generates code for: Ada, C, C++, Java, PHP, PHP5, Python, Ruby,
20shapefile, SQL and C#.
21
22%description -l pl.UTF-8
23Dia2Code to małe narzędzie, które generuje kod źródłowy z diagramów
24Dia. Generuje kod źródłowy dla języków: Ada, C, C++, Java, PHP, PHP5,
25Python, Ruby, shapefile, SQL oraz C#.
26
27%prep
28%setup -q
29
30%build
31%{__aclocal}
32%{__autoheader}
33%{__automake}
34%{__autoconf}
35%configure
36
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
43
998271ac 44install -d $RPM_BUILD_ROOT%{_mandir}/man1
45install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
46
9ead1bc6
AG
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
998271ac 52%doc AUTHORS ChangeLog README TODO
9ead1bc6 53%attr(755,root,root) %{_bindir}/*
998271ac 54%{_mandir}/man1/%{name}.1*
This page took 0.063853 seconds and 4 git commands to generate.