]> git.pld-linux.org Git - packages/poldek.git/blame - poldek.spec
- testing failing build
[packages/poldek.git] / poldek.spec
CommitLineData
7638abfc 1#
de1099c4 2# Conditional build:
9fe14a3f 3%bcond_with static # don't use shared libraries
4%bcond_without imode # don't build interactive mode
58c31de0 5%bcond_without python # don't build python bindings
cf6c3a30 6%bcond_with snap # install configs for official Th snapshot
7000d724 7
e1015166 8# current snapshot name
a584c5c5 9%define SNAP 2012
a584c5c5 10
373c6f03 11# required versions (forced to avoid SEGV with mixed db used by rpm and poldek)
a17726b5
JR
12%define ver_db 5.3
13%define ver_db_rel 1
14%define ver_rpm 5.4.10
7000d724 15
f4ea1925
JR
16%define snap rc6
17%define rel 0.1%{?with_snap:.%{SNAP}}
b44549bf 18Summary: RPM packages management helper tool
9c03ea8f 19Summary(hu.UTF-8): RPM csomagkezelést segítő eszköz
9faf625a 20Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
b44549bf 21Name: poldek
24ad8b8d 22Version: 0.30
d5caab1d 23Release: 1.%{snap}.%{rel}
9f931ada 24License: GPL v2
8efee472 25Group: Applications/System
85398bac 26#Source0: http://poldek.pld-linux.org/download/snapshots/%{name}-%{version}-cvs%{snap}.tar.bz2
f4ea1925
JR
27Source0: http://carme.pld-linux.org/~megabajt/snaps/poldek/%{name}-%{version}%{snap}.tar.xz
28# Source0-md5: 4b528ad356b02efdd72b81f1ecaceb83
911a8560 29Source1: %{name}.conf
b25cb9a7 30Source2: %{name}-multilib.conf
2ccd5d66 31Source5: %{name}-aliases.conf
32Source6: %{name}.desktop
33Source7: %{name}.png
171e07f6 34Source8: %{name}-debuginfo.conf
652b5bc5 35Source9: %{name}-aidath.conf
36Source10: %{name}-multilib-aidath.conf
8db66c11 37Source11: %{name}-archive.conf
a584c5c5
JR
38Source100: %{name}-snap.conf
39Source101: %{name}-multilib-snap.conf
40Source102: %{name}-debuginfo-snap.conf
85398bac
MB
41Patch0: %{name}-vserver-packages.patch
42Patch1: %{name}-config.patch
a9c9446a 43Patch2: %{name}-size-type.patch
f8e81a61 44Patch3: %{name}-Os-fail-workaround.patch
39ca2371 45URL: http://poldek.pld-linux.org/
a4268952 46BuildRequires: autoconf
b25cb9a7 47BuildRequires: automake
373c6f03 48BuildRequires: bzip2-devel
065b86e0 49BuildRequires: check-devel
530c8c41 50BuildRequires: db-devel >= %{ver_db}-%{ver_db_rel}
1d67e563 51BuildRequires: docbook-dtd412-xml
f77a8b4c 52BuildRequires: gettext-devel
b25cb9a7
JB
53BuildRequires: libtool
54BuildRequires: libxml2-devel
fc37ede0 55BuildRequires: neon-devel
cbc6f56b 56BuildRequires: openssl-devel >= 0.9.7d
13fd950e 57BuildRequires: pcre-devel
b3ea4b51 58BuildRequires: pkgconfig
13fd950e 59BuildRequires: popt-devel
58c31de0 60%{?with_python:BuildRequires: python-devel}
b25cb9a7 61BuildRequires: readline-devel >= 5.0
373c6f03 62BuildRequires: rpm-devel >= %{ver_rpm}
300927eb 63%{?with_python:BuildRequires: rpm-pythonprov}
65a99b8b 64BuildRequires: swig-python
77cfda6e 65BuildRequires: xmlto
96475e5e 66BuildRequires: zlib-devel
373c6f03
JB
67%if %{with static}
68BuildRequires: bzip2-static
530c8c41 69BuildRequires: db-static >= %{ver_db}-%{ver_db_rel}
2fac0b02 70BuildRequires: glibc-static
acb26797 71BuildRequires: libselinux-static
b25cb9a7 72BuildRequires: libxml2-static
373c6f03
JB
73BuildRequires: ncurses-static
74BuildRequires: openssl-static
75BuildRequires: pcre-static
76BuildRequires: popt-static
77BuildRequires: readline-static
78BuildRequires: rpm-static
79BuildRequires: zlib-static
373c6f03 80%endif
b25cb9a7 81Requires(triggerpostun): awk
168acc54 82Requires(triggerpostun): sed >= 4.0
09d4c571 83Requires: %{name}-libs = %{version}-%{release}
530c8c41 84Requires: db >= %{ver_db}-%{ver_db_rel}
373c6f03 85Requires: rpm >= %{ver_rpm}
530c8c41 86Requires: rpm-db-ver = %{ver_db}
78b0cd64 87Requires: rpm-lib = %(rpm -q --qf '%{V}' rpm-lib)
e202a52a
ER
88# vf* scripts use sed
89Requires: sed
b44549bf 90BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91
92%description
0fa0dc36 93poldek is an RPM package management tool which allows you to easily
94perform package verification, installation (including system
13fd950e 95installation from scratch), upgrading, and removal.
0fa0dc36 96
13fd950e
JB
97Program can be used in batch (like apt-get from Debian's APT) or
98interactive mode. The interactive mode puts you into a readline
99interface with command line autocompletion and history, similar to the
100shell mode of Perl's CPAN.
8efee472 101
9fe14a3f 102%{?with_static:This version is statically linked.}
d94b28a6 103
9fe14a3f 104%{!?with_imode:This version hasn't got interactive mode.}
7f07e487 105#'vim
1f84648f 106
9c03ea8f
ZU
107%description -l hu.UTF-8
108poldek egy RPM csomagkezelő eszköz, amely megkönnyíti a
109csomagellenőrzést, telepítést (beleértve a rendszertelepítést a
110nulláról), frissítést és eltávolítást.
111
112A program használható parancssorból (mint a Debian apt-get programja)
113vagy interaktív módban. Az interaktív mód egy readline környezetet
114jelent, parancskiegészítéssel és előzményekkel, hasonlóan a Perl CPAN
115shell módjához.
116
117%{?with_static:Ez a verzió statikusan linkelt.}
118
119%{!?with_imode:Ennek a verziónak nincs interaktív módja.}
120
caed9b36
JR
121%description -l pl.UTF-8
122poldek jest narzędziem linii poleceń służącym do weryfikacji,
123instalacji (włączając instalację systemu od zera), aktualizacji i
124usuwania pakietów.
56e1ab51 125
caed9b36 126Program może być używany w trybie wsadowym (jak debianowy apt-get) lub
d82a9cb2 127interaktywnym. Tryb interaktywny posiada interfejs readline z
caed9b36
JR
128dopełnianiem komend i historią, podobny do trybu shell perlowego
129modułu CPAN.
8efee472 130
9fe14a3f 131%{?with_static:Ta wersja jest konsolidowana statycznie.}
a611e0bc 132
9fe14a3f 133%{!?with_imode:Ta wersja nie posiada trybu interaktywnego.}
b44549bf 134
b25cb9a7 135%package libs
168acc54 136Summary: poldek libraries
9c03ea8f 137Summary(hu.UTF-8): A poldek könyvtárai
9faf625a 138Summary(pl.UTF-8): Biblioteki poldka
168acc54 139Group: Libraries
b25cb9a7
JB
140
141%description libs
142poldek libraries.
143
9c03ea8f
ZU
144%description libs -l hu.UTF-8
145A poldek könyvtárai.
146
caed9b36 147%description libs -l pl.UTF-8
b25cb9a7
JB
148Biblioteki poldka.
149
150%package devel
168acc54 151Summary: Header files for poldek libraries
9c03ea8f 152Summary(hu.UTF-8): A poldek könyvtár fejlesztői fájljai
9faf625a 153Summary(pl.UTF-8): Pliki nagłówkowe bibliotek poldka
168acc54 154Group: Development/Libraries
09d4c571 155Requires: %{name}-libs = %{version}-%{release}
b980560b 156Requires: rpm-devel >= %{ver_rpm}
b25cb9a7
JB
157
158%description devel
159Header files for poldek libraries.
160
9c03ea8f
ZU
161%description devel -l hu.UTF-8
162A poldek könyvtár fejlesztői fájljai.
163
caed9b36
JR
164%description devel -l pl.UTF-8
165Pliki nagłówkowe bibliotek poldka.
b25cb9a7
JB
166
167%package static
168acc54 168Summary: poldek static libraries
9c03ea8f 169Summary(hu.UTF-8): poldek statikus könyvtárak
9faf625a 170Summary(pl.UTF-8): Biblioteki statyczne poldka
168acc54 171Group: Development/Libraries
09d4c571 172Requires: %{name}-devel = %{version}-%{release}
b25cb9a7
JB
173
174%description static
175poldek static libraries.
176
9c03ea8f
ZU
177%description static -l hu.UTF-8
178poldek statikus könyvtárak.
179
caed9b36 180%description static -l pl.UTF-8
b25cb9a7
JB
181Biblioteki statyczne poldka.
182
58c31de0
JB
183%package -n python-poldek
184Summary: Python modules for poldek
9c03ea8f 185Summary(hu.UTF-8): Python modulok poldek-hez
9faf625a 186Summary(pl.UTF-8): Moduły języka Python dla poldka
58c31de0
JB
187Group: Libraries/Python
188Requires: %{name}-libs = %{version}-%{release}
189%pyrequires_eq python-libs
190
191%description -n python-poldek
192Python modules for poldek.
193
9c03ea8f
ZU
194%description -n python-poldek -l hu.UTF-8
195Python modulok poldek-hez.
196
caed9b36
JR
197%description -n python-poldek -l pl.UTF-8
198Moduły języka Python dla poldka.
58c31de0 199
03159b71 200%prep
a9c9446a 201%setup -q
85398bac 202%patch0 -p1
13aa6434
AM
203%patch1 -p1
204%patch2 -p1
f8e81a61 205%patch3 -p1
8dcb75fc 206
5e2c5cc3 207%{__rm} m4/libtool.m4 m4/lt*.m4
b44549bf 208
0579f9b7
ER
209# cleanup backups after patching
210find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
4fa2b79c 211chmod u+x ./configure ./doc/conf-xml2.sh
0579f9b7 212
b44549bf 213%build
bef9d2a3 214%{__libtoolize}
21a83253 215%{__aclocal} -I m4
d878a63c 216%{__autoheader}
21a83253
MM
217%{__autoconf}
218%{__automake}
f8e81a61 219cd tndb
313cd172 220%{__libtoolize}
5e2c5cc3
JB
221%{__aclocal}
222%{__autoheader}
223%{__autoconf}
224%{__automake}
f8e81a61 225cd ../trurlib
313cd172 226%{__libtoolize}
5e2c5cc3
JB
227%{__aclocal}
228%{__autoheader}
229%{__autoconf}
230%{__automake}
f8e81a61 231cd ..
b25cb9a7 232
5e2c5cc3 233CPPFLAGS="%{rpmcppflags} -std=gnu99"
1f84648f 234%configure \
b25cb9a7 235 %{?with_static:--enable-static --disable-shared} \
9fe14a3f 236 %{!?with_imode:--disable-imode} \
58c31de0
JB
237 --enable-nls \
238 %{?with_python:--with-python}
9fb594dc 239%{__make} -j1
a1f22296 240# --enable-trace
8efee472 241
b44549bf 242%install
243rm -rf $RPM_BUILD_ROOT
27edf30a 244install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name}/repos.d,/var/cache/%{name}}
8efee472 245
9fb594dc 246%{__make} install -j1 \
c8f7d829 247 DESTDIR=$RPM_BUILD_ROOT
de1099c4 248
58c31de0 249%if %{with python}
9fb594dc 250%{__make} -C python -j1 install \
58c31de0
JB
251 DESTDIR=$RPM_BUILD_ROOT \
252 libdir=%{py_sitedir}
253%endif
254
5e2c5cc3 255%{?with_static:%{__rm} $RPM_BUILD_ROOT%{_bindir}/rpmvercmp}
a49836bb 256
9639596f 257%ifarch i486 i686 ppc sparc alpha athlon
23ead09a 258 %define _ftp_arch %{_target_cpu}
36004ea3 259%endif
9639596f 260%ifarch %{x8664}
23ead09a
ER
261 %define _ftp_arch x86_64
262 %define _ftp_alt_arch i686
36004ea3 263%endif
9639596f 264%ifarch i586
b614e8f7 265 %define _ftp_arch i486
58820d9b 266%endif
a49836bb 267%ifarch pentium2 pentium3 pentium4
23ead09a 268 %define _ftp_arch i686
36004ea3 269%endif
a49836bb 270%ifarch sparcv9 sparc64
23ead09a 271 %define _ftp_arch sparc
b614e8f7
JR
272 %define _ftp_arch %{_target_cpu}
273 %ifarch sparc64
23ead09a 274 %define _ftp_alt_arch sparcv9
23ead09a 275 %endif
652b5bc5 276%endif
32697bd0 277
b614e8f7
JR
278%define pld_conf %{SOURCE1}
279%define pld_debuginfo_conf %{SOURCE8}
280%define pld_archive_conf %{SOURCE11}
7c0e4fc5 281
b614e8f7
JR
282%ifarch %{x8664}
283 %define pld_multilib_conf %{SOURCE2}
284%endif
7c0e4fc5 285
b614e8f7
JR
286# aidath
287%ifarch sparcv9 sparc64
288 %define pld_conf %{SOURCE9}
289 %undefine pld_archive_conf
290%endif
291%ifarch sparc64
292 %define pld_multilib_conf %{SOURCE10}
7c0e4fc5 293%endif
23ead09a 294
c88cf671 295%{__sed} -e 's|%%ARCH%%|%{_ftp_arch}|g' < %{pld_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld.conf
23ead09a 296
7c0e4fc5 297%if 0%{?pld_multilib_conf:1}
c88cf671 298 %{__sed} 's|%%ARCH%%|%{_ftp_alt_arch}|g' < %{pld_multilib_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-multilib.conf
7c0e4fc5
ER
299%endif
300
301%if 0%{?pld_debuginfo_conf:1}
c88cf671 302%{__sed} -e 's|%%ARCH%%|%{_ftp_arch}|g' < %{pld_debuginfo_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-debuginfo.conf
652b5bc5 303%endif
b25cb9a7 304
8db66c11 305%if 0%{?pld_archive_conf:1}
c88cf671 306%{__sed} -e 's|%%ARCH%%|%{_ftp_arch}|g' < %{pld_archive_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-archive.conf
8db66c11
ER
307%endif
308
7e5296f4 309# Always install snapshot configs
c88cf671 310%{__sed} -e 's|%%ARCH%%|%{_ftp_arch}|g' \
a584c5c5 311 -e 's|%%SNAP%%|%{SNAP}|g' < %{SOURCE100} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-%{SNAP}.conf
c88cf671 312%{__sed} -e 's|%%ARCH%%|%{_ftp_arch}|g' \
a584c5c5
JR
313 -e 's|%%SNAP%%|%{SNAP}|g' < %{SOURCE102} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-%{SNAP}-debuginfo.conf
314%ifarch %{x8664}
c88cf671 315 %{__sed} -e 's|%%ARCH%%|%{_ftp_alt_arch}|g' \
a584c5c5
JR
316 -e 's|%%SNAP%%|%{SNAP}|g' < %{SOURCE101} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-%{SNAP}-multilib.conf
317%endif
7e5296f4
JR
318
319%if %{with snap}
c88cf671 320%{__sed} -i -e 's|@@SNAP@@||g' $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld.conf
7e5296f4 321%{__sed} -i '/@@SNAP@@.*/d' $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-%{SNAP}.conf
a584c5c5 322%else
7e5296f4 323%{__sed} -i -e 's|@@SNAP@@||g' $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-%{SNAP}.conf
c88cf671 324%{__sed} -i '/@@SNAP@@.*/d' $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld.conf
a584c5c5
JR
325%endif
326
27edf30a 327cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cli.conf
b25cb9a7 328
9e6ff4ef 329%if %{with imode}
330# add desktop file and icon
331install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
27edf30a
ER
332cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
333cp -p %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
9e6ff4ef 334%endif
335
b43abde7 336# sources we don't package
5e2c5cc3 337%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/{rh,fedora,centos}-source.conf
b25cb9a7 338# include them in %doc
c88cf671 339%{__rm} -rf configs
b25cb9a7 340cp -a conf configs
c88cf671 341%{__rm} -f configs/Makefile*
b25cb9a7 342
62e80071 343%if %{with python}
58c31de0 344%py_postclean
5e2c5cc3 345%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/_poldekmod.la
62e80071 346%endif
58c31de0 347
b25cb9a7 348%find_lang %{name}
f373d903 349
3c35a0c6
JR
350ldd $RPM_BUILD_ROOT%{_libdir}/libpoldek.so.2.0.0
351
b44549bf 352%clean
353rm -rf $RPM_BUILD_ROOT
354
daf0e7ce
ER
355%post
356[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
357if [ "$1" = "1" ]; then
358 # remove ignore = vserver-packages inside vserver on first install
359 {
360 while read f ctx; do
361 [ "$f" = "VxID:" -o "$f" = "s_context:" ] && break
362 done </proc/self/status
363 } 2>/dev/null
364 if [ -z "$ctx" -o "$ctx" = "0" ]; then
365 VSERVER=no
366 else
367 VSERVER=yes
368 fi
369 if [ "$VSERVER" = "yes" ]; then
370 %{__sed} -i -e '/^ignore/s/vserver-packages//' %{_sysconfdir}/%{name}/poldek.conf
371 fi
372fi
b25cb9a7 373
3896c8b1
ER
374%postun -p /sbin/postshell
375-/usr/sbin/fix-info-dir -c %{_infodir}
b25cb9a7
JB
376
377%post libs -p /sbin/ldconfig
378%postun libs -p /sbin/ldconfig
379
b25cb9a7
JB
380%triggerpostun -- poldek < 0.19.0-1.20050613.22.0
381if [ -f /etc/poldek.conf.rpmsave ]; then
382 awk '/^source/ {
383 name = $3;
384 path = $4;
385 auto = "yes";
386 autoup = "yes";
387 type = "pdir";
f154dd55 388 pri = "";
b25cb9a7
JB
389
390 if (sub(",noauto", "", name)) {
391 auto = "no";
392 }
393
f154dd55
ER
394 # process pri=\d+
395 if (match(name, /,pri=[0-9]+/)) {
396 pri = substr(name, RSTART + 5, RLENGTH - 5);
397 name = substr(name, 1, RSTART - 1) substr(name, RSTART + RLENGTH);
398 }
399
b25cb9a7
JB
400 # skip ac sources. already in new config.
401 if (name !~ /^ac(-(ready|test|supported|updates-(general|security)))?$/) {
402 print "";
403 print "[source]";
404 print "name = " name;
405 print "type = " type;
406 print "path = " path;
407 print "auto = " auto;
408 print "autoup = " autoup;
f154dd55
ER
409 if (pri) {
410 print "pri = " pri;
411 }
b25cb9a7
JB
412 }
413
414 }' < /etc/poldek.conf.rpmsave >> /etc/poldek/source.conf
19cae196 415 echo "Converted old custom sources from /etc/poldek.conf.rpmsave to new poldek format in /etc/poldek/source.conf"
b25cb9a7
JB
416
417 # copy hold=
418 hold=$(grep ^hold /etc/poldek.conf.rpmsave)
419 if [ "$hold" ]; then
c88cf671 420 %{__sed} -i -e "/^#hold =/s/^.*/$hold/" /etc/poldek/poldek.conf
b25cb9a7
JB
421 fi
422fi
423
b43abde7
ER
424%triggerpostun -- poldek < 0.30-0.20080225.00.1
425if ! grep -q '^%%includedir repos.d' %{_sysconfdir}/%{name}/poldek.conf; then
426 %{__sed} -i -e '/^%%include source.conf/{
427 a
428 a# /etc/poldek/repos.d/*.conf
429 a%%includedir repos.d
430 }' %{_sysconfdir}/%{name}/poldek.conf
431fi
432
433%{__sed} -i -e '/%%include %%{_distro}-source.conf/d' %{_sysconfdir}/%{name}/poldek.conf
434%{__sed} -i -e '/%%include %%{_distro}-multilib-source.conf/d' %{_sysconfdir}/%{name}/poldek.conf
435
436if [ -f %{_sysconfdir}/%{name}/pld-source.conf.rpmsave ]; then
437 cp -f %{_sysconfdir}/%{name}/repos.d/pld.conf{,.rpmnew}
478b6a69 438 cp -f %{_sysconfdir}/%{name}/pld-source.conf.rpmsave %{_sysconfdir}/%{name}/repos.d/pld.conf
b43abde7
ER
439fi
440
441%ifarch %{x8664}
442if [ -f %{_sysconfdir}/%{name}/pld-multilib-source.conf.rpmsave ]; then
443 cp -f %{_sysconfdir}/%{name}/repos.d/pld-multilib.conf{,.rpmnew}
478b6a69 444 cp -f %{_sysconfdir}/%{name}/pld-multilib-source.conf.rpmsave %{_sysconfdir}/%{name}/repos.d/pld-multilib.conf
b43abde7
ER
445fi
446%endif
447
767366b0 448%files -f %{name}.lang
b44549bf 449%defattr(644,root,root,755)
a9c9446a 450%doc ChangeLog README* NEWS TODO configs
b25cb9a7 451%dir %{_sysconfdir}/%{name}
08335479 452%dir %{_sysconfdir}/%{name}/repos.d
168acc54 453%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.conf
b43abde7 454%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/repos.d/*.conf
5e2c5cc3
JB
455%attr(755,root,root) %{_bindir}/ipoldek
456%attr(755,root,root) %{_bindir}/poldek
457%attr(755,root,root) %{_bindir}/rpmvercmp
b25cb9a7
JB
458%dir %{_libdir}/%{name}
459%attr(755,root,root) %{_libdir}/%{name}/*
5e2c5cc3 460%{_mandir}/man1/%{name}*.1*
d8826405 461%lang(pl) %{_mandir}/pl/man1/%{name}*
b25cb9a7 462%{_infodir}/poldek.info*
9e6ff4ef 463%if %{with imode}
464%{_desktopdir}/%{name}.desktop
465%{_pixmapsdir}/%{name}.png
466%endif
27edf30a 467%dir /var/cache/%{name}
b25cb9a7 468
b43abde7 469%if %{without static}
b25cb9a7
JB
470%files libs
471%defattr(644,root,root,755)
d8aeff9a
MB
472%attr(755,root,root) %{_libdir}/libpoclidek.so.*.*.*
473%attr(755,root,root) %{_libdir}/libpoldek.so.*.*.*
474%attr(755,root,root) %{_libdir}/libtndb.so.*.*.*
475%attr(755,root,root) %{_libdir}/libtrurl.so.*.*.*
476%attr(755,root,root) %{_libdir}/libvfile.so.*.*.*
477%attr(755,root,root) %ghost %{_libdir}/libpoclidek.so.0
478%attr(755,root,root) %ghost %{_libdir}/libpoldek.so.2
479%attr(755,root,root) %ghost %{_libdir}/libtndb.so.0
480%attr(755,root,root) %ghost %{_libdir}/libtrurl.so.0
481%attr(755,root,root) %ghost %{_libdir}/libvfile.so.0
b25cb9a7
JB
482%endif
483
484%files devel
485%defattr(644,root,root,755)
5e2c5cc3
JB
486%if %{without static}
487%attr(755,root,root) %{_libdir}/libpoclidek.so
488%attr(755,root,root) %{_libdir}/libpoldek.so
489%attr(755,root,root) %{_libdir}/libtndb.so
490%attr(755,root,root) %{_libdir}/libtrurl.so
491%attr(755,root,root) %{_libdir}/libvfile.so
492%endif
493%{_libdir}/libpoclidek.la
494%{_libdir}/libpoldek.la
495%{_libdir}/libtndb.la
496%{_libdir}/libtrurl.la
497%{_libdir}/libvfile.la
498%{_includedir}/poldek
499%{_includedir}/tndb
500%{_includedir}/trurl
501%{_includedir}/vfile
502%{_pkgconfigdir}/tndb.pc
b25cb9a7
JB
503
504%files static
505%defattr(644,root,root,755)
5e2c5cc3
JB
506%{_libdir}/libtndb.a
507%{_libdir}/libtrurl.a
58c31de0
JB
508
509%if %{with python}
510%files -n python-poldek
511%defattr(644,root,root,755)
512%attr(755,root,root) %{py_sitedir}/_poldekmod.so
513%{py_sitescriptdir}/poldek.py[co]
514%{py_sitescriptdir}/poldekmod.py[co]
515%endif
This page took 0.139059 seconds and 4 git commands to generate.