2007-01-10 17:50:00 +01:00
|
|
|
#
|
2010-04-07 18:27:28 +02:00
|
|
|
# spec file for package libzypp
|
2007-01-10 17:50:00 +01:00
|
|
|
#
|
2011-10-18 18:26:16 +02:00
|
|
|
# Copyright (c) 2005-2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 17:50:00 +01:00
|
|
|
#
|
2011-10-18 18:26:16 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 17:50:00 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
2012-05-03 15:51:41 +02:00
|
|
|
%define force_gcc_46 0
|
2007-01-10 17:50:00 +01:00
|
|
|
|
2011-10-18 18:26:16 +02:00
|
|
|
|
2007-01-10 17:50:00 +01:00
|
|
|
Name: libzypp
|
2012-02-06 15:15:54 +01:00
|
|
|
License: GPL-2.0+
|
2007-01-10 17:50:00 +01:00
|
|
|
Group: System/Packages
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Package, Patch, Pattern, and Product Management
|
2012-12-03 14:47:00 +01:00
|
|
|
Version: 12.5.0
|
2011-10-18 18:26:16 +02:00
|
|
|
Release: 1
|
2009-07-11 17:26:42 +02:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: %{name}-rpmlintrc
|
2007-04-20 01:16:38 +02:00
|
|
|
Provides: yast2-packagemanager
|
2007-01-10 17:50:00 +01:00
|
|
|
Obsoletes: yast2-packagemanager
|
2011-06-28 16:21:02 +02:00
|
|
|
|
|
|
|
# Features we provide (update doc/autoinclude/FeatureTest.doc):
|
2011-07-01 14:21:36 +02:00
|
|
|
Provides: libzypp(plugin) = 0
|
2011-06-28 16:21:02 +02:00
|
|
|
Provides: libzypp(plugin:commit) = 0
|
|
|
|
Provides: libzypp(plugin:services) = 0
|
|
|
|
Provides: libzypp(plugin:system) = 0
|
|
|
|
Provides: libzypp(plugin:urlresolver) = 0
|
|
|
|
|
2010-03-01 01:43:27 +01:00
|
|
|
%if 0%{?suse_version}
|
2008-10-24 15:19:57 +02:00
|
|
|
Recommends: logrotate
|
2011-05-31 10:54:37 +02:00
|
|
|
# lsof is used for 'zypper ps':
|
|
|
|
Recommends: lsof
|
2011-06-06 17:11:19 +02:00
|
|
|
%endif
|
2007-03-01 22:15:26 +01:00
|
|
|
BuildRequires: cmake
|
2009-07-16 16:54:21 +02:00
|
|
|
BuildRequires: openssl-devel
|
2012-01-03 15:39:35 +01:00
|
|
|
%if 0%{?suse_version} >= 1130 || 0%{?fedora_version} >= 16
|
2010-04-27 11:52:07 +02:00
|
|
|
BuildRequires: libudev-devel
|
2011-05-26 19:14:01 +02:00
|
|
|
%else
|
|
|
|
BuildRequires: hal-devel
|
|
|
|
%endif
|
2010-05-17 17:03:29 +02:00
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: dejagnu
|
|
|
|
BuildRequires: doxygen
|
2012-04-20 12:28:00 +02:00
|
|
|
%if 0%{?force_gcc_46}
|
2012-04-26 10:34:07 +02:00
|
|
|
BuildRequires: gcc46
|
|
|
|
BuildRequires: gcc46-c++
|
2012-04-16 15:14:15 +02:00
|
|
|
%else
|
2011-10-24 15:25:49 +02:00
|
|
|
BuildRequires: gcc-c++ >= 4.6
|
2012-04-16 15:14:15 +02:00
|
|
|
%endif
|
2010-05-17 17:03:29 +02:00
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: libxml2-devel
|
2012-03-19 14:20:30 +01:00
|
|
|
%if 0%{?suse_version} != 1110
|
|
|
|
# No libproxy on SLES
|
2010-12-22 16:34:28 +01:00
|
|
|
BuildRequires: libproxy-devel
|
2012-03-19 14:20:30 +01:00
|
|
|
%endif
|
2012-01-03 15:39:35 +01:00
|
|
|
|
|
|
|
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%else
|
2011-11-07 15:59:40 +01:00
|
|
|
BuildRequires: pkg-config
|
2012-01-03 15:39:35 +01:00
|
|
|
%endif
|
2010-04-07 18:27:28 +02:00
|
|
|
|
2012-11-23 18:15:09 +01:00
|
|
|
BuildRequires: libsolv-devel >= 0.2.1
|
2011-05-19 17:06:27 +02:00
|
|
|
%if 0%{?suse_version} >= 1100
|
2011-10-10 18:39:56 +02:00
|
|
|
%requires_eq libsolv-tools
|
2010-03-01 01:43:27 +01:00
|
|
|
%else
|
2011-10-10 18:39:56 +02:00
|
|
|
Requires: libsolv-tools
|
2010-03-01 01:43:27 +01:00
|
|
|
%endif
|
|
|
|
|
2009-02-23 23:24:01 +01:00
|
|
|
# required for testsuite, webrick
|
|
|
|
BuildRequires: ruby
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2008-02-26 11:52:16 +01:00
|
|
|
%if 0%{?suse_version}
|
2008-11-23 09:10:54 +01:00
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: expat-devel
|
|
|
|
%endif
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2011-10-18 18:26:16 +02:00
|
|
|
Requires: rpm
|
2011-09-07 13:05:51 +02:00
|
|
|
|
2008-11-23 09:10:54 +01:00
|
|
|
%if 0%{?suse_version}
|
2010-05-17 17:03:29 +02:00
|
|
|
BuildRequires: rpm-devel
|
2008-03-14 18:05:48 +01:00
|
|
|
%endif
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2011-08-01 18:20:37 +02:00
|
|
|
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600
|
2010-05-17 17:03:29 +02:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: popt-devel
|
|
|
|
BuildRequires: rpm-devel
|
2008-02-26 11:52:16 +01:00
|
|
|
%endif
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2008-02-26 11:52:16 +01:00
|
|
|
%if 0%{?mandriva_version}
|
2008-03-14 18:05:48 +01:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: librpm-devel
|
2008-02-26 11:52:16 +01:00
|
|
|
%endif
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2008-02-26 11:52:16 +01:00
|
|
|
%if 0%{?suse_version}
|
2007-06-21 22:40:55 +02:00
|
|
|
Requires: gpg2
|
2008-02-26 11:52:16 +01:00
|
|
|
%else
|
2010-03-01 01:43:27 +01:00
|
|
|
Requires: gnupg2
|
2008-02-26 11:52:16 +01:00
|
|
|
%endif
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2011-12-08 12:27:09 +01:00
|
|
|
%define min_curl_version 7.19.4
|
2010-03-01 01:43:27 +01:00
|
|
|
%if 0%{?suse_version}
|
2011-05-19 17:06:27 +02:00
|
|
|
%if 0%{?suse_version} >= 1100
|
|
|
|
# Code11+
|
|
|
|
BuildRequires: libcurl-devel >= %{min_curl_version}
|
|
|
|
Requires: libcurl4 >= %{min_curl_version}
|
2010-03-01 01:43:27 +01:00
|
|
|
%else
|
2011-05-19 17:06:27 +02:00
|
|
|
# Code10
|
|
|
|
BuildRequires: curl-devel
|
2010-03-01 01:43:27 +01:00
|
|
|
%endif
|
2011-05-19 17:06:27 +02:00
|
|
|
%else
|
|
|
|
# Other distros (Fedora)
|
2009-12-04 12:10:16 +01:00
|
|
|
BuildRequires: libcurl-devel >= %{min_curl_version}
|
2011-05-19 17:06:27 +02:00
|
|
|
Requires: libcurl >= %{min_curl_version}
|
|
|
|
%endif
|
2007-01-10 17:50:00 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Package, Patch, Pattern, and Product Management
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Andres <ma@suse.de>
|
|
|
|
Jiri Srain <jsrain@suse.cz>
|
|
|
|
Stefan Schubert <schubi@suse.de>
|
|
|
|
Duncan Mac-Vicar <dmacvicar@suse.de>
|
|
|
|
Klaus Kaempf <kkaempf@suse.de>
|
|
|
|
Marius Tomaschewski <mt@suse.de>
|
|
|
|
Stanislav Visnovsky <visnov@suse.cz>
|
|
|
|
Ladislav Slezak <lslezak@suse.cz>
|
|
|
|
|
|
|
|
%package devel
|
2012-02-06 15:15:54 +01:00
|
|
|
License: GPL-2.0+
|
2010-05-17 17:03:29 +02:00
|
|
|
Requires: libzypp = %{version}
|
|
|
|
Requires: libxml2-devel
|
|
|
|
Requires: openssl-devel
|
|
|
|
Requires: rpm-devel
|
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: zlib-devel
|
|
|
|
Requires: bzip2
|
|
|
|
Requires: popt-devel
|
|
|
|
Requires: boost-devel
|
|
|
|
Requires: libstdc++-devel
|
2012-01-03 16:16:07 +01:00
|
|
|
%if 0%{?suse_version} >= 1130 || 0%{?fedora_version} >= 16
|
2010-04-27 11:52:07 +02:00
|
|
|
Requires: libudev-devel
|
2011-05-26 19:14:01 +02:00
|
|
|
%else
|
|
|
|
Requires: hal-devel
|
|
|
|
%endif
|
2009-10-27 16:37:02 +01:00
|
|
|
Requires: cmake
|
2010-03-01 01:43:27 +01:00
|
|
|
%if 0%{?suse_version}
|
2011-05-19 17:06:27 +02:00
|
|
|
%if 0%{?suse_version} >= 1100
|
|
|
|
# Code11+
|
2011-10-18 18:26:16 +02:00
|
|
|
Requires: libcurl-devel >= %{min_curl_version}
|
2011-05-19 17:06:27 +02:00
|
|
|
%else
|
|
|
|
# Code10
|
2011-10-18 18:26:16 +02:00
|
|
|
Requires: curl-devel
|
2011-05-19 17:06:27 +02:00
|
|
|
%endif
|
|
|
|
%else
|
|
|
|
# Other distros (Fedora)
|
2011-10-18 18:26:16 +02:00
|
|
|
Requires: libcurl-devel >= %{min_curl_version}
|
2011-05-19 17:06:27 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} >= 1100
|
2011-10-10 18:39:56 +02:00
|
|
|
%requires_ge libsolv-devel
|
2010-03-01 01:43:27 +01:00
|
|
|
%else
|
2011-10-10 18:39:56 +02:00
|
|
|
Requires: libsolv-devel
|
2010-03-01 01:43:27 +01:00
|
|
|
%endif
|
2007-01-10 17:50:00 +01:00
|
|
|
Summary: Package, Patch, Pattern, and Product Management - developers files
|
|
|
|
Group: System/Packages
|
|
|
|
Provides: yast2-packagemanager-devel
|
|
|
|
Obsoletes: yast2-packagemanager-devel
|
|
|
|
|
|
|
|
%description -n libzypp-devel
|
|
|
|
Package, Patch, Pattern, and Product Management - developers files
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Andres <ma@suse.de>
|
|
|
|
Jiri Srain <jsrain@suse.cz>
|
|
|
|
Stefan Schubert <schubi@suse.de>
|
|
|
|
Duncan Mac-Vicar <dmacvicar@suse.de>
|
|
|
|
Klaus Kaempf <kkaempf@suse.de>
|
|
|
|
Marius Tomaschewski <mt@suse.de>
|
|
|
|
Stanislav Visnovsky <visnov@suse.cz>
|
|
|
|
Ladislav Slezak <lslezak@suse.cz>
|
|
|
|
|
|
|
|
%prep
|
2007-03-01 22:15:26 +01:00
|
|
|
%setup -q
|
2007-01-10 17:50:00 +01:00
|
|
|
|
|
|
|
%build
|
2007-03-01 22:15:26 +01:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2012-04-20 12:28:00 +02:00
|
|
|
%if 0%{?force_gcc_46}
|
2012-04-16 15:14:15 +02:00
|
|
|
export CC=gcc-4.6
|
|
|
|
export CXX=g++-4.6
|
|
|
|
%endif
|
2008-05-28 17:00:23 +02:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2010-05-17 17:03:29 +02:00
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
2011-05-27 14:17:55 +02:00
|
|
|
unset TRANSLATION_SET
|
2012-03-19 13:15:06 +01:00
|
|
|
unset EXTRA_CMAKE_OPTIONS
|
2011-05-27 14:17:55 +02:00
|
|
|
# SLE11-* might want its own translation set:
|
|
|
|
%if 0%{?suse_version} == 1110
|
|
|
|
if [ -f ../po/sle-zypp-po.tar.bz ]; then
|
|
|
|
export TRANSLATION_SET=sle-zypp
|
2012-03-19 13:15:06 +01:00
|
|
|
export EXTRA_CMAKE_OPTIONS="-DDISABLE_LIBPROXY=ON"
|
2011-05-27 14:17:55 +02:00
|
|
|
fi
|
|
|
|
%endif
|
2010-05-17 17:03:29 +02:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
2008-03-14 18:05:48 +01:00
|
|
|
-DDOC_INSTALL_DIR=%{_docdir} \
|
2007-04-04 20:54:31 +02:00
|
|
|
-DLIB=%{_lib} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=1 \
|
2011-05-27 14:17:55 +02:00
|
|
|
-DUSE_TRANSLATION_SET=${TRANSLATION_SET:-zypp} \
|
2012-03-19 13:15:06 +01:00
|
|
|
${EXTRA_CMAKE_OPTIONS} \
|
2007-04-04 20:54:31 +02:00
|
|
|
..
|
2010-05-17 17:03:29 +02:00
|
|
|
make %{?_smp_mflags} VERBOSE=1
|
|
|
|
make -C doc/autodoc %{?_smp_mflags}
|
|
|
|
make -C po %{?_smp_mflags} translations
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2009-02-27 16:14:30 +01:00
|
|
|
%if 0%{?run_testsuite}
|
2010-05-17 17:03:29 +02:00
|
|
|
make -C tests %{?_smp_mflags}
|
2009-02-27 16:14:30 +01:00
|
|
|
pushd tests
|
2009-03-07 11:42:29 +01:00
|
|
|
LD_LIBRARY_PATH=$PWD/../zypp:$LD_LIBRARY_PATH ctest .
|
2009-02-27 16:14:30 +01:00
|
|
|
popd
|
|
|
|
%endif
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2007-01-10 17:50:00 +01:00
|
|
|
#make check
|
|
|
|
|
|
|
|
%install
|
2008-03-14 18:05:48 +01:00
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
2007-03-01 22:15:26 +01:00
|
|
|
cd build
|
2007-01-10 17:50:00 +01:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2007-03-01 22:15:26 +01:00
|
|
|
make -C doc/autodoc install DESTDIR=$RPM_BUILD_ROOT
|
2011-08-01 18:20:37 +02:00
|
|
|
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600
|
2011-04-14 10:27:51 +02:00
|
|
|
ln -s %{_sysconfdir}/yum.repos.d $RPM_BUILD_ROOT%{_sysconfdir}/zypp/repos.d
|
|
|
|
%else
|
2010-05-17 17:03:29 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/repos.d
|
2011-04-14 10:27:51 +02:00
|
|
|
%endif
|
2010-05-17 17:03:29 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/services.d
|
2012-04-16 15:14:15 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/vendors.d
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/multiversion.d
|
2010-05-17 17:03:29 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp
|
2010-10-07 13:45:46 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins
|
2010-10-19 16:10:43 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/commit
|
2010-10-07 13:45:46 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/services
|
2010-10-19 16:10:43 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/system
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/urlresolver
|
2010-05-17 17:03:29 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_var}/lib/zypp
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_var}/log/zypp
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_var}/cache/zypp
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2007-03-01 22:15:26 +01:00
|
|
|
make -C po install DESTDIR=$RPM_BUILD_ROOT
|
2007-09-11 00:44:02 +02:00
|
|
|
# Create filelist with translations
|
2007-03-01 22:15:26 +01:00
|
|
|
cd ..
|
2007-01-10 17:50:00 +01:00
|
|
|
%{find_lang} zypp
|
|
|
|
|
|
|
|
%post
|
2010-03-01 01:43:27 +01:00
|
|
|
/sbin/ldconfig
|
2008-02-26 11:52:16 +01:00
|
|
|
if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2008-05-26 19:04:04 +02:00
|
|
|
# convert old lock file to new
|
|
|
|
# TODO make this a separate file?
|
|
|
|
# TODO run the sript only when updating form pre-11.0 libzypp versions
|
2010-05-17 17:03:29 +02:00
|
|
|
LOCKSFILE=%{_sysconfdir}/zypp/locks
|
|
|
|
OLDLOCKSFILE=%{_sysconfdir}/zypp/locks.old
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2008-05-26 19:04:04 +02:00
|
|
|
is_old(){
|
2008-12-07 21:57:57 +01:00
|
|
|
# if no such file, exit with false (1 in bash)
|
|
|
|
test -f ${LOCKSFILE} || return 1
|
2008-05-26 19:04:04 +02:00
|
|
|
TEMP_FILE=`mktemp`
|
|
|
|
cat ${LOCKSFILE} | sed '/^\#.*/ d;/.*:.*/d;/^[^[a-zA-Z\*?.0-9]*$/d' > ${TEMP_FILE}
|
|
|
|
if [ -s ${TEMP_FILE} ]
|
|
|
|
then
|
|
|
|
RES=0
|
|
|
|
else
|
|
|
|
RES=1
|
|
|
|
fi
|
|
|
|
rm -f ${TEMP_FILE}
|
|
|
|
return ${RES}
|
|
|
|
}
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2008-05-26 19:04:04 +02:00
|
|
|
append_new_lock(){
|
|
|
|
case "$#" in
|
|
|
|
1 )
|
|
|
|
echo "
|
|
|
|
solvable_name: $1
|
|
|
|
match_type: glob
|
|
|
|
" >> ${LOCKSFILE}
|
|
|
|
;;
|
|
|
|
2 ) #TODO version
|
|
|
|
echo "
|
|
|
|
solvable_name: $1
|
|
|
|
match_type: glob
|
|
|
|
version: $2
|
|
|
|
" >> ${LOCKSFILE}
|
|
|
|
;;
|
|
|
|
3 ) #TODO version
|
|
|
|
echo "
|
|
|
|
solvable_name: $1
|
|
|
|
match_type: glob
|
|
|
|
version: $2 $3
|
|
|
|
" >> ${LOCKSFILE}
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2008-05-26 19:04:04 +02:00
|
|
|
die() {
|
|
|
|
echo $1
|
|
|
|
exit 1
|
|
|
|
}
|
2010-03-01 01:43:27 +01:00
|
|
|
|
2008-05-26 19:04:04 +02:00
|
|
|
if is_old ${LOCKSFILE}
|
|
|
|
then
|
|
|
|
mv -f ${LOCKSFILE} ${OLDLOCKSFILE} || die "cannot backup old locks"
|
|
|
|
cat ${OLDLOCKSFILE}| sed "/^\#.*/d"| while read line
|
|
|
|
do
|
|
|
|
append_new_lock $line
|
|
|
|
done
|
|
|
|
fi
|
2007-01-10 17:50:00 +01:00
|
|
|
|
2010-03-01 01:43:27 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-10 17:50:00 +01:00
|
|
|
|
|
|
|
%clean
|
2008-03-14 18:05:48 +01:00
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
2007-01-10 17:50:00 +01:00
|
|
|
|
|
|
|
%files -f zypp.lang
|
|
|
|
%defattr(-,root,root)
|
2010-05-17 17:03:29 +02:00
|
|
|
%dir %{_sysconfdir}/zypp
|
2011-08-01 18:20:37 +02:00
|
|
|
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600
|
2011-04-14 10:27:51 +02:00
|
|
|
%{_sysconfdir}/zypp/repos.d
|
|
|
|
%else
|
2010-05-17 17:03:29 +02:00
|
|
|
%dir %{_sysconfdir}/zypp/repos.d
|
2011-04-14 10:27:51 +02:00
|
|
|
%endif
|
2010-05-17 17:03:29 +02:00
|
|
|
%dir %{_sysconfdir}/zypp/services.d
|
2012-04-16 15:14:15 +02:00
|
|
|
%dir %{_sysconfdir}/zypp/vendors.d
|
|
|
|
%dir %{_sysconfdir}/zypp/multiversion.d
|
2010-05-17 17:03:29 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/zypp/zypp.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/zypp/systemCheck
|
2008-10-24 15:19:57 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/zypp-history.lr
|
2008-09-25 13:18:59 +02:00
|
|
|
%dir %{_var}/lib/zypp
|
|
|
|
%dir %{_var}/log/zypp
|
|
|
|
%dir %{_var}/cache/zypp
|
2010-05-17 17:03:29 +02:00
|
|
|
%{_prefix}/lib/zypp
|
|
|
|
%{_datadir}/zypp
|
|
|
|
%{_bindir}/*
|
2007-09-11 00:44:02 +02:00
|
|
|
%{_libdir}/libzypp*so.*
|
2010-05-17 17:03:29 +02:00
|
|
|
%doc %{_mandir}/man5/locks.5.*
|
2007-01-10 17:50:00 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-03-01 22:15:26 +01:00
|
|
|
%{_libdir}/libzypp.so
|
|
|
|
%{_docdir}/%{name}
|
2010-05-17 17:03:29 +02:00
|
|
|
%{_includedir}/zypp
|
|
|
|
%{_datadir}/cmake/Modules/*
|
2007-01-10 17:50:00 +01:00
|
|
|
%{_libdir}/pkgconfig/libzypp.pc
|
2007-12-02 15:09:03 +01:00
|
|
|
|
2007-02-27 13:42:36 +01:00
|
|
|
%changelog
|