/[svn]/liblscp/trunk/liblscp.spec.in
ViewVC logotype

Diff of /liblscp/trunk/liblscp.spec.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3865 by capela, Sun Mar 14 10:17:22 2021 UTC revision 3866 by capela, Sat Mar 27 12:17:51 2021 UTC
# Line 16  Line 16 
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}
# Line 39  BuildRoot:     %{_tmppath}/%{name}-%{version Line 39  BuildRoot:     %{_tmppath}/%{name}-%{version
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
# Line 90  intend to compile programs that use this Line 90  intend to compile programs that use this
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
# Line 122  export CFLAGS="-ffat-lto-objects" Line 117  export CFLAGS="-ffat-lto-objects"
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

Legend:
Removed from v.3865  
changed lines
  Added in v.3866

  ViewVC Help
Powered by ViewVC