Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
perl-BSSolv
> perl-BSSolv.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-BSSolv.spec of Package perl-BSSolv (Revision 6)
Currently displaying revision
6
,
show latest
Name: perl-BSSolv Version: 0.1 Release: 1 License: BSD 3-Clause Url: git://git.opensuse.org/projects/zypp/sat-solver.git Source: %(cd %_sourcedir; echo satsolver-*.tar*) Source1: Makefile.PL Source2: BSSolv.pm Source3: BSSolv.xs Source4: typemap BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Libraries/C and C++ BuildRequires: doxygen %if 0%{?mandriva_version} # force this version on mandriva BuildRequires: libneon0.26-devel %endif %if 0%{?fedora_version} BuildRequires: perl-devel db4-devel %endif %if 0%{?suse_version} %if 0%{?suse_version} < 1030 BuildRequires: expat %else BuildRequires: libexpat-devel %endif %if 0%{?suse_version} < 1100 BuildRequires: graphviz %endif %else BuildRequires: expat-devel %endif BuildRequires: cmake rpm-devel gcc-c++ ruby-devel swig perl python-devel BuildRequires: zlib-devel # the testsuite uses the check framework BuildRequires: check-devel Summary: A new approach to package dependency solving %description A new approach to package dependency solving %prep %setup -c ln -s satsolver-* sat-solver cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$CFLAGS" CMAKE_FLAGS= %if 0%{?fedora_version} CMAKE_FLAGS="-DFEDORA=1" %endif pushd sat-solver cmake $CMAKE_FLAGS \ -DMULTI_SEMANTICS=1 \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 pushd src ; make ; popd pushd ext ; make ; popd popd perl Makefile.PL make %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{perl_vendorarch}/BSSolv.pm %{perl_vendorarch}/auto/BSSolv /var/adm/perl-modules/* %changelog