From ceccdb44bdf2ca281e3d53b8b2dbdab78c540ca3 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 13 Nov 2018 11:16:17 -0200 Subject: [PATCH] Ajustes para empacotamento. --- Makefile.in | 2 +- rpm/_service | 7 +++++++ rpm/lib3270.spec | 16 ++++++++++++++-- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index baa0056..65a9481 100644 --- a/Makefile.in +++ b/Makefile.in @@ -248,7 +248,7 @@ install-devel: \ @mkdir -p $(DESTDIR)$(libdir)/pkgconfig # Install static library - @$(INSTALL_PROGRAM) \ + @$(INSTALL_DATA) \ $(BINRLS)/@DLLPREFIX@$(LIBNAME).a \ $(DESTDIR)$(libdir) diff --git a/rpm/_service b/rpm/_service index 8d7efa5..06c8ca2 100644 --- a/rpm/_service +++ b/rpm/_service @@ -11,6 +11,13 @@ lib3270 + + + *.tar + */rpm/lib3270.spec + lib3270-unstable.spec + + *.tar xz diff --git a/rpm/lib3270.spec b/rpm/lib3270.spec index d941ed6..dcec05d 100644 --- a/rpm/lib3270.spec +++ b/rpm/lib3270.spec @@ -66,7 +66,9 @@ BuildRequires: pkgconfig %description -TN3270 acess library for C development. +TN3270 access library originally designed as part of the pw3270 application. + +See more details at https://softwarepublico.gov.br/social/pw3270/ #---[ Development ]--------------------------------------------------------------------------------------------------- @@ -78,7 +80,11 @@ Requires: %{name} %description devel -Development files for %{name} +TN3270 access library for C development files. + +Originally designed as part of the pw3270 application. + +See more details at https://softwarepublico.gov.br/social/pw3270/ #---[ Build & Install ]----------------------------------------------------------------------------------------------- @@ -100,6 +106,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) +%doc AUTHORS LICENSE README.md + %{_libdir}/lib3270.so.5 %{_libdir}/lib3270.so.5.2 @@ -123,4 +131,8 @@ exit 0 /sbin/ldconfig exit 0 +%postun +/sbin/ldconfig +exit 0 + %changelog -- libgit2 0.21.2