lemon.spec.in
changeset 2033 7bf1f64962c2
parent 1671 3c82a0d9e0e7
child 2138 a683f63b54e2
equal deleted inserted replaced
2:7b444513a875 3:1748e88e57b8
    18 
    18 
    19 %prep
    19 %prep
    20 %setup -q
    20 %setup -q
    21 
    21 
    22 %build
    22 %build
    23 %configure
    23 %configure --enable-gui --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
    39 %{_includedir}/%{name}
    40 %{_includedir}/%{name}
    40 %{_libdir}/lib*
    41 %{_libdir}/lib*
    41 %{_libdir}/pkgconfig/lemon.pc
    42 %{_libdir}/pkgconfig/lemon.pc
    42 %doc %{_datadir}/doc/%{name}
    43 %doc %{_datadir}/doc/%{name}
    43 %doc AUTHORS COPYING LICENSE NEWS README
    44 %doc AUTHORS COPYING LICENSE NEWS README