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

Contents of /rpms/bglibs/sme10/bglibs.spec

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


Revision 1.1 - (show annotations) (download)
Wed Feb 3 21:28:06 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: bglibs-1_102-1_el7_sme
sme10 branch for bglibs

1 # $Id: bglibs.spec,v 1.1 2013/02/04 22:05:59 slords Exp $
2
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 Release: 1%{?dist}
11 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
19 %description
20 BG Libraries Collection
21
22 %prep
23 %setup
24 echo gcc "%{optflags}" -g >conf-cc
25 echo gcc -g -L. >conf-ld
26 echo %{_includedir} >conf-include
27 echo %{_libdir} >conf-lib
28 echo %{_bindir} >conf-bin
29 echo %{_mandir} >conf-man
30
31 %build
32 make
33
34 %install
35 rm -fr %{buildroot}
36 make install_prefix=%{buildroot} install
37
38 cp -a doc %{buildroot}%{basedir}
39
40 %clean
41 rm -rf %{buildroot}
42
43 %post
44 fgrep -x /usr/local/bglibs/lib /etc/ld.so.conf >/dev/null \
45 || echo /usr/local/bglibs/lib >>/etc/ld.so.conf
46 /sbin/ldconfig
47
48 %files
49 %defattr(-,root,root)
50 %doc ANNOUNCEMENT COPYING NEWS README
51 %{basedir}
52 %{_bindir}/*
53 %{_mandir}/*/*

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