diff --git a/win/x86_32/_service b/win/x86_32/_service
index 993d420..92e03e0 100644
--- a/win/x86_32/_service
+++ b/win/x86_32/_service
@@ -9,11 +9,10 @@
-
+ */win/x86_32/mingw32-libv3270.spec
+
*.tar
diff --git a/win/x86_32/mingw32-libv3270.spec b/win/x86_32/mingw32-libv3270.spec
index f76039b..cd553c4 100644
--- a/win/x86_32/mingw32-libv3270.spec
+++ b/win/x86_32/mingw32-libv3270.spec
@@ -78,6 +78,9 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
Summary: 3270 Virtual Terminal for GTK development files
Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: mingw32(pkg:lib3270)
+
%description devel
3270 Virtual Terminal for GTK development files.
@@ -91,7 +94,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
Summary: Glade catalog for the TN3270 terminal emulator library
Group: Development/Libraries/C and C++
-Requires: mingw32(pkg:lib3270)
+Requires: %{name}-devel = %{version}
Requires: glade
%description -n mingw32-glade-catalog-v3270
@@ -126,19 +129,18 @@ make all
%install
%{_mingw32_makeinstall}
+%_mingw32_find_lang libv3270 langfiles
%clean
rm -rf %{buildroot}
#---[ Files ]---------------------------------------------------------------------------------------------------------
-%files
+%files -f langfiles
%defattr(-,root,root)
%doc AUTHORS LICENSE README.md
-%{_mingw32_libdir}/libv3270.dll
-%{_mingw32_libdir}/libv3270.dll.%{MAJOR_VERSION}
-%{_mingw32_libdir}/libv3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
+%{_mingw32_bindir}/*.dll
%files devel
%defattr(-,root,root)
@@ -154,6 +156,8 @@ rm -rf %{buildroot}
%dir %{_mingw32_datadir}/%{_product}/remap
%{_mingw32_datadir}/%{_product}/remap/*.xml
+%{_mingw32_datadir}/%{_product}/def/*.def
+
%files -n mingw32-glade-catalog-v3270
%defattr(-,root,root)
diff --git a/win/x86_64/_service b/win/x86_64/_service
index 1278481..c193546 100644
--- a/win/x86_64/_service
+++ b/win/x86_64/_service
@@ -9,11 +9,10 @@
-
+ */win/x86_64/mingw64-libv3270.spec
+
*.tar
diff --git a/win/x86_64/mingw64-libv3270.spec b/win/x86_64/mingw64-libv3270.spec
index 9ee0833..32aa637 100644
--- a/win/x86_64/mingw64-libv3270.spec
+++ b/win/x86_64/mingw64-libv3270.spec
@@ -28,16 +28,16 @@
#---[ Main package ]--------------------------------------------------------------------------------------------------
Summary: 3270 Virtual Terminal for GTK
-Name: mingw64-libv3270
-Version: 5.2
+Name: mingw64-libv3270
+Version: 5.2
%define MAJOR_VERSION %(echo %{version} | cut -d. -f1)
%define MINOR_VERSION %(echo %{version} | cut -d. -f2)
%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION}
%define _product %(x86_64-w64-mingw32-pkg-config --variable=product_name lib3270)
-Release: 0
-License: GPL-2.0
+Release: 0
+License: GPL-2.0
Source: libv3270-%{version}.tar.xz
@@ -94,7 +94,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
Summary: Glade catalog for the TN3270 terminal emulator library
Group: Development/Libraries/C and C++
-Requires: libv3270-devel = %{version}
+Requires: %{name}-devel = %{version}
Requires: glade
%description -n mingw64-glade-catalog-v3270
@@ -129,19 +129,18 @@ make all
%install
%{_mingw64_makeinstall}
+%_mingw64_find_lang libv3270 langfiles
%clean
rm -rf %{buildroot}
#---[ Files ]---------------------------------------------------------------------------------------------------------
-%files
+%files -f langfiles
%defattr(-,root,root)
%doc AUTHORS LICENSE README.md
-%{_mingw64_libdir}/libv3270.dll
-%{_mingw64_libdir}/libv3270.dll.%{MAJOR_VERSION}
-%{_mingw64_libdir}/libv3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
+%{_mingw64_bindir}/*.dll
%files devel
%defattr(-,root,root)
@@ -150,12 +149,15 @@ rm -rf %{buildroot}
%{_mingw64_libdir}/pkgconfig/*.pc
%{_mingw64_libdir}/*.a
+
%{_mingw64_datadir}/%{_product}/pot/*.pot
%{_mingw64_datadir}/%{_product}/colors.conf
%dir %{_mingw64_datadir}/%{_product}/remap
%{_mingw64_datadir}/%{_product}/remap/*.xml
+%{_mingw64_datadir}/%{_product}/def/*.def
+
%files -n mingw64-glade-catalog-v3270
%defattr(-,root,root)
--
libgit2 0.21.2