Accepting request 835118 from home:jengelh:branches:science
OBS-URL: https://build.opensuse.org/request/show/835118 OBS-URL: https://build.opensuse.org/package/show/science/conauto?expand=0&rev=1
This commit is contained in:
commit
cd2ad0eda7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
BIN
conauto-2.03.tar.gz
(Stored with Git LFS)
Normal file
BIN
conauto-2.03.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
5
conauto.changes
Normal file
5
conauto.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 17 08:31:52 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Initial package (version 2.03) for build.opensuse.org
|
||||||
|
- Add multipledef.patch
|
49
conauto.spec
Normal file
49
conauto.spec
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#
|
||||||
|
# spec file for package buckygen
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: conauto
|
||||||
|
Version: 2.03
|
||||||
|
Release: 0
|
||||||
|
Summary: Algorithm for graph isomorphism testing and automorphism group computation
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Group: Productivity/Scientific/Math
|
||||||
|
URL: https://sites.google.com/site/giconauto/
|
||||||
|
Source: https://sites.google.com/site/giconauto/home/conauto-2.03.tar.gz
|
||||||
|
#Patch1: multipledef.patch
|
||||||
|
BuildRequires: unzip
|
||||||
|
|
||||||
|
%description
|
||||||
|
The "conauto" algorithm tests whether two graphs are isomorphic. This is the
|
||||||
|
reference implementation.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
pushd src/
|
||||||
|
%make_build OFLAGS="%optflags -fcommon"
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p "%buildroot/%_bindir"
|
||||||
|
cp -a bin/conauto* "%buildroot/%_bindir/"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%_bindir/conauto*
|
||||||
|
%doc src/*.txt
|
||||||
|
|
||||||
|
%changelog
|
36
multipledef.patch
Normal file
36
multipledef.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2020-09-17 10:32:23.591643664 +0200
|
||||||
|
|
||||||
|
It's either gcc -fcommon, or a source patch.
|
||||||
|
|
||||||
|
---
|
||||||
|
src/mismatches.c | 2 ++
|
||||||
|
src/mismatches.h | 2 +-
|
||||||
|
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: conauto-2.03/src/mismatches.c
|
||||||
|
===================================================================
|
||||||
|
--- conauto-2.03.orig/src/mismatches.c
|
||||||
|
+++ conauto-2.03/src/mismatches.c
|
||||||
|
@@ -23,6 +23,8 @@
|
||||||
|
#define TRUE 1
|
||||||
|
#define FALSE 0
|
||||||
|
|
||||||
|
+uint16_t mismatch_found_hash;
|
||||||
|
+
|
||||||
|
void mark_new_mismatch ( Partition *p, uint8_t *mm_marked, Info_Vertex *info_vert, uint16_t mmv )
|
||||||
|
{
|
||||||
|
const MismatchCollection *mm = p->mm_collection;
|
||||||
|
Index: conauto-2.03/src/mismatches.h
|
||||||
|
===================================================================
|
||||||
|
--- conauto-2.03.orig/src/mismatches.h
|
||||||
|
+++ conauto-2.03/src/mismatches.h
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
-uint16_t mismatch_found_hash;
|
||||||
|
+extern uint16_t mismatch_found_hash;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint16_t *mismatch_hash;
|
Loading…
Reference in New Issue
Block a user