/[packages]/cauldron/zypper/current/SPECS/zypper.spec
ViewVC logotype

Contents of /cauldron/zypper/current/SPECS/zypper.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1964279 - (show annotations) (download)
Sat Jul 29 10:33:50 2023 UTC (10 months, 2 weeks ago) by wally
File size: 1765 byte(s)
- do not own /etc/bash_completion.d/
1 %define name zypper
2 %define docdir %{_defaultdocdir}/%{name}
3
4 Name: %{name}
5 Version: 1.14.56
6 Release: %mkrel 1
7 Summary: Command line package manager
8 License: GPLv2+
9 Group: System/Packaging
10 URL: https://en.opensuse.org/Zypper
11 Source0: %{name}-%{version}.tar.gz
12 Patch1: zypper-1.6.5-docdir.patch
13 #Patch2: zypper-1.7.8-use-pkgconfig.patch
14 BuildRequires: boost-devel
15 BuildRequires: cmake
16 BuildRequires: augeas-devel
17 BuildRequires: libzypp-devel
18 BuildRequires: readline-devel
19 BuildRequires: libxml2-devel
20 BuildRequires: ruby-asciidoctor
21 Provides: apt
22 Obsoletes: apt < 1:0.6
23
24 %description
25 Zypper is a command line package manager, which makes use of libzypp,
26 providing functions like repository access, dependency solving,
27 package installation, etc.
28
29 The XML based repository metadata used by this package manager is not
30 available on Mageia mirrors so it cannot be used for regular package
31 installation.
32
33 %prep
34 %autosetup -p1
35
36 %build
37 %cmake -DFEDORA:BOOL=TRUE -DDOC_INSTALL_DIR:PATH=%{docdir}
38 %cmake_build
39
40 %install
41 %cmake_install
42
43 %find_lang %{name}
44
45 # Fix shebang for zypper-log
46 sed -e "s|/usr/bin/env python|/usr/bin/python3|g" -i %{buildroot}%{_sbindir}/zypper-log
47
48 %files -f %{name}.lang
49 %{_bindir}/%{name}
50 %{_bindir}/apt
51 %{_bindir}/apt-get
52 %{_sbindir}/%{name}*
53 %{_bindir}/aptitude
54 %{_bindir}/installation_sources
55 %exclude %{_bindir}/needs-restarting
56 %{_sbindir}/zypp-refresh
57 %{_sysconfdir}/bash_completion.d/zypper.sh
58 %config(noreplace) %{_sysconfdir}/logrotate.d/zypp-refresh.lr
59 %config(noreplace) %{_sysconfdir}/logrotate.d/zypper.lr
60 %config(noreplace) %{_sysconfdir}/zypp/%{name}.conf
61 %{_sysconfdir}/zypp/apt-packagemap.d
62 %{_datadir}/%{name}
63 %{_mandir}/man*/%{name}*
64 %exclude %{_mandir}/man1/needs-restarting.1.*
65 %{_mandir}/man8/zypp-refresh.8.*
66 %{docdir}

  ViewVC Help
Powered by ViewVC 1.1.30