Commit 7585bea 1 parent d9eb394 commit 7585bea Copy full SHA for 7585bea
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 16
16
# Please submit bugfixes or comments via http://bugs.opensuse.org/
17
17
#
18
18
19
+ %define product %(pkg-config --variable= product_name lib3270)
20
+
19
21
#---[ Package header ]------------------------------------------------------------------------------------------------
20
22
21
23
Summary: HLLAPI client library for lib3270/pw3270
22
24
Name: libhllapi
23
25
Version: 5.3
24
26
Release: 0
25
27
License: LGPL-3.0
26
- Source: %{name }-%{version }.tar.xz
28
+ Source: %{name }-%{version }.tar.xz
27
29
28
30
Url: https://github.com/PerryWerneck/libhllapi.git
29
31
@@ -102,8 +104,9 @@ make all
102
104
rm -rf $RPM_BUILD_ROOT
103
105
104
106
%makeinstall
107
+ %find_lang %{name }-%{MAJOR_VERSION }.%{MINOR_VERSION } langfiles
105
108
106
- %files -n %{name }%{_libvrs }
109
+ %files -n %{name }%{_libvrs } -f langfiles
107
110
%defattr(-,root,root)
108
111
109
112
# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros
@@ -115,13 +118,15 @@ rm -rf $RPM_BUILD_ROOT
115
118
%endif
116
119
117
120
%{_libdir }/%{name }.so.%{MAJOR_VERSION }.%{MINOR_VERSION }
121
+ %{_datadir }/appdata/*.metainfo.xml
118
122
119
123
%files devel
120
124
%defattr(-,root,root)
121
125
122
126
%{_libdir }/%{name }.so
123
127
%{_includedir }/lib3270/hllapi.h
124
128
%{_libdir }/pkgconfig/hllapi.pc
129
+ %{_datadir }/%{product }/pot/*.pot
125
130
126
131
%pre -n %{name }%{_libvrs } -p /sbin/ldconfig
127
132
You can’t perform that action at this time.
0 commit comments