Commit 360f4bf7ead969dbcc828bf495850187fc147801
1 parent
29163277
Exists in
master
and in
1 other branch
Updating package definition files.
Showing
2 changed files
with
96 additions
and
19 deletions
Show diff stats
win/mingw32-libv3270.spec
@@ -44,8 +44,8 @@ Url: https://portal.softwarepublico.gov.br/social/pw3270/ | @@ -44,8 +44,8 @@ Url: https://portal.softwarepublico.gov.br/social/pw3270/ | ||
44 | Group: Development/Libraries/C and C++ | 44 | Group: Development/Libraries/C and C++ |
45 | BuildRoot: /var/tmp/%{name}-%{version} | 45 | BuildRoot: /var/tmp/%{name}-%{version} |
46 | 46 | ||
47 | -Provides: mingw32-libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
48 | -Conflicts: otherproviders(mingw32-libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) | 47 | +Provides: mingw32-libv3270 |
48 | +Conflicts: otherproviders(mingw32-libv3270) | ||
49 | 49 | ||
50 | BuildRequires: autoconf | 50 | BuildRequires: autoconf |
51 | BuildRequires: automake | 51 | BuildRequires: automake |
@@ -64,7 +64,7 @@ BuildRequires: mingw32(pkg:gtk+-win32-3.0) | @@ -64,7 +64,7 @@ BuildRequires: mingw32(pkg:gtk+-win32-3.0) | ||
64 | BuildRequires: mingw32(lib:iconv) | 64 | BuildRequires: mingw32(lib:iconv) |
65 | BuildRequires: mingw32(lib:intl) | 65 | BuildRequires: mingw32(lib:intl) |
66 | 66 | ||
67 | -BuildRequires: mingw32(pkg:lib3270) >= 5.2 | 67 | +BuildRequires: mingw32-lib3270-%{_libvrs}-devel |
68 | 68 | ||
69 | %description | 69 | %description |
70 | 70 | ||
@@ -78,7 +78,9 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -78,7 +78,9 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
78 | 78 | ||
79 | Summary: 3270 Virtual Terminal for GTK development files | 79 | Summary: 3270 Virtual Terminal for GTK development files |
80 | Group: Development/Libraries/C and C++ | 80 | Group: Development/Libraries/C and C++ |
81 | + | ||
81 | Requires: %{name} = %{version} | 82 | Requires: %{name} = %{version} |
83 | +Requires: mingw32-lib3270-%{_libvrs}-devel | ||
82 | 84 | ||
83 | Provides: mingw32-libv3270-devel = %{version} | 85 | Provides: mingw32-libv3270-devel = %{version} |
84 | Conflicts: otherproviders(mingw32-libv3270-devel) | 86 | Conflicts: otherproviders(mingw32-libv3270-devel) |
@@ -91,6 +93,26 @@ Originally designed as part of the pw3270 application. | @@ -91,6 +93,26 @@ Originally designed as part of the pw3270 application. | ||
91 | 93 | ||
92 | See more details at https://softwarepublico.gov.br/social/pw3270/ | 94 | See more details at https://softwarepublico.gov.br/social/pw3270/ |
93 | 95 | ||
96 | +%package -n mingw32-glade-catalog-v3270 | ||
97 | + | ||
98 | +Summary: Glade catalog for the TN3270 terminal emulator library | ||
99 | +Group: Development/Libraries/C and C++ | ||
100 | + | ||
101 | +Requires: libv3270-devel = %{version} | ||
102 | +Requires: glade | ||
103 | + | ||
104 | +%description -n mingw32-glade-catalog-v3270 | ||
105 | + | ||
106 | +3270 Virtual Terminal for GTK development files. | ||
107 | + | ||
108 | +Originally designed as part of the pw3270 application. | ||
109 | + | ||
110 | +This package provides a catalog for Glade, to allow the use of V3270 | ||
111 | +widgets in Glade. | ||
112 | + | ||
113 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
114 | + | ||
115 | + | ||
94 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- | 116 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
95 | 117 | ||
96 | %prep | 118 | %prep |
@@ -107,7 +129,7 @@ make all | @@ -107,7 +129,7 @@ make all | ||
107 | 129 | ||
108 | %{_mingw32_strip} \ | 130 | %{_mingw32_strip} \ |
109 | --strip-all \ | 131 | --strip-all \ |
110 | - .bin/libv3270/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | 132 | + .bin/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} |
111 | 133 | ||
112 | %install | 134 | %install |
113 | %{_mingw32_makeinstall} | 135 | %{_mingw32_makeinstall} |
@@ -127,11 +149,27 @@ rm -rf %{buildroot} | @@ -127,11 +149,27 @@ rm -rf %{buildroot} | ||
127 | 149 | ||
128 | %files devel | 150 | %files devel |
129 | %defattr(-,root,root) | 151 | %defattr(-,root,root) |
130 | -%{_mingw32_includedir}/libv3270 | ||
131 | -%{_mingw32_includedir}/libv3270.h | ||
132 | -%{_mingw32_libdir}/pkgconfig/libv3270.pc | 152 | +%{_mingw32_includedir}/v3270 |
153 | +%{_mingw32_includedir}/v3270.h | ||
154 | + | ||
155 | +%{_mingw32_libdir}/pkgconfig/*.pc | ||
156 | +%{_mingw32_libdir}/*.a | ||
157 | + | ||
158 | +%files -n mingw32-glade-catalog-v3270 | ||
159 | +%defattr(-,root,root) | ||
133 | 160 | ||
134 | -%{_mingw32_libdir}/libv3270.a | 161 | +%dir %{_mingw32_datadir}/glade |
162 | +%dir %{_mingw32_datadir}/glade/catalogs | ||
163 | +%{_mingw32_datadir}/glade/catalogs/v3270.xml | ||
164 | + | ||
165 | +%dir %{_mingw32_datadir}/glade/pixmaps | ||
166 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor | ||
167 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/16x16 | ||
168 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/22x22 | ||
169 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/16x16/actions | ||
170 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/22x22/actions | ||
171 | +%{_mingw32_datadir}/glade/pixmaps/hicolor/16x16/actions/widget-v3270-terminal.png | ||
172 | +%{_mingw32_datadir}/glade/pixmaps/hicolor/22x22/actions/widget-v3270-terminal.png | ||
135 | 173 | ||
136 | %changelog | 174 | %changelog |
137 | 175 |
win/mingw64-libv3270.spec
1 | # | 1 | # |
2 | -# spec file for package mingw32-lib3279 | 2 | +# spec file for package mingw64-libv3270 |
3 | # | 3 | # |
4 | # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. | 4 | # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 | # Copyright (C) <2008> <Banco do Brasil S.A.> | 5 | # Copyright (C) <2008> <Banco do Brasil S.A.> |
@@ -32,24 +32,25 @@ | @@ -32,24 +32,25 @@ | ||
32 | #---[ Main package ]-------------------------------------------------------------------------------------------------- | 32 | #---[ Main package ]-------------------------------------------------------------------------------------------------- |
33 | 33 | ||
34 | Summary: 3270 Virtual Terminal for GTK | 34 | Summary: 3270 Virtual Terminal for GTK |
35 | -Name: mingw64-lib3270-%{_libvrs} | 35 | +Name: mingw64-libv3270-%{_libvrs} |
36 | Version: 5.2 | 36 | Version: 5.2 |
37 | Release: 0 | 37 | Release: 0 |
38 | License: GPL-2.0 | 38 | License: GPL-2.0 |
39 | 39 | ||
40 | -Source: %{name}-%{version}.tar.xz | 40 | +Source: %{name}-%{version}.tar.xz |
41 | 41 | ||
42 | Url: https://portal.softwarepublico.gov.br/social/pw3270/ | 42 | Url: https://portal.softwarepublico.gov.br/social/pw3270/ |
43 | 43 | ||
44 | Group: Development/Libraries/C and C++ | 44 | Group: Development/Libraries/C and C++ |
45 | BuildRoot: /var/tmp/%{name}-%{version} | 45 | BuildRoot: /var/tmp/%{name}-%{version} |
46 | 46 | ||
47 | -Provides: mingw32-libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
48 | -Conflicts: otherproviders(mingw32-libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) | 47 | +Provides: mingw64-libv3270 |
48 | +Conflicts: otherproviders(mingw64-libv3270) | ||
49 | 49 | ||
50 | BuildRequires: autoconf | 50 | BuildRequires: autoconf |
51 | BuildRequires: automake | 51 | BuildRequires: automake |
52 | BuildRequires: gettext-tools | 52 | BuildRequires: gettext-tools |
53 | +BuildRequires: pkgconfig(glib-2.0) | ||
53 | 54 | ||
54 | BuildRequires: mingw64-cross-binutils | 55 | BuildRequires: mingw64-cross-binutils |
55 | BuildRequires: mingw64-cross-gcc | 56 | BuildRequires: mingw64-cross-gcc |
@@ -63,7 +64,7 @@ BuildRequires: mingw64(pkg:gtk+-win32-3.0) | @@ -63,7 +64,7 @@ BuildRequires: mingw64(pkg:gtk+-win32-3.0) | ||
63 | BuildRequires: mingw64(lib:iconv) | 64 | BuildRequires: mingw64(lib:iconv) |
64 | BuildRequires: mingw64(lib:intl) | 65 | BuildRequires: mingw64(lib:intl) |
65 | 66 | ||
66 | -BuildRequires: mingw64(lib:3270) | 67 | +BuildRequires: mingw64-lib3270-%{_libvrs}-devel |
67 | 68 | ||
68 | %description | 69 | %description |
69 | 70 | ||
@@ -77,7 +78,9 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -77,7 +78,9 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
77 | 78 | ||
78 | Summary: 3270 Virtual Terminal for GTK development files | 79 | Summary: 3270 Virtual Terminal for GTK development files |
79 | Group: Development/Libraries/C and C++ | 80 | Group: Development/Libraries/C and C++ |
81 | + | ||
80 | Requires: %{name} = %{version} | 82 | Requires: %{name} = %{version} |
83 | +Requires: mingw64-lib3270-%{_libvrs}-devel | ||
81 | 84 | ||
82 | Provides: mingw64-libv3270-devel = %{version} | 85 | Provides: mingw64-libv3270-devel = %{version} |
83 | Conflicts: otherproviders(mingw64-libv3270-devel) | 86 | Conflicts: otherproviders(mingw64-libv3270-devel) |
@@ -90,6 +93,26 @@ Originally designed as part of the pw3270 application. | @@ -90,6 +93,26 @@ Originally designed as part of the pw3270 application. | ||
90 | 93 | ||
91 | See more details at https://softwarepublico.gov.br/social/pw3270/ | 94 | See more details at https://softwarepublico.gov.br/social/pw3270/ |
92 | 95 | ||
96 | +%package -n mingw64-glade-catalog-v3270 | ||
97 | + | ||
98 | +Summary: Glade catalog for the TN3270 terminal emulator library | ||
99 | +Group: Development/Libraries/C and C++ | ||
100 | + | ||
101 | +Requires: libv3270-devel = %{version} | ||
102 | +Requires: glade | ||
103 | + | ||
104 | +%description -n mingw64-glade-catalog-v3270 | ||
105 | + | ||
106 | +3270 Virtual Terminal for GTK development files. | ||
107 | + | ||
108 | +Originally designed as part of the pw3270 application. | ||
109 | + | ||
110 | +This package provides a catalog for Glade, to allow the use of V3270 | ||
111 | +widgets in Glade. | ||
112 | + | ||
113 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
114 | + | ||
115 | + | ||
93 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- | 116 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
94 | 117 | ||
95 | %prep | 118 | %prep |
@@ -106,7 +129,7 @@ make all | @@ -106,7 +129,7 @@ make all | ||
106 | 129 | ||
107 | %{_mingw64_strip} \ | 130 | %{_mingw64_strip} \ |
108 | --strip-all \ | 131 | --strip-all \ |
109 | - .bin/libv3270/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | 132 | + .bin/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} |
110 | 133 | ||
111 | %install | 134 | %install |
112 | %{_mingw64_makeinstall} | 135 | %{_mingw64_makeinstall} |
@@ -126,11 +149,27 @@ rm -rf %{buildroot} | @@ -126,11 +149,27 @@ rm -rf %{buildroot} | ||
126 | 149 | ||
127 | %files devel | 150 | %files devel |
128 | %defattr(-,root,root) | 151 | %defattr(-,root,root) |
129 | -%{_mingw64_includedir}/libv3270 | ||
130 | -%{_mingw64_includedir}/libv3270.h | ||
131 | -%{_mingw64_libdir}/pkgconfig/libv3270.pc | 152 | +%{_mingw64_includedir}/v3270 |
153 | +%{_mingw64_includedir}/v3270.h | ||
154 | + | ||
155 | +%{_mingw64_libdir}/pkgconfig/*.pc | ||
156 | +%{_mingw64_libdir}/*.a | ||
157 | + | ||
158 | +%files -n mingw64-glade-catalog-v3270 | ||
159 | +%defattr(-,root,root) | ||
132 | 160 | ||
133 | -%{_mingw64_libdir}/libv3270.a | 161 | +%dir %{_mingw64_datadir}/glade |
162 | +%dir %{_mingw64_datadir}/glade/catalogs | ||
163 | +%{_mingw64_datadir}/glade/catalogs/v3270.xml | ||
164 | + | ||
165 | +%dir %{_mingw64_datadir}/glade/pixmaps | ||
166 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor | ||
167 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/16x16 | ||
168 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/22x22 | ||
169 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/16x16/actions | ||
170 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/22x22/actions | ||
171 | +%{_mingw64_datadir}/glade/pixmaps/hicolor/16x16/actions/widget-v3270-terminal.png | ||
172 | +%{_mingw64_datadir}/glade/pixmaps/hicolor/22x22/actions/widget-v3270-terminal.png | ||
134 | 173 | ||
135 | %changelog | 174 | %changelog |
136 | 175 |