]> git.pld-linux.org Git - packages/dia2code.git/commitdiff
- new, from Lukasz Kies <kiesiu // kiesiu.com>
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 18 Oct 2008 17:12:02 +0000 (17:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dia2code.spec -> 1.1

dia2code.spec [new file with mode: 0644]

diff --git a/dia2code.spec b/dia2code.spec
new file mode 100644 (file)
index 0000000..c6ef601
--- /dev/null
@@ -0,0 +1,50 @@
+Summary:       Dia2Code generate code from a Dia diagram
+Summary(pl.UTF-8):     Dia2Code generuje kod źródłowy z diagramów Dia
+Name:          dia2code
+Version:       0.8.3
+Release:       1
+License:       GPL v2+
+Group:         Development/Tools
+Source0:       http://dl.sourceforge.net/dia2code/%{name}-%{version}.tar.gz
+# Source0-md5: af64302f4e6633f26e28f74cbfbab742
+URL:           http://dia2code.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libxml2-devel >= 2.4.1
+Requires:      libxml2 >= 2.4.1
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Dia2Code is a small utility used to generate code from a Dia diagram.
+Generates code for: Ada, C, C++, Java, PHP, PHP5, Python, Ruby,
+shapefile, SQL and C#.
+
+%description -l pl.UTF-8
+Dia2Code to małe narzędzie, które generuje kod źródłowy z diagramów
+Dia. Generuje kod źródłowy dla języków: Ada, C, C++, Java, PHP, PHP5,
+Python, Ruby, shapefile, SQL oraz C#.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README* TODO
+%attr(755,root,root) %{_bindir}/*
This page took 0.076056 seconds and 4 git commands to generate.