Commit 4bf4e90e9f3e982c8cd70beee9b801055f862791

Authored by Perry Werneck
1 parent 68dff455
Exists in master

Atualizando empacotamento.

@@ -15,6 +15,12 @@ stamp-h1 @@ -15,6 +15,12 @@ stamp-h1
15 *.zip 15 *.zip
16 *.tar 16 *.tar
17 *.bz2 17 *.bz2
18 -rpm  
19 *.pc 18 *.pc
20 *.[0-9] 19 *.[0-9]
  20 +BUILD
  21 +BUILDROOT
  22 +RPMS
  23 +SOURCES
  24 +SPECS
  25 +SRPMS
  26 +
@@ -179,7 +179,7 @@ $(SRCDIR): \ @@ -179,7 +179,7 @@ $(SRCDIR): \
179 @cp *.in $(SRCDIR) 179 @cp *.in $(SRCDIR)
180 @cp *.cbp $(SRCDIR) 180 @cp *.cbp $(SRCDIR)
181 @cp *.sh $(SRCDIR) 181 @cp *.sh $(SRCDIR)
182 - @cp *.spec $(SRCDIR) 182 + @cp rpm/*.spec $(SRCDIR)
183 @cp README.md $(SRCDIR) 183 @cp README.md $(SRCDIR)
184 @cp LICENCA $(SRCDIR) 184 @cp LICENCA $(SRCDIR)
185 @cp LICENSE $(SRCDIR) 185 @cp LICENSE $(SRCDIR)
pw3270-sharp.spec
@@ -1,64 +0,0 @@ @@ -1,64 +0,0 @@
1 -Summary: C-Sharp API for pw3270/lib3270  
2 -Name: pw3270-sharp  
3 -Version: 1.0  
4 -Release: 0  
5 -License: GPL-2.0  
6 -Source: %{name}-%{version}.tar.bz2  
7 -URL: https://portal.softwarepublico.gov.br/social/pw3270/  
8 -Group: Development/Languages/Mono  
9 -  
10 -BuildRoot: /var/tmp/%{name}-%{version}  
11 -  
12 -BuildRequires: mono-core  
13 -BuildRequires: autoconf >= 2.61  
14 -BuildRequires: automake  
15 -BuildRequires: binutils  
16 -BuildRequires: coreutils  
17 -BuildRequires: gcc-c++  
18 -BuildRequires: m4  
19 -BuildRequires: pkgconfig  
20 -BuildRequires: pw3270-devel >= 5.1  
21 -  
22 -Requires: lib3270 >= 5.1  
23 -  
24 -%description  
25 -  
26 -C-Sharp API for tn3270 acesss using pw3270 ou lib3270.  
27 -  
28 -%prep  
29 -  
30 -%setup  
31 -  
32 -export CFLAGS="$RPM_OPT_FLAGS"  
33 -export CXXFLAGS="$RPM_OPT_FLAGS"  
34 -export FFLAGS="$RPM_OPT_FLAGS"  
35 -  
36 -aclocal  
37 -autoconf  
38 -%configure  
39 -  
40 -%build  
41 -make clean  
42 -make Release  
43 -  
44 -%install  
45 -rm -rf $RPM_BUILD_ROOT  
46 -  
47 -%makeinstall  
48 -  
49 -%fdupes $RPM_BUILD_ROOT  
50 -  
51 -%clean  
52 -rm -rf $RPM_BUILD_ROOT  
53 -  
54 -%files  
55 -%defattr(-,root,root)  
56 -%{_libdir}/lib3270-mono.*  
57 -/usr/lib/mono/gac/%{name}  
58 -/usr/share/gapi-2.0/%{name}/%{name}.xml  
59 -%{_libdir}/pkgconfig/%{name}.pc  
60 -/usr/lib/mono/%{name}-%{version}  
61 -  
62 -%changelog  
63 -  
64 -  
rpm/pw3270-sharp.spec 0 → 100644
@@ -0,0 +1,71 @@ @@ -0,0 +1,71 @@
  1 +Summary: C-Sharp API for pw3270/lib3270
  2 +Name: pw3270-sharp
  3 +Version: 1.0
  4 +Release: 0
  5 +License: GPL-2.0
  6 +Source: %{name}-%{version}.tar.bz2
  7 +URL: https://portal.softwarepublico.gov.br/social/pw3270/
  8 +Group: Development/Languages/Mono
  9 +
  10 +BuildRoot: /var/tmp/%{name}-%{version}
  11 +
  12 +BuildRequires: mono-devel
  13 +BuildRequires: autoconf >= 2.61
  14 +BuildRequires: automake
  15 +BuildRequires: binutils
  16 +BuildRequires: coreutils
  17 +BuildRequires: gcc-c++
  18 +BuildRequires: m4
  19 +BuildRequires: pkgconfig
  20 +BuildRequires: fdupes
  21 +BuildRequires: pw3270-devel >= 5.1
  22 +
  23 +Requires: lib3270 >= 5.1
  24 +
  25 +%description
  26 +
  27 +C-Sharp API for tn3270 acesss using pw3270 ou lib3270.
  28 +
  29 +%prep
  30 +
  31 +%setup
  32 +
  33 +export CFLAGS="$RPM_OPT_FLAGS"
  34 +export CXXFLAGS="$RPM_OPT_FLAGS"
  35 +export FFLAGS="$RPM_OPT_FLAGS"
  36 +
  37 +aclocal
  38 +autoconf
  39 +%configure
  40 +
  41 +%build
  42 +%define debug_package %{nil}
  43 +
  44 +make clean
  45 +make Release
  46 +
  47 +%install
  48 +rm -rf $RPM_BUILD_ROOT
  49 +
  50 +%makeinstall
  51 +
  52 +%fdupes $RPM_BUILD_ROOT
  53 +
  54 +%clean
  55 +rm -rf $RPM_BUILD_ROOT
  56 +
  57 +%files
  58 +%defattr(-,root,root)
  59 +%{_libdir}/lib3270-mono.*
  60 +/usr/lib/mono/gac/%{name}
  61 +
  62 +%dir /usr/share/gapi-2.0
  63 +%dir /usr/share/gapi-2.0/%{name}
  64 +/usr/share/gapi-2.0/%{name}/%{name}.xml
  65 +
  66 +%{_libdir}/pkgconfig/%{name}.pc
  67 +/usr/lib/mono/%{name}-*
  68 +
  69 +%changelog
  70 +
  71 +