]>
Commit | Line | Data |
---|---|---|
ff76901c JB |
1 | Summary: Pacman - simple library-based package manager (from Arch Linux) |
2 | Summary(pl.UTF-8): Pacman - prosty, oparty na bibliotece zarządca pakietów (z Arch Linuksa) | |
3 | Name: alpm | |
c65187d5 | 4 | Version: 6.0.2 |
ff76901c JB |
5 | Release: 0.1 |
6 | License: GPL v2+ | |
7 | Group: Libraries | |
df1d6fc0 | 8 | Source0: https://sources.archlinux.org/other/pacman/pacman-%{version}.tar.xz |
c65187d5 | 9 | # Source0-md5: f2c7e82cc5483a2c90f228a0393f5526 |
ff76901c | 10 | URL: https://www.archlinux.org/pacman/ |
f70ab42b | 11 | BuildRequires: bash >= 4.4.0 |
df1d6fc0 | 12 | BuildRequires: bash-completion-devel >= 2.0 |
e60219ce | 13 | BuildRequires: bsdtar |
df1d6fc0 JB |
14 | BuildRequires: curl-devel >= 7.55.0 |
15 | BuildRequires: doxygen | |
16 | BuildRequires: file >= 5.38 | |
ff76901c JB |
17 | BuildRequires: gettext-devel >= 0.13.1 |
18 | BuildRequires: gpgme-devel >= 1.3.0 | |
61d306bd | 19 | BuildRequires: libarchive-devel >= 3.0.0 |
df1d6fc0 JB |
20 | BuildRequires: meson >= 0.51 |
21 | BuildRequires: ninja >= 1.5 | |
e60219ce | 22 | # or nettle |
ff76901c JB |
23 | BuildRequires: openssl-devel |
24 | BuildRequires: perl-base >= 1:5.10.1 | |
25 | BuildRequires: pkgconfig | |
f70ab42b | 26 | BuildRequires: python3 >= 1:3.2 |
df1d6fc0 JB |
27 | BuildRequires: rpm-build >= 4.6 |
28 | BuildRequires: rpmbuild(macros) >= 1.736 | |
29 | BuildRequires: tar >= 1:1.22 | |
30 | BuildRequires: xz | |
ff76901c | 31 | Requires: %{name}-libs = %{version}-%{release} |
f70ab42b | 32 | Requires: bash >= 4.4.0 |
df1d6fc0 | 33 | Requires: file >= 5.38 |
ff76901c JB |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
37 | Pacman is a simple library-based package manager, designed for Arch | |
38 | Linux. | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | Pacman to prosty, oparty na bibliotece zarządca pakietów, powstały dla | |
42 | Arch Linuksa. | |
43 | ||
61d306bd JB |
44 | %package -n bash-completion-alpm |
45 | Summary: Bash completion for Arch Linux Package Manager (Pacman) | |
46 | Summary(pl.UTF-8): Bashowe dopełnianie parametrów dla zarządcy pakietów Arch Linuksa (Pacmana) | |
47 | Group: Applications/Shells | |
48 | Requires: %{name} = %{version}-%{release} | |
f70ab42b | 49 | Requires: bash-completion >= 2.0 |
df1d6fc0 | 50 | BuildArch: noarch |
61d306bd JB |
51 | |
52 | %description -n bash-completion-alpm | |
53 | Bash completion for Arch Linux Package Manager (Pacman). | |
54 | ||
55 | %description -n bash-completion-alpm -l pl.UTF-8 | |
56 | Bashowe dopełnianie parametrów dla zarządcy pakietów Arch Linuksa | |
57 | (Pacmana). | |
58 | ||
59 | %package -n zsh-completion-alpm | |
60 | Summary: ZSH completion for Arch Linux Package Manager (Pacman) | |
61 | Summary(pl.UTF-8): Dopełnianie parametrów zarządcy pakietów Arch Linuksa (Pacmana) dla powłoki ZSH | |
62 | Group: Applications/Shells | |
63 | Requires: %{name} = %{version}-%{release} | |
64 | Requires: zsh | |
df1d6fc0 | 65 | BuildArch: noarch |
61d306bd JB |
66 | |
67 | %description -n zsh-completion-alpm | |
68 | ZSH completion for Arch Linux Package Manager (Pacman). | |
69 | ||
70 | %description -n zsh-completion-alpm -l pl.UTF-8 | |
71 | Dopełnianie parametrów zarządcy pakietów Arch Linuksa (Pacmana) dla | |
72 | powłoki ZSH. | |
73 | ||
ff76901c JB |
74 | %package libs |
75 | Summary: Arch Linux Package Management library | |
76 | Summary(pl.UTF-8): Biblioteka Arch Linux Package Management | |
77 | Group: Libraries | |
df1d6fc0 JB |
78 | Requires: curl-libs >= 7.55.0 |
79 | Requires: gpgme >= 1.3.0 | |
ff76901c JB |
80 | |
81 | %description libs | |
82 | Arch Linux Package Management library. | |
83 | ||
84 | %description libs -l pl.UTF-8 | |
85 | Biblioteka Arch Linux Package Management, służąca do zarządzania | |
86 | pakietami Arch Linuksa. | |
87 | ||
88 | %package devel | |
89 | Summary: Header files for ALPM library | |
90 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ALPM | |
91 | Group: Development/Libraries | |
92 | Requires: %{name}-libs = %{version}-%{release} | |
df1d6fc0 | 93 | Requires: curl-devel >= 7.55.0 |
ff76901c | 94 | Requires: gpgme-devel >= 1.3.0 |
61d306bd | 95 | Requires: libarchive-devel >= 3.0.0 |
ff76901c JB |
96 | Requires: openssl-devel |
97 | ||
98 | %description devel | |
99 | Header files for ALPM library. | |
100 | ||
101 | %description devel -l pl.UTF-8 | |
102 | Pliki nagłówkowe biblioteki ALPM. | |
103 | ||
104 | %package static | |
105 | Summary: Static ALPM library | |
106 | Summary(pl.UTF-8): Statyczna biblioteka ALPM | |
107 | Group: Development/Libraries | |
108 | Requires: %{name}-devel = %{version}-%{release} | |
109 | ||
110 | %description static | |
111 | Static ALPM library. | |
112 | ||
113 | %description static -l pl.UTF-8 | |
114 | Statyczna biblioteka ALPM. | |
115 | ||
116 | %prep | |
117 | %setup -q -n pacman-%{version} | |
118 | ||
119 | %build | |
df1d6fc0 JB |
120 | %meson build \ |
121 | -Ddoxygen=enabled | |
ff76901c | 122 | |
df1d6fc0 | 123 | %ninja_build -C build |
ff76901c JB |
124 | |
125 | %install | |
126 | rm -rf $RPM_BUILD_ROOT | |
127 | ||
df1d6fc0 | 128 | %ninja_install -C build |
ff76901c JB |
129 | |
130 | # too generic names | |
ff76901c JB |
131 | %{__mv} $RPM_BUILD_ROOT%{_bindir}/{,pacman-}vercmp |
132 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man8/{,pacman-}vercmp.8 | |
133 | ||
b6fa166e JB |
134 | # "Spanish (Latin America)" - clone to individual countries or provide es_419 as common? |
135 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/es_419 | |
136 | # less complete version of eu | |
137 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/eu_ES | |
138 | ||
df1d6fc0 JB |
139 | # doxygen junk |
140 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/_*.3* | |
141 | ||
ff76901c JB |
142 | %find_lang libalpm |
143 | %find_lang pacman | |
144 | %find_lang pacman-scripts | |
145 | cat pacman-scripts.lang >> pacman.lang | |
146 | ||
147 | %clean | |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
150 | %post libs -p /sbin/ldconfig | |
151 | %postun libs -p /sbin/ldconfig | |
152 | ||
153 | %files -f pacman.lang | |
154 | %defattr(644,root,root,755) | |
ff76901c JB |
155 | %attr(755,root,root) %{_bindir}/makepkg |
156 | %attr(755,root,root) %{_bindir}/makepkg-template | |
157 | %attr(755,root,root) %{_bindir}/pacman | |
61d306bd | 158 | %attr(755,root,root) %{_bindir}/pacman-conf |
ff76901c JB |
159 | %attr(755,root,root) %{_bindir}/pacman-db-upgrade |
160 | %attr(755,root,root) %{_bindir}/pacman-key | |
ff76901c | 161 | %attr(755,root,root) %{_bindir}/pacman-vercmp |
ff76901c JB |
162 | %attr(755,root,root) %{_bindir}/repo-add |
163 | %attr(755,root,root) %{_bindir}/repo-elephant | |
164 | %attr(755,root,root) %{_bindir}/repo-remove | |
165 | %attr(755,root,root) %{_bindir}/testpkg | |
166 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/makepkg.conf | |
167 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pacman.conf | |
61d306bd | 168 | %{_datadir}/makepkg |
ff76901c | 169 | %{_datadir}/pacman |
f70ab42b | 170 | %{_npkgconfigdir}/libmakepkg.pc |
ff76901c | 171 | %{_mandir}/man1/makepkg-template.1* |
61d306bd | 172 | %{_mandir}/man5/BUILDINFO.5* |
ff76901c | 173 | %{_mandir}/man5/PKGBUILD.5* |
61d306bd | 174 | %{_mandir}/man5/alpm-hooks.5* |
ff76901c JB |
175 | %{_mandir}/man5/makepkg.conf.5* |
176 | %{_mandir}/man5/pacman.conf.5* | |
df1d6fc0 | 177 | %{_mandir}/man5/pacman-hooks.5* |
ff76901c JB |
178 | %{_mandir}/man8/makepkg.8* |
179 | %{_mandir}/man8/pacman.8* | |
f70ab42b | 180 | %{_mandir}/man8/pacman-conf.8* |
ff76901c JB |
181 | %{_mandir}/man8/pacman-key.8* |
182 | %{_mandir}/man8/pacman-vercmp.8* | |
ff76901c JB |
183 | %{_mandir}/man8/repo-add.8* |
184 | %{_mandir}/man8/repo-remove.8* | |
185 | ||
61d306bd JB |
186 | %files -n bash-completion-alpm |
187 | %defattr(644,root,root,755) | |
f70ab42b JB |
188 | %{bash_compdir}/makepkg |
189 | %{bash_compdir}/pacman | |
190 | %{bash_compdir}/pacman-key | |
61d306bd JB |
191 | |
192 | %files -n zsh-completion-alpm | |
193 | %defattr(644,root,root,755) | |
194 | %{_datadir}/zsh/site-functions/_pacman | |
195 | ||
ff76901c JB |
196 | %files libs -f libalpm.lang |
197 | %defattr(644,root,root,755) | |
198 | %doc AUTHORS NEWS README | |
199 | %attr(755,root,root) %{_libdir}/libalpm.so.*.*.* | |
df1d6fc0 | 200 | %attr(755,root,root) %ghost %{_libdir}/libalpm.so.13 |
ff76901c JB |
201 | |
202 | %files devel | |
203 | %defattr(644,root,root,755) | |
204 | %attr(755,root,root) %{_libdir}/libalpm.so | |
205 | %{_includedir}/alpm.h | |
206 | %{_includedir}/alpm_list.h | |
207 | %{_pkgconfigdir}/libalpm.pc | |
208 | %{_mandir}/man3/libalpm.3* | |
df1d6fc0 | 209 | %{_mandir}/man3/libalpm_*.3* |
ff76901c JB |
210 | |
211 | %files static | |
212 | %defattr(644,root,root,755) | |
213 | %{_libdir}/libalpm.a |