]>
Commit | Line | Data |
---|---|---|
9ead1bc6 AG |
1 | Summary: Dia2Code generate code from a Dia diagram |
2 | Summary(pl.UTF-8): Dia2Code generuje kod źródłowy z diagramów Dia | |
3 | Name: dia2code | |
4e729da2 | 4 | Version: 0.8.7 |
9ead1bc6 AG |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: Development/Tools | |
c588119c | 8 | Source0: http://downloads.sourceforge.net/dia2code/%{name}-%{version}.tar.gz |
4e729da2 | 9 | # Source0-md5: cce262f62cf2b07f59c09e17d37f90dd |
9ead1bc6 AG |
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) | |
16 | ||
17 | %description | |
18 | Dia2Code is a small utility used to generate code from a Dia diagram. | |
4e729da2 ŁK |
19 | Generates code for: ActionScript3. Ada, C, C++, C#, Java, PHP(4,5), |
20 | Python, Ruby, shapefile and SQL. | |
9ead1bc6 AG |
21 | |
22 | %description -l pl.UTF-8 | |
23 | Dia2Code to małe narzędzie, które generuje kod źródłowy z diagramów | |
4e729da2 ŁK |
24 | Dia. Generuje kod źródłowy dla języków: ActionScript3, Ada, C, C++, |
25 | C#, Java, PHP(4,5), Python, Ruby, shapefile oraz SQL. | |
9ead1bc6 AG |
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 | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
998271ac | 44 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
4e729da2 | 45 | cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
998271ac | 46 | |
9ead1bc6 AG |
47 | %clean |
48 | rm -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* |