Commit dad7750d9fdd4a2bd6d9db13681c393e68682eda

Authored by Perry Werneck
1 parent bc1f81ea
Exists in master

Updating package information.

README.md
... ... @@ -0,0 +1,14 @@
  1 +Python Extension Module implementing tn3270 protocol
  2 +====================================================
  3 +
  4 +Created originally as part of PW3270 application.
  5 +
  6 +See more details at https://softwarepublico.gov.br/social/pw3270/
  7 +
  8 +Installation repositories
  9 +=========================
  10 +
  11 + You can find instalation repositories in SuSE Build Service:
  12 +
  13 + * Linux (Many distributions): https://build.opensuse.org/project/show/home:PerryWerneck:pw3270
  14 +
... ...
rpm/_service 0 → 100644
... ... @@ -0,0 +1,25 @@
  1 +<services>
  2 +
  3 + <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py -->
  4 + <service name="tar_scm">
  5 + <param name="changesgenerate">enable</param>
  6 + <param name="sslverify">disable</param>
  7 + <param name="versionformat">@PARENT_TAG@</param>
  8 + <param name="url">https://github.com/PerryWerneck/lib3270-python-bindings.git</param>
  9 + <param name="scm">git</param>
  10 + </service>
  11 +
  12 + <!-- https://github.com/openSUSE/obs-service-extract_file -->
  13 + <!-- service name="extract_file">
  14 + <param name="archive">*.tar</param>
  15 + <param name="files">*/rpm/*.spec</param>
  16 + </service -->
  17 +
  18 + <service name="recompress">
  19 + <param name="file">*.tar</param>
  20 + <param name="compression">xz</param>
  21 + </service>
  22 +
  23 + <service name="set_version" />
  24 +
  25 +</services>
... ...
rpm/lib3270-python-bindings.spec 0 → 100644
... ... @@ -0,0 +1,68 @@
  1 +
  2 +%define pythonextpath %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
  3 +
  4 +Summary: Python Extension Module implementing tn3270 protocol
  5 +Name: lib3270-python-bindings
  6 +Version: 5.1
  7 +Release: 0
  8 +License: GPL-2.0
  9 +Source: %{name}-%{version}.tar.xz
  10 +URL: https://portal.softwarepublico.gov.br/social/pw3270/
  11 +Group: Development/Libraries/Python
  12 +
  13 +BuildRoot: /var/tmp/%{name}-%{version}
  14 +
  15 +BuildRequires: autoconf >= 2.61
  16 +BuildRequires: automake
  17 +BuildRequires: binutils
  18 +BuildRequires: coreutils
  19 +BuildRequires: gcc-c++
  20 +BuildRequires: m4
  21 +BuildRequires: pkgconfig
  22 +BuildRequires: pkgconfig(pw3270) >= 5.1
  23 +BuildRequires: fdupes
  24 +
  25 +BuildRequires: python
  26 +BuildRequires: pkgconfig(python)
  27 +
  28 +Requires: python
  29 +Requires: dbus-1
  30 +
  31 +%description
  32 +
  33 +This is an extension for acessing 3270 hosts directly
  34 +from python apps.
  35 +
  36 +%prep
  37 +
  38 +%setup
  39 +
  40 +export CFLAGS="$RPM_OPT_FLAGS"
  41 +export CXXFLAGS="$RPM_OPT_FLAGS"
  42 +export FFLAGS="$RPM_OPT_FLAGS"
  43 +
  44 +aclocal
  45 +autoconf
  46 +%configure
  47 +
  48 +%build
  49 +make clean
  50 +make Release
  51 +
  52 +%install
  53 +rm -rf $RPM_BUILD_ROOT
  54 +
  55 +%make_install
  56 +
  57 +%fdupes $RPM_BUILD_ROOT
  58 +
  59 +%clean
  60 +rm -rf $RPM_BUILD_ROOT
  61 +
  62 +%files
  63 +%defattr(-,root,root)
  64 +%{pythonextpath}/py3270.so
  65 +
  66 +%changelog
  67 +
  68 +
... ...
rpm/python-pw3270.spec
... ... @@ -1,69 +0,0 @@
1   -
2   -%define pythonextpath %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
3   -
4   -Summary: Python Extension Module implementing tn3270 protocol
5   -Name: python-pw3270
6   -Version: 5.1
7   -Release: 0
8   -License: GPL-2.0
9   -Source: %{name}-%{version}.tar.bz2
10   -URL: https://portal.softwarepublico.gov.br/social/pw3270/
11   -Group: Development/Libraries/Python
12   -
13   -BuildRoot: /var/tmp/%{name}-%{version}
14   -
15   -BuildRequires: autoconf >= 2.61
16   -BuildRequires: automake
17   -BuildRequires: binutils
18   -BuildRequires: coreutils
19   -BuildRequires: gcc-c++
20   -BuildRequires: m4
21   -BuildRequires: pkgconfig
22   -BuildRequires: pkgconfig(pw3270) >= 5.1
23   -BuildRequires: fdupes
24   -
25   -BuildRequires: python
26   -BuildRequires: pkgconfig(python)
27   -
28   -Requires: python
29   -Requires: lib3270 >= 5.1
30   -Requires: dbus-1
31   -
32   -%description
33   -
34   -This is an extension for acessing 3270 hosts directly
35   -from python apps.
36   -
37   -%prep
38   -
39   -%setup
40   -
41   -export CFLAGS="$RPM_OPT_FLAGS"
42   -export CXXFLAGS="$RPM_OPT_FLAGS"
43   -export FFLAGS="$RPM_OPT_FLAGS"
44   -
45   -aclocal
46   -autoconf
47   -%configure
48   -
49   -%build
50   -make clean
51   -make Release
52   -
53   -%install
54   -rm -rf $RPM_BUILD_ROOT
55   -
56   -%make_install
57   -
58   -%fdupes $RPM_BUILD_ROOT
59   -
60   -%clean
61   -rm -rf $RPM_BUILD_ROOT
62   -
63   -%files
64   -%defattr(-,root,root)
65   -%{pythonextpath}/py3270.so
66   -
67   -%changelog
68   -
69   -