Commit 24f5761e45af5128ba77f20140a467749b9eda67
1 parent
49ef3fab
Exists in
master
and in
1 other branch
Fixing rpm package name.
Showing
2 changed files
with
115 additions
and
115 deletions
Show diff stats
rpm/pw3270-plugin-dbus.spec
... | ... | @@ -1,115 +0,0 @@ |
1 | -# | |
2 | -# spec file for packages pw3270-plugin-ipc | |
3 | -# | |
4 | -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | |
5 | -# Copyright (C) <2008> <Banco do Brasil S.A.> | |
6 | -# | |
7 | -# All modifications and additions to the file contributed by third parties | |
8 | -# remain the property of their copyright owners, unless otherwise agreed | |
9 | -# upon. The license for this file, and modifications and additions to the | |
10 | -# file, is the same license as for the pristine package itself (unless the | |
11 | -# license for the pristine package is not an Open Source License, in which | |
12 | -# case the license is the MIT License). An "Open Source License" is a | |
13 | -# license that conforms to the Open Source Definition (Version 1.9) | |
14 | -# published by the Open Source Initiative. | |
15 | - | |
16 | -# Please submit bugfixes or comments via http://bugs.opensuse.org/ | |
17 | -# | |
18 | - | |
19 | -#---[ Versions ]------------------------------------------------------------------------------------------------------ | |
20 | - | |
21 | -%define MAJOR_VERSION 5 | |
22 | -%define MINOR_VERSION 2 | |
23 | - | |
24 | -#---[ Macros ]-------------------------------------------------------------------------------------------------------- | |
25 | - | |
26 | -%if ! %{defined _release} | |
27 | - %define _release suse%{suse_version} | |
28 | -%endif | |
29 | - | |
30 | -#---[ Main package ]-------------------------------------------------------------------------------------------------- | |
31 | - | |
32 | -Summary: D-Bus based IPC plugin for pw3270 (Compatible version) | |
33 | -Name: pw3270-plugin-dbus | |
34 | -Version: 5.2 | |
35 | -Release: 0 | |
36 | -License: LGPL-3.0 | |
37 | -Source: %{name}-%{version}.tar.xz | |
38 | - | |
39 | -Url: https://portal.softwarepublico.gov.br/social/pw3270/ | |
40 | - | |
41 | -Group: System/X11/Terminals | |
42 | -BuildRoot: /var/tmp/%{name}-%{version} | |
43 | - | |
44 | -BuildRequires: libv3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel | |
45 | -BuildRequires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel | |
46 | -BuildRequires: pw3270-devel >= 5.2 | |
47 | -BuildRequires: autoconf >= 2.61 | |
48 | -BuildRequires: automake | |
49 | -BuildRequires: binutils | |
50 | -BuildRequires: coreutils | |
51 | -BuildRequires: gcc-c++ | |
52 | -BuildRequires: gettext-devel | |
53 | -BuildRequires: m4 | |
54 | - | |
55 | -%if 0%{?fedora} || 0%{?suse_version} > 1200 | |
56 | - | |
57 | -BuildRequires: pkgconfig(dbus-1) | |
58 | -BuildRequires: pkgconfig(dbus-glib-1) | |
59 | -BuildRequires: pkgconfig(gtk+-3.0) | |
60 | - | |
61 | -%else | |
62 | - | |
63 | -BuildRequires: openssl-devel | |
64 | -BuildRequires: dbus-1-devel | |
65 | -BuildRequires: gtk3-devel | |
66 | - | |
67 | -%endif | |
68 | - | |
69 | -%description | |
70 | - | |
71 | -D-Bus plugin for compatibility with pw3270 5.1 language bindings. | |
72 | - | |
73 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
74 | - | |
75 | -#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
76 | - | |
77 | -%prep | |
78 | -%setup | |
79 | - | |
80 | -NOCONFIGURE=1 ./autogen.sh | |
81 | - | |
82 | -%configure \ | |
83 | - --with-sdk-version=%{version} | |
84 | - | |
85 | -%build | |
86 | -make clean | |
87 | -make all | |
88 | - | |
89 | -%install | |
90 | -rm -rf $RPM_BUILD_ROOT | |
91 | - | |
92 | -make \ | |
93 | - DESTDIR=%{?buildroot:%{buildroot}} \ | |
94 | - install-plugin | |
95 | - | |
96 | -%files | |
97 | -%defattr(-,root,root) | |
98 | -%doc AUTHORS LICENSE README.md | |
99 | - | |
100 | -%{_libdir}/pw3270-plugins/*.so | |
101 | - | |
102 | -%pre | |
103 | -/sbin/ldconfig | |
104 | -exit 0 | |
105 | - | |
106 | -%post | |
107 | -/sbin/ldconfig | |
108 | -exit 0 | |
109 | - | |
110 | -%postun | |
111 | -/sbin/ldconfig | |
112 | -exit 0 | |
113 | - | |
114 | -%changelog | |
115 | - |
... | ... | @@ -0,0 +1,115 @@ |
1 | +# | |
2 | +# spec file for packages pw3270-plugin-ipc | |
3 | +# | |
4 | +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | |
5 | +# Copyright (C) <2008> <Banco do Brasil S.A.> | |
6 | +# | |
7 | +# All modifications and additions to the file contributed by third parties | |
8 | +# remain the property of their copyright owners, unless otherwise agreed | |
9 | +# upon. The license for this file, and modifications and additions to the | |
10 | +# file, is the same license as for the pristine package itself (unless the | |
11 | +# license for the pristine package is not an Open Source License, in which | |
12 | +# case the license is the MIT License). An "Open Source License" is a | |
13 | +# license that conforms to the Open Source Definition (Version 1.9) | |
14 | +# published by the Open Source Initiative. | |
15 | + | |
16 | +# Please submit bugfixes or comments via http://bugs.opensuse.org/ | |
17 | +# | |
18 | + | |
19 | +#---[ Versions ]------------------------------------------------------------------------------------------------------ | |
20 | + | |
21 | +%define MAJOR_VERSION 5 | |
22 | +%define MINOR_VERSION 2 | |
23 | + | |
24 | +#---[ Macros ]-------------------------------------------------------------------------------------------------------- | |
25 | + | |
26 | +%if ! %{defined _release} | |
27 | + %define _release suse%{suse_version} | |
28 | +%endif | |
29 | + | |
30 | +#---[ Main package ]-------------------------------------------------------------------------------------------------- | |
31 | + | |
32 | +Summary: HLLAPI plugin and client library for pw3270 | |
33 | +Name: pw3270-plugin-hllapi | |
34 | +Version: 5.2 | |
35 | +Release: 0 | |
36 | +License: LGPL-3.0 | |
37 | +Source: %{name}-%{version}.tar.xz | |
38 | + | |
39 | +Url: https://portal.softwarepublico.gov.br/social/pw3270/ | |
40 | + | |
41 | +Group: System/X11/Terminals | |
42 | +BuildRoot: /var/tmp/%{name}-%{version} | |
43 | + | |
44 | +BuildRequires: libv3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel | |
45 | +BuildRequires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel | |
46 | +BuildRequires: pw3270-devel >= 5.2 | |
47 | +BuildRequires: autoconf >= 2.61 | |
48 | +BuildRequires: automake | |
49 | +BuildRequires: binutils | |
50 | +BuildRequires: coreutils | |
51 | +BuildRequires: gcc-c++ | |
52 | +BuildRequires: gettext-devel | |
53 | +BuildRequires: m4 | |
54 | + | |
55 | +%if 0%{?fedora} || 0%{?suse_version} > 1200 | |
56 | + | |
57 | +BuildRequires: pkgconfig(dbus-1) | |
58 | +BuildRequires: pkgconfig(dbus-glib-1) | |
59 | +BuildRequires: pkgconfig(gtk+-3.0) | |
60 | + | |
61 | +%else | |
62 | + | |
63 | +BuildRequires: openssl-devel | |
64 | +BuildRequires: dbus-1-devel | |
65 | +BuildRequires: gtk3-devel | |
66 | + | |
67 | +%endif | |
68 | + | |
69 | +%description | |
70 | + | |
71 | +Plugin and client library for compatibility with the old HLLAPI. | |
72 | + | |
73 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
74 | + | |
75 | +#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
76 | + | |
77 | +%prep | |
78 | +%setup | |
79 | + | |
80 | +NOCONFIGURE=1 ./autogen.sh | |
81 | + | |
82 | +%configure \ | |
83 | + --with-sdk-version=%{version} | |
84 | + | |
85 | +%build | |
86 | +make clean | |
87 | +make all | |
88 | + | |
89 | +%install | |
90 | +rm -rf $RPM_BUILD_ROOT | |
91 | + | |
92 | +make \ | |
93 | + DESTDIR=%{?buildroot:%{buildroot}} \ | |
94 | + install | |
95 | + | |
96 | +%files | |
97 | +%defattr(-,root,root) | |
98 | +%doc AUTHORS LICENSE README.md | |
99 | + | |
100 | +%{_libdir}/pw3270-plugins/*.so | |
101 | + | |
102 | +%pre | |
103 | +/sbin/ldconfig | |
104 | +exit 0 | |
105 | + | |
106 | +%post | |
107 | +/sbin/ldconfig | |
108 | +exit 0 | |
109 | + | |
110 | +%postun | |
111 | +/sbin/ldconfig | |
112 | +exit 0 | |
113 | + | |
114 | +%changelog | |
115 | + | ... | ... |