2 # spec file for package libzypp (Version 1.9.1)
4 # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
5 # This file and all modifications and additions to the pristine
6 # package are under the same license as the package itself.
8 # Please submit bugfixes or comments via http://bugs.opensuse.org
12 # neededforbuild gpp libgpp boost boost-devel doxygen graphviz gettext-devel tcl expect dejagnu pkgconfig expat zlib zlib-devel libxml2 libxml2-devel curl curl-devel dbus-1 dbus-1-glib dbus-1-devel hal hal-devel fontconfig freetype2 libjpeg libpng glib2 glib2-devel rpm-devel popt popt-devel openssl openssl-devel libicu
14 BuildRequires: binutils gcc gcc-c++ glibc-devel libstdc++ libstdc++-devel boost-devel doxygen graphviz gettext-devel dejagnu pkgconfig expat zlib-devel libxml2-devel curl-devel dbus-1-devel hal-devel glib2 glib2-devel rpm-devel
18 Group: System/Libraries
19 BuildRoot: %{_tmppath}/%{name}-%{version}-build
21 Obsoletes: yast2-packagemanager
22 Summary: Package, Patch, Pattern, Product Management
25 Source: zypp-0.0.0.tar.bz2
29 We are ZYPP, you will be assimilated.
32 Requires: libzypp = %{version}
33 Summary: Package, Patch, Pattern, Product Management - development files
34 Group: Development/Libraries/C and C++
36 %description -n libzypp-devel
37 We are ZYPP, you will be assimilated.
40 %setup -q -n zypp-0.0.0
44 grep -v devel/ x > configure.ac
45 autoreconf --force --install --symlink --verbose
46 %{?suse_update_config:%{suse_update_config -f}}
47 ./configure --prefix=%{prefix} --libdir=%{_libdir} --mandir=%{_mandir} --disable-static
48 make %{?jobs:-j %jobs}
52 make install DESTDIR=$RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
65 %dir %{_libdir}/libzypp*so.*
69 %dir %{_libdir}/libzypp.so
70 %dir %{_libdir}/libzypp.la
73 %dir %{prefix}/include/zypp
74 %{prefix}/include/zypp/*
75 %dir %{prefix}/share/zypp
76 %{prefix}/share/zypp/*