/[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.3 - (hide annotations) (download)
Thu Mar 4 04:06:22 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: bglibs-1_106-1
Changes since 1.2: +29 -15 lines
pull v1.106

1 vip-ire 1.1 %define basedir /usr/local/bglibs
2     %define _libdir %{basedir}/lib
3     %define _includedir %{basedir}/include
4    
5     Name: bglibs
6     Summary: BG Libraries Collection
7 jpp 1.3 Version: 1.106
8     Release: 1
9 vip-ire 1.1 License: GPL
10     Group: Development/Libraries
11 jpp 1.3 Source: http://untroubled.org/%{name}/%{name}-%{version}.tar.gz
12     BuildRoot: %{_tmppath}/%{name}-buildroot
13 vip-ire 1.1 BuildRequires: libtool
14 jpp 1.3 URL: http://untroubled.org/%{name}/
15     Packager: Bruce Guenter <bruce@untroubled.org>
16 vip-ire 1.1
17     %description
18     BG Libraries Collection
19    
20 jpp 1.3 %package devel
21     Summary: Development includes and libraries for bglibs
22     Requires: bglibs = %{version}
23     Group: Development/Libraries
24    
25     %description devel
26     The bglibs-devel package contains the header and object files necessary
27     for developing programs which use the bglibs libraries.
28    
29 vip-ire 1.1 %prep
30     %setup
31     echo gcc "%{optflags}" -g >conf-cc
32     echo gcc -g -L. >conf-ld
33     echo %{_includedir} >conf-include
34     echo %{_libdir} >conf-lib
35     echo %{_bindir} >conf-bin
36     echo %{_mandir} >conf-man
37    
38     %build
39     make
40    
41     %install
42     rm -fr %{buildroot}
43     make install_prefix=%{buildroot} install
44    
45     cp -a doc %{buildroot}%{basedir}
46    
47     %clean
48     rm -rf %{buildroot}
49    
50     %post
51     fgrep -x /usr/local/bglibs/lib /etc/ld.so.conf >/dev/null \
52     || echo /usr/local/bglibs/lib >>/etc/ld.so.conf
53     /sbin/ldconfig
54    
55     %files
56     %defattr(-,root,root)
57     %doc ANNOUNCEMENT COPYING NEWS README
58 jpp 1.3 %{basedir}/lib/*.so.*
59     %{_bindir}/bg-installer
60    
61     %files devel
62     %defattr(-,root,root)
63     %{basedir}/doc
64     %{basedir}/include
65     %{basedir}/lib/*.a
66     %{basedir}/lib/*.la
67     %{basedir}/lib/*.lib
68     %{basedir}/lib/*.so
69     %{basedir}/lib/*/*.a
70     %{_bindir}/cli-generate
71     %{_bindir}/crc-gentab
72 vip-ire 1.1 %{_mandir}/*/*

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