Commit 042eb4f38020522824af331e19b94b7a63dc9362
1 parent
f10a00a3
Exists in
master
and in
5 other branches
Acertando dependências.
Showing
1 changed file
with
7 additions
and
11 deletions
Show diff stats
rpm/pw3270.spec
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | 30 | ||
31 | Name: pw3270 | 31 | Name: pw3270 |
32 | Version: 5.1 | 32 | Version: 5.1 |
33 | -Release: 0 | 33 | +Release: 1 |
34 | Summary: IBM 3270 Terminal emulator for GTK | 34 | Summary: IBM 3270 Terminal emulator for GTK |
35 | License: GPL-2.0 | 35 | License: GPL-2.0 |
36 | Group: System/X11/Terminals | 36 | Group: System/X11/Terminals |
@@ -42,8 +42,7 @@ Source: pw3270-%{version}.tar.bz2 | @@ -42,8 +42,7 @@ Source: pw3270-%{version}.tar.bz2 | ||
42 | BuildRoot: %{_tmppath}/%{name}-%{version}-build | 42 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
43 | 43 | ||
44 | Requires: shared-mime-info | 44 | Requires: shared-mime-info |
45 | -Provides: libpw3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | ||
46 | - | 45 | +Provides: libpw3270-%{_libvrs} |
47 | 46 | ||
48 | #--[ Setup by distribution ]------------------------------------------------------------------------------------------ | 47 | #--[ Setup by distribution ]------------------------------------------------------------------------------------------ |
49 | # | 48 | # |
@@ -140,8 +139,6 @@ Based on the original x3270 code, pw3270 was originally created for Banco do Bra | @@ -140,8 +139,6 @@ Based on the original x3270 code, pw3270 was originally created for Banco do Bra | ||
140 | Summary: 3270 Communication library for %{name} | 139 | Summary: 3270 Communication library for %{name} |
141 | Group: Development/Libraries/C and C++ | 140 | Group: Development/Libraries/C and C++ |
142 | Requires: openssl | 141 | Requires: openssl |
143 | -Provides: lib3270 = %{version} | ||
144 | -Provides: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | ||
145 | 142 | ||
146 | %description -n lib3270-%{_libvrs} | 143 | %description -n lib3270-%{_libvrs} |
147 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. | 144 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. |
@@ -153,18 +150,17 @@ This package contains the tn3270 protocol library for %{name} | @@ -153,18 +150,17 @@ This package contains the tn3270 protocol library for %{name} | ||
153 | %package -n lib3270-devel | 150 | %package -n lib3270-devel |
154 | Summary: Devel for 3270 Communication library for %{name} | 151 | Summary: Devel for 3270 Communication library for %{name} |
155 | Group: Development/Libraries/C and C++ | 152 | Group: Development/Libraries/C and C++ |
156 | -Provides: lib3270-devel-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | ||
157 | -Requires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | 153 | +Requires: lib3270-%{_libvrs} |
158 | 154 | ||
159 | %description -n lib3270-devel | 155 | %description -n lib3270-devel |
160 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. | 156 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. |
161 | This package contains the development files for tn3270 protocol library for %{name} | 157 | This package contains the development files for tn3270 protocol library for %{name} |
162 | 158 | ||
163 | -%package -n %{name}-devel | 159 | +%package devel |
164 | Summary: Files required for development of %{name} plugins | 160 | Summary: Files required for development of %{name} plugins |
165 | Group: Development/Libraries/C and C++ | 161 | Group: Development/Libraries/C and C++ |
166 | -Requires: lib3270-devel-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | ||
167 | -Requires: libpw3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | 162 | +Requires: pkgconfig(lib3270) = %{MAJOR_VERSION}.%{MINOR_VERSION} |
163 | +Requires: libpw3270-%{_libvrs} | ||
168 | 164 | ||
169 | %description -n %{name}-devel | 165 | %description -n %{name}-devel |
170 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. | 166 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. |
@@ -280,7 +276,7 @@ rm -rf %{buildroot} | @@ -280,7 +276,7 @@ rm -rf %{buildroot} | ||
280 | %{_libdir}/lib3270.so | 276 | %{_libdir}/lib3270.so |
281 | %{_datadir}/pw3270/locale | 277 | %{_datadir}/pw3270/locale |
282 | 278 | ||
283 | -%files -n %{name}-devel | 279 | +%files devel |
284 | %defattr(-,root,root) | 280 | %defattr(-,root,root) |
285 | %{_includedir}/pw3270 | 281 | %{_includedir}/pw3270 |
286 | %{_includedir}/pw3270.h | 282 | %{_includedir}/pw3270.h |