Commit 14e8bdb3a2ef598cfa93967b5dc974b982a7abc2

Authored by Perry Werneck
1 parent 486a6cd1
Exists in master and in 2 other branches develop, macos

Updating control files.

Showing 3 changed files with 12 additions and 9 deletions   Show diff stats
@@ -2,14 +2,14 @@ @@ -2,14 +2,14 @@
2 2
3 pkgname=lib3270 3 pkgname=lib3270
4 4
5 -pkgver=5.3 5 +pkgver=5.4
6 pkgrel=0 6 pkgrel=0
7 pkgdesc="TN3270 Access library" 7 pkgdesc="TN3270 Access library"
8 -url="https://github.com/PerryWerneck/lib3270/" 8 +url="https://github.com/PerryWerneck/lib3270"
9 arch=(i686 x86_64) 9 arch=(i686 x86_64)
10 license=(GPL) 10 license=(GPL)
11 depends=() 11 depends=()
12 -makedepends=(autoconf automake make openssl) 12 +makedepends=(autoconf automake make openssl libtool)
13 checkdepends=() 13 checkdepends=()
14 14
15 #groups=(gnome) 15 #groups=(gnome)
@@ -17,13 +17,15 @@ checkdepends=() @@ -17,13 +17,15 @@ checkdepends=()
17 source=($pkgname-$pkgver.tar.xz) 17 source=($pkgname-$pkgver.tar.xz)
18 sha256sums=('SKIP') 18 sha256sums=('SKIP')
19 19
20 -provides=($pkgname) 20 +provides=($pkgname)
21 conflicts=($pkgname) 21 conflicts=($pkgname)
22 22
23 prepare() { 23 prepare() {
24 cd $pkgname-$pkgver 24 cd $pkgname-$pkgver
  25 + mkdir -p scripts
  26 + touch scripts/config.rpath
25 NOCONFIGURE=1 ./autogen.sh 27 NOCONFIGURE=1 ./autogen.sh
26 - ./configure --prefix=/usr 28 + ./configure --prefix=/usr --disable-static
27 } 29 }
28 30
29 build() { 31 build() {
@@ -36,3 +38,4 @@ package() { @@ -36,3 +38,4 @@ package() {
36 DESTDIR="$pkgdir" make install 38 DESTDIR="$pkgdir" make install
37 } 39 }
38 40
  41 +
@@ -29,7 +29,7 @@ build-stamp: @@ -29,7 +29,7 @@ build-stamp:
29 mkdir -p scripts 29 mkdir -p scripts
30 automake --add-missing 2> /dev/null | true 30 automake --add-missing 2> /dev/null | true
31 31
32 - ./configure --prefix=/usr 32 + ./configure --prefix=/usr --disable-static
33 33
34 make all 34 make all
35 # --- end custom part for compiling 35 # --- end custom part for compiling
rpm/lib3270.spec
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 18
19 19
20 Name: lib3270 20 Name: lib3270
21 -Version: 5.3 21 +Version: 5.4
22 Release: 0 22 Release: 0
23 Summary: TN3270 Access library 23 Summary: TN3270 Access library
24 Group: Development/Libraries/C and C++ 24 Group: Development/Libraries/C and C++
@@ -74,14 +74,14 @@ Header files for the TN3270 access library. @@ -74,14 +74,14 @@ Header files for the TN3270 access library.
74 %prep 74 %prep
75 %setup -q 75 %setup -q
76 NOCONFIGURE=1 ./autogen.sh 76 NOCONFIGURE=1 ./autogen.sh
77 -%configure --with-release=%{release} 77 +%configure --with-release=%{release} --disable-static
78 78
79 %build 79 %build
80 make all %{?_smp_mflags} 80 make all %{?_smp_mflags}
81 81
82 %install 82 %install
83 %make_install 83 %make_install
84 -%find_lang %{name} langfiles 84 +%find_lang %{name}-%{MAJOR_VERSION}.%{MINOR_VERSION} langfiles
85 85
86 %fdupes %{buildroot}/%{_prefix} 86 %fdupes %{buildroot}/%{_prefix}
87 87