|
# $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: 1.106 |
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 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
13 |
BuildRequires: libtool |
BuildRequires: libtool |
14 |
URL: http://untroubled.org/bglibs/ |
URL: http://untroubled.org/%{name}/ |
15 |
Provides: bglibs-devel = %{version} |
Packager: Bruce Guenter <bruce@untroubled.org> |
|
Requires: /usr/bin/perl |
|
|
Requires: perl(Getopt::Std) |
|
|
Requires: perl(strict) |
|
|
Requires: glibc |
|
|
Autoreq: 0 |
|
16 |
|
|
17 |
%description |
%description |
18 |
BG Libraries Collection |
BG Libraries Collection |
19 |
|
|
20 |
|
%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 |
%prep |
%prep |
30 |
%setup |
%setup |
31 |
echo gcc "%{optflags}" -g >conf-cc |
echo gcc "%{optflags}" -g >conf-cc |
55 |
%files |
%files |
56 |
%defattr(-,root,root) |
%defattr(-,root,root) |
57 |
%doc ANNOUNCEMENT COPYING NEWS README |
%doc ANNOUNCEMENT COPYING NEWS README |
58 |
%{basedir} |
%{basedir}/lib/*.so.* |
59 |
%{_bindir}/* |
%{_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 |
%{_mandir}/*/* |
%{_mandir}/*/* |