Commit 97ac932bd9e1cd6f3646cd59732777e3e96523ea
1 parent
368cfb2b
Exists in
master
Updating package.
Showing
2 changed files
with
104 additions
and
104 deletions
Show diff stats
... | ... | @@ -0,0 +1,104 @@ |
1 | +# | |
2 | +# spec file for package pw3270-sharp | |
3 | +# | |
4 | +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | |
5 | +# Copyright (C) <2008> <Banco do Brasil S.A.> | |
6 | +# | |
7 | +# All modifications and additions to the file contributed by third parties | |
8 | +# remain the property of their copyright owners, unless otherwise agreed | |
9 | +# upon. The license for this file, and modifications and additions to the | |
10 | +# file, is the same license as for the pristine package itself (unless the | |
11 | +# license for the pristine package is not an Open Source License, in which | |
12 | +# case the license is the MIT License). An "Open Source License" is a | |
13 | +# license that conforms to the Open Source Definition (Version 1.9) | |
14 | +# published by the Open Source Initiative. | |
15 | + | |
16 | +# Please submit bugfixes or comments via http://bugs.opensuse.org/ | |
17 | +# | |
18 | + | |
19 | +%define vrslib %(pkg-config --modversion lib3270) | |
20 | + | |
21 | +Summary: C-Sharp API for pw3270/lib3270 | |
22 | +Name: lib3270-mono-bindings | |
23 | +Version: 1.0 | |
24 | +Release: 0 | |
25 | +License: GPL-2.0 | |
26 | +Source: %{name}-%{version}.tar.bz2 | |
27 | +URL: https://portal.softwarepublico.gov.br/social/pw3270/ | |
28 | +Group: Development/Languages/Mono | |
29 | + | |
30 | +BuildRoot: /var/tmp/%{name}-%{version} | |
31 | + | |
32 | +BuildRequires: mono-devel | |
33 | +BuildRequires: autoconf >= 2.61 | |
34 | +BuildRequires: automake | |
35 | +BuildRequires: binutils | |
36 | +BuildRequires: coreutils | |
37 | +BuildRequires: gcc-c++ | |
38 | +BuildRequires: m4 | |
39 | +BuildRequires: pkgconfig | |
40 | +BuildRequires: fdupes | |
41 | +BuildRequires: pkgconfig(pw3270) | |
42 | +BuildRequires: pkgconfig(lib3270) | |
43 | +BuildRequires: gettext-devel | |
44 | + | |
45 | +Requires: lib3270 = %{vrslib} | |
46 | + | |
47 | +%description | |
48 | + | |
49 | +C-Sharp API for tn3270 acesss using pw3270 ou lib3270. | |
50 | + | |
51 | +%prep | |
52 | + | |
53 | +%setup | |
54 | + | |
55 | +export CFLAGS="$RPM_OPT_FLAGS" | |
56 | +export CXXFLAGS="$RPM_OPT_FLAGS" | |
57 | +export FFLAGS="$RPM_OPT_FLAGS" | |
58 | + | |
59 | +aclocal | |
60 | +autoconf | |
61 | +%configure | |
62 | + | |
63 | +%build | |
64 | +%define debug_package %{nil} | |
65 | + | |
66 | +make clean | |
67 | +make Release | |
68 | + | |
69 | +%install | |
70 | +rm -rf $RPM_BUILD_ROOT | |
71 | + | |
72 | +%make_install | |
73 | + | |
74 | +%fdupes $RPM_BUILD_ROOT | |
75 | + | |
76 | +%clean | |
77 | +rm -rf $RPM_BUILD_ROOT | |
78 | + | |
79 | +%files | |
80 | +%defattr(-,root,root) | |
81 | + | |
82 | +%doc README.md | |
83 | + | |
84 | +%{_libdir}/lib3270-mono.* | |
85 | +/usr/lib/mono/gac/%{name} | |
86 | + | |
87 | +%dir /usr/share/gapi-2.0 | |
88 | +%dir /usr/share/gapi-2.0/%{name} | |
89 | +/usr/share/gapi-2.0/%{name}/%{name}.xml | |
90 | + | |
91 | +%{_libdir}/pkgconfig/%{name}.pc | |
92 | +/usr/lib/mono/%{name}-* | |
93 | + | |
94 | +%post | |
95 | +/sbin/ldconfig | |
96 | +exit 0 | |
97 | + | |
98 | +%postun | |
99 | +/sbin/ldconfig | |
100 | +exit 0 | |
101 | + | |
102 | +%changelog | |
103 | + | |
104 | + | ... | ... |
rpm/pw3270-sharp.spec
... | ... | @@ -1,104 +0,0 @@ |
1 | -# | |
2 | -# spec file for package pw3270-sharp | |
3 | -# | |
4 | -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | |
5 | -# Copyright (C) <2008> <Banco do Brasil S.A.> | |
6 | -# | |
7 | -# All modifications and additions to the file contributed by third parties | |
8 | -# remain the property of their copyright owners, unless otherwise agreed | |
9 | -# upon. The license for this file, and modifications and additions to the | |
10 | -# file, is the same license as for the pristine package itself (unless the | |
11 | -# license for the pristine package is not an Open Source License, in which | |
12 | -# case the license is the MIT License). An "Open Source License" is a | |
13 | -# license that conforms to the Open Source Definition (Version 1.9) | |
14 | -# published by the Open Source Initiative. | |
15 | - | |
16 | -# Please submit bugfixes or comments via http://bugs.opensuse.org/ | |
17 | -# | |
18 | - | |
19 | -%define vrslib %(pkg-config --modversion lib3270) | |
20 | - | |
21 | -Summary: C-Sharp API for pw3270/lib3270 | |
22 | -Name: pw3270-sharp | |
23 | -Version: 1.0 | |
24 | -Release: 0 | |
25 | -License: GPL-2.0 | |
26 | -Source: %{name}-%{version}.tar.bz2 | |
27 | -URL: https://portal.softwarepublico.gov.br/social/pw3270/ | |
28 | -Group: Development/Languages/Mono | |
29 | - | |
30 | -BuildRoot: /var/tmp/%{name}-%{version} | |
31 | - | |
32 | -BuildRequires: mono-devel | |
33 | -BuildRequires: autoconf >= 2.61 | |
34 | -BuildRequires: automake | |
35 | -BuildRequires: binutils | |
36 | -BuildRequires: coreutils | |
37 | -BuildRequires: gcc-c++ | |
38 | -BuildRequires: m4 | |
39 | -BuildRequires: pkgconfig | |
40 | -BuildRequires: fdupes | |
41 | -BuildRequires: pkgconfig(pw3270) | |
42 | -BuildRequires: pkgconfig(lib3270) | |
43 | -BuildRequires: gettext-devel | |
44 | - | |
45 | -Requires: lib3270 = %{vrslib} | |
46 | - | |
47 | -%description | |
48 | - | |
49 | -C-Sharp API for tn3270 acesss using pw3270 ou lib3270. | |
50 | - | |
51 | -%prep | |
52 | - | |
53 | -%setup | |
54 | - | |
55 | -export CFLAGS="$RPM_OPT_FLAGS" | |
56 | -export CXXFLAGS="$RPM_OPT_FLAGS" | |
57 | -export FFLAGS="$RPM_OPT_FLAGS" | |
58 | - | |
59 | -aclocal | |
60 | -autoconf | |
61 | -%configure | |
62 | - | |
63 | -%build | |
64 | -%define debug_package %{nil} | |
65 | - | |
66 | -make clean | |
67 | -make Release | |
68 | - | |
69 | -%install | |
70 | -rm -rf $RPM_BUILD_ROOT | |
71 | - | |
72 | -%make_install | |
73 | - | |
74 | -%fdupes $RPM_BUILD_ROOT | |
75 | - | |
76 | -%clean | |
77 | -rm -rf $RPM_BUILD_ROOT | |
78 | - | |
79 | -%files | |
80 | -%defattr(-,root,root) | |
81 | - | |
82 | -%doc README.md | |
83 | - | |
84 | -%{_libdir}/lib3270-mono.* | |
85 | -/usr/lib/mono/gac/%{name} | |
86 | - | |
87 | -%dir /usr/share/gapi-2.0 | |
88 | -%dir /usr/share/gapi-2.0/%{name} | |
89 | -/usr/share/gapi-2.0/%{name}/%{name}.xml | |
90 | - | |
91 | -%{_libdir}/pkgconfig/%{name}.pc | |
92 | -/usr/lib/mono/%{name}-* | |
93 | - | |
94 | -%post | |
95 | -/sbin/ldconfig | |
96 | -exit 0 | |
97 | - | |
98 | -%postun | |
99 | -/sbin/ldconfig | |
100 | -exit 0 | |
101 | - | |
102 | -%changelog | |
103 | - | |
104 | - |