2 # spec file for package libzypp
4 # Copyright (c) 2007 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/
14 License: GPL v2 or later
15 Group: System/Packages
16 BuildRoot: %{_tmppath}/%{name}-%{version}-build
18 Summary: Package, Patch, Pattern, and Product Management
21 Source: @PACKAGE@-@VERSION@.tar.bz2
22 Source1: @PACKAGE@-rpmlintrc
24 Provides: yast2-packagemanager
25 Obsoletes: yast2-packagemanager
27 BuildRequires: libsatsolver-devel openssl-devel sqlite-devel
28 BuildRequires: boost-devel curl-devel dejagnu doxygen gcc-c++ gettext-devel graphviz hal-devel libxml2-devel rpm-devel
29 BuildRequires: hicolor-icon-theme update-desktop-files
31 Requires: satsolver-tools == %( echo `rpm -q --queryformat '%{VERSION}' satsolver-tools`)
34 Package, Patch, Pattern, and Product Management
38 Michael Andres <ma@suse.de>
39 Jiri Srain <jsrain@suse.cz>
40 Stefan Schubert <schubi@suse.de>
41 Duncan Mac-Vicar <dmacvicar@suse.de>
42 Klaus Kaempf <kkaempf@suse.de>
43 Marius Tomaschewski <mt@suse.de>
44 Stanislav Visnovsky <visnov@suse.cz>
45 Ladislav Slezak <lslezak@suse.cz>
48 Requires: libzypp == @VERSION@
49 Requires: libxml2-devel curl-devel openssl-devel rpm-devel glibc-devel zlib-devel
50 Requires: bzip2 popt-devel dbus-1-devel glib2-devel hal-devel boost-devel libstdc++-devel
52 Summary: Package, Patch, Pattern, and Product Management - developers files
53 Group: System/Packages
54 Provides: yast2-packagemanager-devel
55 Obsoletes: yast2-packagemanager-devel
57 %description -n libzypp-devel
58 Package, Patch, Pattern, and Product Management - developers files
62 Michael Andres <ma@suse.de>
63 Jiri Srain <jsrain@suse.cz>
64 Stefan Schubert <schubi@suse.de>
65 Duncan Mac-Vicar <dmacvicar@suse.de>
66 Klaus Kaempf <kkaempf@suse.de>
67 Marius Tomaschewski <mt@suse.de>
68 Stanislav Visnovsky <visnov@suse.cz>
69 Ladislav Slezak <lslezak@suse.cz>
77 cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
79 -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
80 -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \
81 -DCMAKE_BUILD_TYPE=Release \
82 -DCMAKE_SKIP_RPATH=1 \
84 make %{?jobs:-j %jobs} VERBOSE=1
85 make -C doc/autodoc %{?jobs:-j %jobs}
86 make -C po %{?jobs:-j %jobs} translations
92 make install DESTDIR=$RPM_BUILD_ROOT
93 make -C doc/autodoc install DESTDIR=$RPM_BUILD_ROOT
94 mkdir -p $RPM_BUILD_ROOT/etc/zypp/repos.d
95 %suse_update_desktop_file -G "" -C "" package-manager
96 make -C po install DESTDIR=$RPM_BUILD_ROOT
97 # Create filelist with translations
104 #%{prefix}/lib/zypp/zypp-migrate-sources
112 %defattr(-,root,root)
114 %dir /etc/zypp/repos.d
115 %config(noreplace) /etc/zypp/zypp.conf
118 %{prefix}/share/applications/package-manager.desktop
119 %{prefix}/share/icons/hicolor/scalable/apps/package-manager-icon.svg
120 %{prefix}/share/icons/hicolor/16x16/apps/package-manager-icon.png
121 %{prefix}/share/icons/hicolor/32x32/apps/package-manager-icon.png
122 %{prefix}/share/icons/hicolor/48x48/apps/package-manager-icon.png
123 %{prefix}/bin/package-manager
124 %{prefix}/bin/package-manager-su
125 %{_libdir}/libzypp*so.*
128 %defattr(-,root,root)
129 %{_libdir}/libzypp.so
130 #%dir %{_libdir}/libzypp.la
132 %dir %{prefix}/include/zypp
133 %{prefix}/include/zypp/*
134 %{prefix}/share/cmake/Modules/*
135 %{_libdir}/pkgconfig/libzypp.pc