lemon.spec.in
changeset 2138 a683f63b54e2
parent 1925 00b6f685ab8d
child 2207 75a29ac69c19
equal deleted inserted replaced
3:1748e88e57b8 4:d79d9fd81675
    18 
    18 
    19 %prep
    19 %prep
    20 %setup -q
    20 %setup -q
    21 
    21 
    22 %build
    22 %build
    23 %configure --enable-gui --with-glpk --without-cplex
    23 %configure --with-glpk --without-cplex
    24 make
    24 make
    25 
    25 
    26 %install
    26 %install
    27 rm -rf $RPM_BUILD_ROOT
    27 rm -rf $RPM_BUILD_ROOT
    28 make DESTDIR=$RPM_BUILD_ROOT install
    28 make DESTDIR=$RPM_BUILD_ROOT install
    34 
    34 
    35 %postun -p /sbin/ldconfig
    35 %postun -p /sbin/ldconfig
    36 
    36 
    37 %files
    37 %files
    38 %defattr(-,root,root)
    38 %defattr(-,root,root)
    39 %{_bindir}/glemon
       
    40 %{_includedir}/%{name}
    39 %{_includedir}/%{name}
    41 %{_libdir}/lib*
    40 %{_libdir}/lib*
    42 %{_libdir}/pkgconfig/lemon.pc
    41 %{_libdir}/pkgconfig/lemon.pc
    43 %doc %{_datadir}/doc/%{name}
    42 %doc %{_datadir}/doc/%{name}
    44 %doc AUTHORS COPYING LICENSE NEWS README
    43 %doc AUTHORS COPYING LICENSE NEWS README