16 |
# Please submit bugfixes or comments via http://bugs.opensuse.org/ |
# Please submit bugfixes or comments via http://bugs.opensuse.org/ |
17 |
# |
# |
18 |
|
|
19 |
%define name @PACKAGE@ |
%define name @PACKAGE_TARNAME@ |
20 |
%define version @VERSION@ |
%define version @PACKAGE_VERSION@ |
21 |
%define release 46 |
%define release 46 |
22 |
|
|
23 |
%define _soname %{name}6 |
%define _soname %{name}6 |
24 |
|
|
25 |
%define _prefix @prefix@ |
%define _prefix @ac_prefix@ |
26 |
|
|
27 |
%if %{defined fedora} |
%if %{defined fedora} |
28 |
%global debug_package %{nil} |
%global debug_package %{nil} |
39 |
#Packager: rncbc.org |
#Packager: rncbc.org |
40 |
|
|
41 |
BuildRequires: coreutils |
BuildRequires: coreutils |
42 |
|
BuildRequires: cmake |
43 |
BuildRequires: pkgconfig |
BuildRequires: pkgconfig |
44 |
BuildRequires: glibc-devel |
BuildRequires: glibc-devel |
|
BuildRequires: autoconf automake libtool |
|
45 |
BuildRequires: doxygen |
BuildRequires: doxygen |
46 |
|
|
47 |
%description |
%description |
90 |
|
|
91 |
|
|
92 |
%prep |
%prep |
93 |
|
%setup -q |
|
%setup |
|
|
[ -x ./autogen.sh ] && ./autogen.sh |
|
94 |
|
|
95 |
%build |
%build |
96 |
%if %{undefined fedora} |
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} . |
|
export CFLAGS="-ffat-lto-objects" |
|
|
%endif |
|
|
%configure |
|
97 |
%__make %{?_smp_mflags} |
%__make %{?_smp_mflags} |
98 |
|
|
99 |
%install |
%install |
117 |
%defattr(-,root,root) |
%defattr(-,root,root) |
118 |
%doc doc/html/* |
%doc doc/html/* |
119 |
%{_libdir}/liblscp.so |
%{_libdir}/liblscp.so |
|
%{_libdir}/liblscp.a |
|
|
%{_libdir}/liblscp.la |
|
120 |
%{_libdir}/pkgconfig/lscp.pc |
%{_libdir}/pkgconfig/lscp.pc |
121 |
%dir %{_includedir}/lscp |
%dir %{_includedir}/lscp |
122 |
%{_includedir}/lscp/*.h |
%{_includedir}/lscp/*.h |