Commit c30d0b3694ac4ded3d92a3d5bf808373803a9b22

Authored by Perry Werneck
1 parent 847a030e
Exists in master and in 1 other branch develop

Updating package.

Showing 1 changed file with 10 additions and 4 deletions   Show diff stats
win/x86_32/mingw32-libipc3270.spec
1 1 #
2   -# spec file for package mingw32-%{_libname}
  2 +# spec file for package mingw32-libipc3270
3 3 #
4 4 # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
5 5 # Copyright (C) <2008> <Banco do Brasil S.A.>
... ... @@ -30,7 +30,7 @@
30 30  
31 31 Summary: lib3270/pw3270 IPC client library for 32 bits Windows
32 32 Name: mingw32-%{_libname}
33   -Version: 5.2
  33 +Version: 5.3
34 34 Release: 0
35 35 License: LGPL-3.0
36 36  
... ... @@ -76,6 +76,9 @@ For more details, see https://softwarepublico.gov.br/social/pw3270/ .
76 76 Summary: TN3270 Access library
77 77 Group: Development/Libraries/C and C++
78 78  
  79 +Provides: mingw32-%{_libname} = %{version}
  80 +Conflicts: otherproviders(mingw32-%{_libname})
  81 +
79 82 %description -n %{name}-%{_libvrs}
80 83 IPC client library for lib3270/pw3270.
81 84  
... ... @@ -126,9 +129,11 @@ make all %{?_smp_mflags}
126 129  
127 130 %install
128 131 %{_mingw32_makeinstall}
  132 +%_mingw32_find_lang libipc3270 langfiles
  133 +
129 134 %fdupes %{buildroot}
130 135  
131   -%files -n %{name}-%{_libvrs}
  136 +%files -n %{name}-%{_libvrs} -f langfiles
132 137 %defattr(-,root,root)
133 138  
134 139 %doc AUTHORS README.md
... ... @@ -148,6 +153,8 @@ make all %{?_smp_mflags}
148 153  
149 154 %{_mingw32_libdir}/pkgconfig/*.pc
150 155  
  156 +%{_mingw32_datadir}/%{_product}/pot/*.pot
  157 +
151 158 %dir %{_mingw32_datadir}/%{_product}/def
152 159 %{_mingw32_datadir}/%{_product}/def/*.def
153 160  
... ... @@ -158,4 +165,3 @@ make all %{?_smp_mflags}
158 165 %{_mingw32_libdir}/%{_product}-plugins/ipcserver.dll
159 166  
160 167 %changelog
161   -
... ...