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

Annotation of /rpms/bglibs/sme10/bglibs.spec

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


Revision 1.2 - (hide annotations) (download)
Thu May 26 16:04:08 2016 UTC (8 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: bglibs-1_102-2_el7_sme
Changes since 1.1: +7 -2 lines
*** empty log message ***

1 unnilennium 1.2 # $Id: bglibs.spec,v 1.1 2016/02/03 21:28:06 vip-ire Exp $
2 vip-ire 1.1
3     %define basedir /usr/local/bglibs
4     %define _libdir %{basedir}/lib
5     %define _includedir %{basedir}/include
6    
7     Name: bglibs
8     Summary: BG Libraries Collection
9     Version: 1.102
10 unnilennium 1.2 Release: 2%{?dist}
11 vip-ire 1.1 License: GPL
12     Group: Development/Libraries
13     Source: http://untroubled.org/bglibs/bglibs-1.102.tar.gz
14     BuildRoot: %{_tmppath}/bglibs-buildroot
15     BuildRequires: libtool
16     URL: http://untroubled.org/bglibs/
17     Provides: bglibs-devel = %{version}
18 unnilennium 1.2 Requires: /usr/bin/perl
19     Requires: perl(Getopt::Std)
20     Requires: perl(strict)
21     Requires: glibc
22     Autoreq: 0
23 vip-ire 1.1
24     %description
25     BG Libraries Collection
26    
27     %prep
28     %setup
29     echo gcc "%{optflags}" -g >conf-cc
30     echo gcc -g -L. >conf-ld
31     echo %{_includedir} >conf-include
32     echo %{_libdir} >conf-lib
33     echo %{_bindir} >conf-bin
34     echo %{_mandir} >conf-man
35    
36     %build
37     make
38    
39     %install
40     rm -fr %{buildroot}
41     make install_prefix=%{buildroot} install
42    
43     cp -a doc %{buildroot}%{basedir}
44    
45     %clean
46     rm -rf %{buildroot}
47    
48     %post
49     fgrep -x /usr/local/bglibs/lib /etc/ld.so.conf >/dev/null \
50     || echo /usr/local/bglibs/lib >>/etc/ld.so.conf
51     /sbin/ldconfig
52    
53     %files
54     %defattr(-,root,root)
55     %doc ANNOUNCEMENT COPYING NEWS README
56     %{basedir}
57     %{_bindir}/*
58     %{_mandir}/*/*

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