Commit b432550338d5cdb707c22f72ffa52c99bae16895
1 parent
34b345e1
Exists in
master
and in
5 other branches
Incluindo arquivos de desenvolvimento e ajustes para empactoamento
Showing
5 changed files
with
125 additions
and
0 deletions
Show diff stats
Makefile.in
@@ -115,6 +115,7 @@ distclean: clean | @@ -115,6 +115,7 @@ distclean: clean | ||
115 | @rm -f src/include/lib3270/config.h | 115 | @rm -f src/include/lib3270/config.h |
116 | @rm -f src/gtk/uiparser/Makefile | 116 | @rm -f src/gtk/uiparser/Makefile |
117 | @rm -fr autom4te.cache | 117 | @rm -fr autom4te.cache |
118 | + @rm -f *.pc | ||
118 | 119 | ||
119 | @rm -f Makefile | 120 | @rm -f Makefile |
120 | 121 |
configure.ac
@@ -201,6 +201,7 @@ AC_SEARCH_LIBS( [sin], [m], AC_DEFINE(HAVE_LIBM), AC_MSG_NOTICE([libm not presen | @@ -201,6 +201,7 @@ AC_SEARCH_LIBS( [sin], [m], AC_DEFINE(HAVE_LIBM), AC_MSG_NOTICE([libm not presen | ||
201 | AC_CONFIG_FILES([ | 201 | AC_CONFIG_FILES([ |
202 | 202 | ||
203 | Makefile | 203 | Makefile |
204 | + lib3270.pc | ||
204 | src/include/rules.mak | 205 | src/include/rules.mak |
205 | src/lib3270/Makefile | 206 | src/lib3270/Makefile |
206 | src/lib3270/mkversion.sh | 207 | src/lib3270/mkversion.sh |
@@ -0,0 +1,112 @@ | @@ -0,0 +1,112 @@ | ||
1 | +# | ||
2 | +# "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 | ||
3 | +# (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a | ||
4 | +# aplicativos mainframe. Registro no INPI sob o nome G3270. | ||
5 | +# | ||
6 | +# Copyright (C) <2008> <Banco do Brasil S.A.> | ||
7 | +# | ||
8 | +# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob | ||
9 | +# os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela | ||
10 | +# Free Software Foundation. | ||
11 | +# | ||
12 | +# Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER | ||
13 | +# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO | ||
14 | +# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para | ||
15 | +# obter mais detalhes. | ||
16 | +# | ||
17 | +# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este | ||
18 | +# programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple | ||
19 | +# Place, Suite 330, Boston, MA, 02111-1307, USA | ||
20 | +# | ||
21 | +# Contatos: | ||
22 | +# | ||
23 | +# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) | ||
24 | +# erico.mendonca@gmail.com (Erico Mascarenhas Mendonça) | ||
25 | +# licinio@bb.com.br (Licínio Luis Branco) | ||
26 | +# kraucer@bb.com.br (Kraucer Fernandes Mazuco) | ||
27 | +# | ||
28 | + | ||
29 | + | ||
30 | +#---[ Check for distro ]---------------------------------------------------------------------------------------------- | ||
31 | + | ||
32 | +%define _release %{_rel} | ||
33 | +%define _distro Linux | ||
34 | + | ||
35 | +%if 0%{?suse_version} | ||
36 | + %define _release %{_rel}.suse%{suse_version} | ||
37 | + %define _distro SuSE Linux %{suse_version} | ||
38 | +%endif | ||
39 | + | ||
40 | +%if 0%{?mdkversion} | ||
41 | + %define _release %{_rel}.mdv%{mandriva_release} | ||
42 | + %define _redhat 0 | ||
43 | + %define _distro Mandriva Linux %{mandriva_release} | ||
44 | +%endif | ||
45 | + | ||
46 | +%if 0%{?fedora_version} | ||
47 | + %define _release %{_rel}.fc%{fedora_version} | ||
48 | + %define _redhat 0 | ||
49 | + %define _distro Fedora %{fedora_version} | ||
50 | +%endif | ||
51 | + | ||
52 | +%if 0%{?_redhat} | ||
53 | + %define _redhat_prefix %(grep -q "Red Hat Linux" /etc/redhat-release && echo rhl || echo el) | ||
54 | + %define _redhat_vernum %(rpm -qf --queryformat %{VERSION} /etc/redhat-release|tr -d '.') | ||
55 | + %define _release %{_rel}.%{_redhat_prefix}%{_redhat_vernum} | ||
56 | + %define _distro %{_redhat_prefix} %{_redhat_vernum} | ||
57 | +%endif | ||
58 | + | ||
59 | +#---[ Packaging ]----------------------------------------------------------------------------------------------------- | ||
60 | + | ||
61 | +Name: @PACKAGE@ | ||
62 | +License: LGPL | ||
63 | +Group: System/X11/Terminals | ||
64 | +Version: @PACKAGE_VERSION@ | ||
65 | +Release: %_release | ||
66 | +Summary: IBM 3270 Terminal emulator for gtk. | ||
67 | +Source: %{name}-%{version}.tar.gz | ||
68 | +BuildRoot: %{_tmppath}/%{name}-%{version}-build | ||
69 | +Requires: openssl shared-mime-info libgnome libgnomeui %{name}-lib = @PACKAGE_VERSION@ | ||
70 | +Distribution: %_distro | ||
71 | +BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel | ||
72 | + | ||
73 | +%description | ||
74 | +IBM 3270 terminal emulator gtk. It can be used to communicate with | ||
75 | +any IBM host that supports 3270-style connections over TELNET. | ||
76 | + | ||
77 | +SVN Revision: @PACKAGE_REVISION@ | ||
78 | +SVN sources from: @PACKAGE_SOURCE@ | ||
79 | + | ||
80 | +#---[ Build & Install ]----------------------------------------------------------------------------------------------- | ||
81 | + | ||
82 | +%prep | ||
83 | + | ||
84 | +%setup -q -n %{name}-%{version} | ||
85 | +aclocal | ||
86 | +autoconf | ||
87 | +%configure | ||
88 | + | ||
89 | +%install | ||
90 | +rm -rf $RPM_BUILD_ROOT | ||
91 | +cd %{_builddir}/%{name}-%{version} | ||
92 | +make DESTDIR=$RPM_BUILD_ROOT install | ||
93 | + | ||
94 | +%clean | ||
95 | +rm -rf $RPM_BUILD_ROOT | ||
96 | + | ||
97 | +#---[ Files ]--------------------------------------------------------------------------------------------------------- | ||
98 | + | ||
99 | +%files | ||
100 | +%defattr(-,root,root) | ||
101 | +%doc ChangeLog AUTHORS LICENSE | ||
102 | + | ||
103 | + | ||
104 | +#---[ Scripts ]------------------------------------------------------------------------------------------------------- | ||
105 | + | ||
106 | +%post | ||
107 | +exit 0 | ||
108 | + | ||
109 | +%postun | ||
110 | +exit 0 | ||
111 | + | ||
112 | + |