]>
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 | |
61d306bd | 4 | Version: 5.1.1 |
ff76901c JB |
5 | Release: 0.1 |
6 | License: GPL v2+ | |
7 | Group: Libraries | |
61d306bd JB |
8 | Source0: https://sources.archlinux.org/other/pacman/pacman-%{version}.tar.gz |
9 | # Source0-md5: 4da799005fe4d8c6f13fd80a4f67e96f | |
ff76901c JB |
10 | URL: https://www.archlinux.org/pacman/ |
11 | BuildRequires: bash >= 4.1.0 | |
61d306bd | 12 | BuildRequires: autoconf >= 2.64 |
ff76901c | 13 | BuildRequires: automake >= 1:1.11 |
61d306bd | 14 | BuildRequires: curl-devel >= 7.32.0 |
ff76901c JB |
15 | BuildRequires: gettext-devel >= 0.13.1 |
16 | BuildRequires: gpgme-devel >= 1.3.0 | |
61d306bd | 17 | BuildRequires: libarchive-devel >= 3.0.0 |
ff76901c JB |
18 | BuildRequires: libtool >= 2:2 |
19 | BuildRequires: openssl-devel | |
20 | BuildRequires: perl-base >= 1:5.10.1 | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: python >= 1:2.7 | |
23 | Requires: %{name}-libs = %{version}-%{release} | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | Pacman is a simple library-based package manager, designed for Arch | |
28 | Linux. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Pacman to prosty, oparty na bibliotece zarządca pakietów, powstały dla | |
32 | Arch Linuksa. | |
33 | ||
61d306bd JB |
34 | %package -n bash-completion-alpm |
35 | Summary: Bash completion for Arch Linux Package Manager (Pacman) | |
36 | Summary(pl.UTF-8): Bashowe dopełnianie parametrów dla zarządcy pakietów Arch Linuksa (Pacmana) | |
37 | Group: Applications/Shells | |
38 | Requires: %{name} = %{version}-%{release} | |
39 | Requires: bash-completion | |
40 | ||
41 | %description -n bash-completion-alpm | |
42 | Bash completion for Arch Linux Package Manager (Pacman). | |
43 | ||
44 | %description -n bash-completion-alpm -l pl.UTF-8 | |
45 | Bashowe dopełnianie parametrów dla zarządcy pakietów Arch Linuksa | |
46 | (Pacmana). | |
47 | ||
48 | %package -n zsh-completion-alpm | |
49 | Summary: ZSH completion for Arch Linux Package Manager (Pacman) | |
50 | Summary(pl.UTF-8): Dopełnianie parametrów zarządcy pakietów Arch Linuksa (Pacmana) dla powłoki ZSH | |
51 | Group: Applications/Shells | |
52 | Requires: %{name} = %{version}-%{release} | |
53 | Requires: zsh | |
54 | ||
55 | %description -n zsh-completion-alpm | |
56 | ZSH completion for Arch Linux Package Manager (Pacman). | |
57 | ||
58 | %description -n zsh-completion-alpm -l pl.UTF-8 | |
59 | Dopełnianie parametrów zarządcy pakietów Arch Linuksa (Pacmana) dla | |
60 | powłoki ZSH. | |
61 | ||
ff76901c JB |
62 | %package libs |
63 | Summary: Arch Linux Package Management library | |
64 | Summary(pl.UTF-8): Biblioteka Arch Linux Package Management | |
65 | Group: Libraries | |
66 | ||
67 | %description libs | |
68 | Arch Linux Package Management library. | |
69 | ||
70 | %description libs -l pl.UTF-8 | |
71 | Biblioteka Arch Linux Package Management, służąca do zarządzania | |
72 | pakietami Arch Linuksa. | |
73 | ||
74 | %package devel | |
75 | Summary: Header files for ALPM library | |
76 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ALPM | |
77 | Group: Development/Libraries | |
78 | Requires: %{name}-libs = %{version}-%{release} | |
61d306bd | 79 | Requires: curl-devel >= 7.32.0 |
ff76901c | 80 | Requires: gpgme-devel >= 1.3.0 |
61d306bd | 81 | Requires: libarchive-devel >= 3.0.0 |
ff76901c JB |
82 | Requires: openssl-devel |
83 | ||
84 | %description devel | |
85 | Header files for ALPM library. | |
86 | ||
87 | %description devel -l pl.UTF-8 | |
88 | Pliki nagłówkowe biblioteki ALPM. | |
89 | ||
90 | %package static | |
91 | Summary: Static ALPM library | |
92 | Summary(pl.UTF-8): Statyczna biblioteka ALPM | |
93 | Group: Development/Libraries | |
94 | Requires: %{name}-devel = %{version}-%{release} | |
95 | ||
96 | %description static | |
97 | Static ALPM library. | |
98 | ||
99 | %description static -l pl.UTF-8 | |
100 | Statyczna biblioteka ALPM. | |
101 | ||
102 | %prep | |
103 | %setup -q -n pacman-%{version} | |
104 | ||
105 | %build | |
106 | %{__libtoolize} | |
107 | %{__aclocal} -I m4 | |
108 | %{__autoconf} | |
109 | %{__autoheader} | |
110 | %{__automake} | |
111 | %configure \ | |
112 | --disable-silent-rules | |
113 | ||
114 | %{__make} | |
115 | ||
116 | %install | |
117 | rm -rf $RPM_BUILD_ROOT | |
118 | ||
119 | %{__make} install \ | |
120 | DESTDIR=$RPM_BUILD_ROOT | |
121 | ||
122 | # obsoleted by pkg-config | |
123 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libalpm.la | |
124 | ||
125 | # too generic names | |
ff76901c JB |
126 | %{__mv} $RPM_BUILD_ROOT%{_bindir}/{,pacman-}vercmp |
127 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man8/{,pacman-}vercmp.8 | |
128 | ||
ff76901c JB |
129 | %find_lang libalpm |
130 | %find_lang pacman | |
131 | %find_lang pacman-scripts | |
132 | cat pacman-scripts.lang >> pacman.lang | |
133 | ||
134 | %clean | |
135 | rm -rf $RPM_BUILD_ROOT | |
136 | ||
137 | %post libs -p /sbin/ldconfig | |
138 | %postun libs -p /sbin/ldconfig | |
139 | ||
140 | %files -f pacman.lang | |
141 | %defattr(644,root,root,755) | |
142 | %attr(755,root,root) %{_bindir}/cleanupdelta | |
143 | %attr(755,root,root) %{_bindir}/makepkg | |
144 | %attr(755,root,root) %{_bindir}/makepkg-template | |
145 | %attr(755,root,root) %{_bindir}/pacman | |
61d306bd | 146 | %attr(755,root,root) %{_bindir}/pacman-conf |
ff76901c JB |
147 | %attr(755,root,root) %{_bindir}/pacman-db-upgrade |
148 | %attr(755,root,root) %{_bindir}/pacman-key | |
ff76901c | 149 | %attr(755,root,root) %{_bindir}/pacman-vercmp |
ff76901c JB |
150 | %attr(755,root,root) %{_bindir}/pkgdelta |
151 | %attr(755,root,root) %{_bindir}/repo-add | |
152 | %attr(755,root,root) %{_bindir}/repo-elephant | |
153 | %attr(755,root,root) %{_bindir}/repo-remove | |
154 | %attr(755,root,root) %{_bindir}/testpkg | |
155 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/makepkg.conf | |
156 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pacman.conf | |
61d306bd | 157 | %{_datadir}/makepkg |
ff76901c JB |
158 | %{_datadir}/pacman |
159 | %{_mandir}/man1/makepkg-template.1* | |
61d306bd | 160 | %{_mandir}/man5/BUILDINFO.5* |
ff76901c | 161 | %{_mandir}/man5/PKGBUILD.5* |
61d306bd | 162 | %{_mandir}/man5/alpm-hooks.5* |
ff76901c JB |
163 | %{_mandir}/man5/makepkg.conf.5* |
164 | %{_mandir}/man5/pacman.conf.5* | |
165 | %{_mandir}/man8/makepkg.8* | |
166 | %{_mandir}/man8/pacman.8* | |
167 | %{_mandir}/man8/pacman-key.8* | |
168 | %{_mandir}/man8/pacman-vercmp.8* | |
ff76901c JB |
169 | %{_mandir}/man8/pkgdelta.8* |
170 | %{_mandir}/man8/repo-add.8* | |
171 | %{_mandir}/man8/repo-remove.8* | |
172 | ||
61d306bd JB |
173 | %files -n bash-completion-alpm |
174 | %defattr(644,root,root,755) | |
175 | /etc/bash_completion.d/pacman | |
176 | ||
177 | %files -n zsh-completion-alpm | |
178 | %defattr(644,root,root,755) | |
179 | %{_datadir}/zsh/site-functions/_pacman | |
180 | ||
ff76901c JB |
181 | %files libs -f libalpm.lang |
182 | %defattr(644,root,root,755) | |
183 | %doc AUTHORS NEWS README | |
184 | %attr(755,root,root) %{_libdir}/libalpm.so.*.*.* | |
61d306bd | 185 | %attr(755,root,root) %ghost %{_libdir}/libalpm.so.11 |
ff76901c JB |
186 | |
187 | %files devel | |
188 | %defattr(644,root,root,755) | |
189 | %attr(755,root,root) %{_libdir}/libalpm.so | |
190 | %{_includedir}/alpm.h | |
191 | %{_includedir}/alpm_list.h | |
192 | %{_pkgconfigdir}/libalpm.pc | |
193 | %{_mandir}/man3/libalpm.3* | |
194 | ||
195 | %files static | |
196 | %defattr(644,root,root,755) | |
197 | %{_libdir}/libalpm.a |