/[smeserver]/rpms/bglibs/sme10/bglibs.spec
ViewVC logotype

Diff of /rpms/bglibs/sme10/bglibs.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by unnilennium, Thu May 26 16:04:08 2016 UTC Revision 1.4 by jpp, Sun Mar 6 03:00:47 2022 UTC
# Line 1  Line 1 
 # $Id: bglibs.spec,v 1.1 2016/02/03 21:28:06 vip-ire Exp $  
   
1  %define basedir /usr/local/bglibs  %define basedir /usr/local/bglibs
2  %define _libdir %{basedir}/lib  %define _libdir %{basedir}/lib
3  %define _includedir %{basedir}/include  %define _includedir %{basedir}/include
4    
5  Name: bglibs  Name: bglibs
6  Summary: BG Libraries Collection  Summary: BG Libraries Collection
7  Version: 1.102  Version: 2.04
8  Release: 2%{?dist}  Release: 1
9  License: GPL  License: GPL
10  Group: Development/Libraries  Group: Development/Libraries
11  Source: http://untroubled.org/bglibs/bglibs-1.102.tar.gz  Source: http://untroubled.org/%{name}/%{name}-%{version}.tar.gz
12  BuildRoot: %{_tmppath}/bglibs-buildroot  Patch0: bglibs-2.04-mock.patch
13    BuildRoot: %{_tmppath}/%{name}-buildroot
14  BuildRequires: libtool  BuildRequires: libtool
15  URL: http://untroubled.org/bglibs/  BuildRequires: glibc glibc-static glibc-devel
16  Provides: bglibs-devel = %{version}  BuildRequires: mtools  autoconf
17  Requires: /usr/bin/perl  URL: http://untroubled.org/%{name}/
18  Requires: perl(Getopt::Std)  Packager: Bruce Guenter <bruce@untroubled.org>
 Requires: perl(strict)  
 Requires: glibc  
 Autoreq: 0  
19    
20  %description  %description
21  BG Libraries Collection  BG Libraries Collection
22    
23    %package devel
24    Summary: Development includes and libraries for bglibs
25    Requires: bglibs = %{version}
26    Group: Development/Libraries
27    
28    %description devel
29    The bglibs-devel package contains the header and object files necessary
30    for developing programs which use the bglibs libraries.
31    
32  %prep  %prep
33  %setup  %setup
34    %patch0 -p1
35  echo gcc "%{optflags}" -g >conf-cc  echo gcc "%{optflags}" -g >conf-cc
36  echo gcc -g -L. >conf-ld  echo gcc -g -L. >conf-ld
37  echo %{_includedir} >conf-include  echo %{_includedir} >conf-include
# Line 53  fgrep -x /usr/local/bglibs/lib /etc/ld.s Line 59  fgrep -x /usr/local/bglibs/lib /etc/ld.s
59  %files  %files
60  %defattr(-,root,root)  %defattr(-,root,root)
61  %doc ANNOUNCEMENT COPYING NEWS README  %doc ANNOUNCEMENT COPYING NEWS README
62  %{basedir}  %{basedir}/lib/*.so.*
63  %{_bindir}/*  %{_bindir}/bg-installer
64    
65    %files devel
66    %defattr(-,root,root)
67    %{basedir}/doc
68    %{basedir}/include
69    %{basedir}/lib/*.a
70    %{basedir}/lib/*.la
71    #%{basedir}/lib/*.lib
72    %{basedir}/lib/*.so
73    #%{basedir}/lib/*/*.a
74    %{_bindir}/cli-generate
75    %{_bindir}/crc-gentab
76  %{_mandir}/*/*  %{_mandir}/*/*
77    
78    %changelog
79    * Sat Mar 05 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.04-1.sme
80    - initial build for SME10 [SME: 11883]
81      patched selftests.sh to avoid net/resolve_ipv4addr.c test which fails under mock
82      added BuildRequires  glibc glibc-static glibc-devel mtools  autoconf
83      commented out files for devel %{basedir}/lib/*.lib and %{basedir}/lib/*/*.a
84      as they fails.
85    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed