Commit ceccdb44bdf2ca281e3d53b8b2dbdab78c540ca3

Authored by Perry Werneck
1 parent abd7c30c

Ajustes para empacotamento.

Showing 3 changed files with 22 additions and 3 deletions   Show diff stats
Makefile.in
... ... @@ -248,7 +248,7 @@ install-devel: \
248 248 @mkdir -p $(DESTDIR)$(libdir)/pkgconfig
249 249  
250 250 # Install static library
251   - @$(INSTALL_PROGRAM) \
  251 + @$(INSTALL_DATA) \
252 252 $(BINRLS)/@DLLPREFIX@$(LIBNAME).a \
253 253 $(DESTDIR)$(libdir)
254 254  
... ...
rpm/_service
... ... @@ -11,6 +11,13 @@
11 11 <param name="filename">lib3270</param>
12 12 </service>
13 13  
  14 + <!-- https://github.com/openSUSE/obs-service-extract_file -->
  15 + <service name="extract_file">
  16 + <param name="archive">*.tar</param>
  17 + <param name="files">*/rpm/lib3270.spec</param>
  18 + <param name="outfilename">lib3270-unstable.spec</param>
  19 + </service>
  20 +
14 21 <service name="recompress">
15 22 <param name="file">*.tar</param>
16 23 <param name="compression">xz</param>
... ...
rpm/lib3270.spec
... ... @@ -66,7 +66,9 @@ BuildRequires: pkgconfig
66 66  
67 67 %description
68 68  
69   -TN3270 acess library for C development.
  69 +TN3270 access library originally designed as part of the pw3270 application.
  70 +
  71 +See more details at https://softwarepublico.gov.br/social/pw3270/
70 72  
71 73 #---[ Development ]---------------------------------------------------------------------------------------------------
72 74  
... ... @@ -78,7 +80,11 @@ Requires: %{name}
78 80  
79 81 %description devel
80 82  
81   -Development files for %{name}
  83 +TN3270 access library for C development files.
  84 +
  85 +Originally designed as part of the pw3270 application.
  86 +
  87 +See more details at https://softwarepublico.gov.br/social/pw3270/
82 88  
83 89 #---[ Build & Install ]-----------------------------------------------------------------------------------------------
84 90  
... ... @@ -100,6 +106,8 @@ rm -rf $RPM_BUILD_ROOT
100 106  
101 107 %files
102 108 %defattr(-,root,root)
  109 +%doc AUTHORS LICENSE README.md
  110 +
103 111 %{_libdir}/lib3270.so.5
104 112 %{_libdir}/lib3270.so.5.2
105 113  
... ... @@ -123,4 +131,8 @@ exit 0
123 131 /sbin/ldconfig
124 132 exit 0
125 133  
  134 +%postun
  135 +/sbin/ldconfig
  136 +exit 0
  137 +
126 138 %changelog
... ...