Commit ceccdb44bdf2ca281e3d53b8b2dbdab78c540ca3
1 parent
abd7c30c
Exists in
master
and in
3 other branches
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,7 +248,7 @@ install-devel: \ | ||
248 | @mkdir -p $(DESTDIR)$(libdir)/pkgconfig | 248 | @mkdir -p $(DESTDIR)$(libdir)/pkgconfig |
249 | 249 | ||
250 | # Install static library | 250 | # Install static library |
251 | - @$(INSTALL_PROGRAM) \ | 251 | + @$(INSTALL_DATA) \ |
252 | $(BINRLS)/@DLLPREFIX@$(LIBNAME).a \ | 252 | $(BINRLS)/@DLLPREFIX@$(LIBNAME).a \ |
253 | $(DESTDIR)$(libdir) | 253 | $(DESTDIR)$(libdir) |
254 | 254 |
rpm/_service
@@ -11,6 +11,13 @@ | @@ -11,6 +11,13 @@ | ||
11 | <param name="filename">lib3270</param> | 11 | <param name="filename">lib3270</param> |
12 | </service> | 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 | <service name="recompress"> | 21 | <service name="recompress"> |
15 | <param name="file">*.tar</param> | 22 | <param name="file">*.tar</param> |
16 | <param name="compression">xz</param> | 23 | <param name="compression">xz</param> |
rpm/lib3270.spec
@@ -66,7 +66,9 @@ BuildRequires: pkgconfig | @@ -66,7 +66,9 @@ BuildRequires: pkgconfig | ||
66 | 66 | ||
67 | %description | 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 | #---[ Development ]--------------------------------------------------------------------------------------------------- | 73 | #---[ Development ]--------------------------------------------------------------------------------------------------- |
72 | 74 | ||
@@ -78,7 +80,11 @@ Requires: %{name} | @@ -78,7 +80,11 @@ Requires: %{name} | ||
78 | 80 | ||
79 | %description devel | 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 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- | 89 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
84 | 90 | ||
@@ -100,6 +106,8 @@ rm -rf $RPM_BUILD_ROOT | @@ -100,6 +106,8 @@ rm -rf $RPM_BUILD_ROOT | ||
100 | 106 | ||
101 | %files | 107 | %files |
102 | %defattr(-,root,root) | 108 | %defattr(-,root,root) |
109 | +%doc AUTHORS LICENSE README.md | ||
110 | + | ||
103 | %{_libdir}/lib3270.so.5 | 111 | %{_libdir}/lib3270.so.5 |
104 | %{_libdir}/lib3270.so.5.2 | 112 | %{_libdir}/lib3270.so.5.2 |
105 | 113 | ||
@@ -123,4 +131,8 @@ exit 0 | @@ -123,4 +131,8 @@ exit 0 | ||
123 | /sbin/ldconfig | 131 | /sbin/ldconfig |
124 | exit 0 | 132 | exit 0 |
125 | 133 | ||
134 | +%postun | ||
135 | +/sbin/ldconfig | ||
136 | +exit 0 | ||
137 | + | ||
126 | %changelog | 138 | %changelog |