[packages/dia2code] - up to 1.0.0
mrozowik
mrozowik at pld-linux.org
Thu Aug 7 15:17:51 CEST 2025
commit bd1b7db53c63c4f5f636d66106edade353696a8d
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Thu Aug 7 13:17:39 2025 +0000
- up to 1.0.0
dia2code-1.0.0-fix-imports.patch | 11 +++++++++++
dia2code.spec | 14 ++++++--------
2 files changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/dia2code.spec b/dia2code.spec
index bf305b2..2868867 100644
--- a/dia2code.spec
+++ b/dia2code.spec
@@ -1,12 +1,13 @@
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.7
-Release: 3
+Version: 1.0.0
+Release: 1
License: GPL v2+
Group: Development/Tools
Source0: http://downloads.sourceforge.net/dia2code/%{name}-%{version}.tar.gz
-# Source0-md5: cce262f62cf2b07f59c09e17d37f90dd
+# Source0-md5: 496a8b855c1db4143b40eb11f5adbc30
+Patch0: dia2code-1.0.0-fix-imports.patch
URL: http://dia2code.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -26,12 +27,9 @@ C#, Java, PHP(4,5), Python, Ruby, shapefile oraz SQL.
%prep
%setup -q
+%patch -P0 -p1
%build
-%{__aclocal}
-%{__autoheader}
-%{__automake}
-%{__autoconf}
%configure
%{__make}
@@ -42,7 +40,7 @@ rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_mandir}/man1
-cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p docs/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/dia2code-1.0.0-fix-imports.patch b/dia2code-1.0.0-fix-imports.patch
new file mode 100644
index 0000000..e9affc5
--- /dev/null
+++ b/dia2code-1.0.0-fix-imports.patch
@@ -0,0 +1,11 @@
+--- a/src/decls.hpp
++++ b/src/decls.hpp
+@@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ #include "config.h"
+
+ #include "umlPackage.hpp"
++#include <cinttypes>
+
+ /* Package processing auxiliary structure:
+ "Declarations" are UML packages (which map to IDL module or C++
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dia2code.git/commitdiff/bd1b7db53c63c4f5f636d66106edade353696a8d
More information about the pld-cvs-commit
mailing list