]> git.pld-linux.org Git - packages/poldek.git/blame - poldek.spec
- rel 43
[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
7638abfc 6#
373c6f03 7# required versions (forced to avoid SEGV with mixed db used by rpm and poldek)
4d7ffb0a 8%if "%{pld_release}" == "ti"
530c8c41 9%define ver_db 4.5.20
473ce98d 10%define ver_db_rel 8
4d7ffb0a 11%else
530c8c41 12%define ver_db 4.7.25
473ce98d 13%define ver_db_rel 1
4d7ffb0a 14%endif
2b6db74f 15%define ver_rpm 4.5-5
5486bf2e 16#
04a91ad3 17%define snap 20080820.23
f401792f 18%define rel 43
b44549bf 19Summary: RPM packages management helper tool
9faf625a 20Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
b44549bf 21Name: poldek
24ad8b8d 22Version: 0.30
40ae4011 23Release: 0.%{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
c0898992 27Source0: http://carme.pld-linux.org/~megabajt/snaps/poldek/%{name}-%{version}-cvs%{snap}.tar.bz2
04a91ad3 28# Source0-md5: 2738eb3996f1cdf1e5d74b913d6e7414
911a8560 29Source1: %{name}.conf
b25cb9a7 30Source2: %{name}-multilib.conf
2ccd5d66 31Source3: %{name}-ti.conf
32Source4: %{name}-multilib-ti.conf
33Source5: %{name}-aliases.conf
34Source6: %{name}.desktop
35Source7: %{name}.png
171e07f6 36Source8: %{name}-debuginfo.conf
652b5bc5 37Source9: %{name}-aidath.conf
38Source10: %{name}-multilib-aidath.conf
85398bac
MB
39Patch0: %{name}-vserver-packages.patch
40Patch1: %{name}-config.patch
41Patch2: %{name}-abort-on-upgrade.patch
04a91ad3
MB
42Patch3: %{name}-inline.patch
43Patch4: %{name}-ls-llu.patch
44Patch5: %{name}-op-ldalldesc.patch
25838a54 45Patch6: %{name}-nocolor-upgrade.patch
f4114128
ER
46Patch7: %{name}-upgrade-dist.patch
47Patch8: %{name}-keep-reinstalled-provides.patch
bf43a3ac 48Patch9: %{name}-dont-ask-for-suggests-on-errors.patch
c7d7bdf5 49Patch10: %{name}-crash-on-invalid-locale.patch
149abeda 50Patch11: %{name}-noutf8.patch
f031015c 51Patch12: %{name}-dont-suggests-required-packages.patch
05e22a22 52Patch13: %{name}-tty-for-erasures.patch
c756c410 53Patch14: %{name}-both_langs.patch
20ff11b6 54Patch15: %{name}-317130.patch
d0d294bd 55Patch16: %{name}-321546.patch
f76d4526
PZ
56Patch17: %{name}-size-type.patch
57Patch18: %{name}-no-inlines.patch
a483213a 58Patch19: %{name}-export-missing-symbol.patch
fb2a8800 59Patch20: %{name}-skip-suggests-on-upgrade.patch
8f2fba8c 60Patch21: %{name}-po.patch
b9baa977 61Patch22: %{name}-refcnt.patch
20b92beb 62Patch23: %{name}-assertion-failed.patch
3e69de12 63Patch24: %{name}-unescape-urlencoded-strings.patch
a1f22296
BZ
64Patch25: %{name}-ls-source-rpm.patch
65Patch26: %{name}-add-arch-match.patch
66Patch27: %{name}-multilib-upgrade.patch
d9545c59
BZ
67Patch28: %{name}-score-reqs-marked-to-install.patch
68Patch29: %{name}-dont-be-greedy.patch
9adbdb06 69Patch30: %{name}-dont-lose-deps.patch
45986441 70Patch31: %{name}-ls-queryfmt.patch
207c5e8d
BZ
71Patch32: %{name}-prepare_url_fix.patch
72Patch33: %{name}-noloop_on_terminal_loos.patch
73Patch34: %{name}-show_only_relative_used_space.patch
cf07ce32 74Patch35: %{name}-zlib.patch
39ca2371 75URL: http://poldek.pld-linux.org/
a4268952 76BuildRequires: autoconf
b25cb9a7 77BuildRequires: automake
373c6f03 78BuildRequires: bzip2-devel
530c8c41 79BuildRequires: db-devel >= %{ver_db}-%{ver_db_rel}
f77a8b4c 80BuildRequires: gettext-devel
b25cb9a7
JB
81BuildRequires: libtool
82BuildRequires: libxml2-devel
cbc6f56b 83BuildRequires: openssl-devel >= 0.9.7d
13fd950e 84BuildRequires: pcre-devel
b3ea4b51 85BuildRequires: pkgconfig
13fd950e 86BuildRequires: popt-devel
58c31de0 87%{?with_python:BuildRequires: python-devel}
b25cb9a7 88BuildRequires: readline-devel >= 5.0
373c6f03 89BuildRequires: rpm-devel >= %{ver_rpm}
300927eb 90%{?with_python:BuildRequires: rpm-pythonprov}
96475e5e 91BuildRequires: zlib-devel
373c6f03
JB
92%if %{with static}
93BuildRequires: bzip2-static
530c8c41 94BuildRequires: db-static >= %{ver_db}-%{ver_db_rel}
2fac0b02 95BuildRequires: glibc-static
acb26797 96BuildRequires: libselinux-static
b25cb9a7 97BuildRequires: libxml2-static
373c6f03
JB
98BuildRequires: ncurses-static
99BuildRequires: openssl-static
100BuildRequires: pcre-static
101BuildRequires: popt-static
102BuildRequires: readline-static
103BuildRequires: rpm-static
104BuildRequires: zlib-static
373c6f03 105%endif
b25cb9a7 106Requires(triggerpostun): awk
168acc54 107Requires(triggerpostun): sed >= 4.0
09d4c571 108Requires: %{name}-libs = %{version}-%{release}
530c8c41 109Requires: db >= %{ver_db}-%{ver_db_rel}
373c6f03 110Requires: rpm >= %{ver_rpm}
530c8c41 111Requires: rpm-db-ver = %{ver_db}
78b0cd64 112Requires: rpm-lib = %(rpm -q --qf '%{V}' rpm-lib)
e202a52a
ER
113# vf* scripts use sed
114Requires: sed
b44549bf 115BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
116
117%description
0fa0dc36 118poldek is an RPM package management tool which allows you to easily
119perform package verification, installation (including system
13fd950e 120installation from scratch), upgrading, and removal.
0fa0dc36 121
13fd950e
JB
122Program can be used in batch (like apt-get from Debian's APT) or
123interactive mode. The interactive mode puts you into a readline
124interface with command line autocompletion and history, similar to the
125shell mode of Perl's CPAN.
8efee472 126
9fe14a3f 127%{?with_static:This version is statically linked.}
d94b28a6 128
9fe14a3f 129%{!?with_imode:This version hasn't got interactive mode.}
7f07e487 130#'vim
1f84648f 131
caed9b36
JR
132%description -l pl.UTF-8
133poldek jest narzędziem linii poleceń służącym do weryfikacji,
134instalacji (włączając instalację systemu od zera), aktualizacji i
135usuwania pakietów.
56e1ab51 136
caed9b36 137Program może być używany w trybie wsadowym (jak debianowy apt-get) lub
d82a9cb2 138interaktywnym. Tryb interaktywny posiada interfejs readline z
caed9b36
JR
139dopełnianiem komend i historią, podobny do trybu shell perlowego
140modułu CPAN.
8efee472 141
9fe14a3f 142%{?with_static:Ta wersja jest konsolidowana statycznie.}
a611e0bc 143
9fe14a3f 144%{!?with_imode:Ta wersja nie posiada trybu interaktywnego.}
b44549bf 145
b25cb9a7 146%package libs
168acc54 147Summary: poldek libraries
9faf625a 148Summary(pl.UTF-8): Biblioteki poldka
168acc54 149Group: Libraries
b25cb9a7
JB
150
151%description libs
152poldek libraries.
153
caed9b36 154%description libs -l pl.UTF-8
b25cb9a7
JB
155Biblioteki poldka.
156
157%package devel
168acc54 158Summary: Header files for poldek libraries
9faf625a 159Summary(pl.UTF-8): Pliki nagłówkowe bibliotek poldka
168acc54 160Group: Development/Libraries
09d4c571 161Requires: %{name}-libs = %{version}-%{release}
b980560b 162Requires: rpm-devel >= %{ver_rpm}
b25cb9a7
JB
163
164%description devel
165Header files for poldek libraries.
166
caed9b36
JR
167%description devel -l pl.UTF-8
168Pliki nagłówkowe bibliotek poldka.
b25cb9a7
JB
169
170%package static
168acc54 171Summary: poldek static libraries
9faf625a 172Summary(pl.UTF-8): Biblioteki statyczne poldka
168acc54 173Group: Development/Libraries
09d4c571 174Requires: %{name}-devel = %{version}-%{release}
b25cb9a7
JB
175
176%description static
177poldek static libraries.
178
caed9b36 179%description static -l pl.UTF-8
b25cb9a7
JB
180Biblioteki statyczne poldka.
181
58c31de0
JB
182%package -n python-poldek
183Summary: Python modules for poldek
9faf625a 184Summary(pl.UTF-8): Moduły języka Python dla poldka
58c31de0
JB
185Group: Libraries/Python
186Requires: %{name}-libs = %{version}-%{release}
187%pyrequires_eq python-libs
188
189%description -n python-poldek
190Python modules for poldek.
191
caed9b36
JR
192%description -n python-poldek -l pl.UTF-8
193Moduły języka Python dla poldka.
58c31de0 194
03159b71 195%prep
78b0cd64 196%setup -q -n %{name}-%{version}%{?snap:-cvs%{snap}}
85398bac 197%patch0 -p1
13aa6434
AM
198%patch1 -p1
199%patch2 -p1
04a91ad3 200%patch3 -p1
2a61c5d4 201%patch4 -p1
c826891f 202%patch5 -p1
25838a54 203%patch6 -p0
f4114128
ER
204%patch7 -p0
205%patch8 -p0
bf43a3ac 206%patch9 -p0
c7d7bdf5 207%patch10 -p1
22858076 208%patch11 -p1
f031015c 209%patch12 -p1
05e22a22 210%patch13 -p1
c756c410 211%patch14 -p1
20ff11b6 212%patch15 -p1
d0d294bd 213%patch16 -p1
f76d4526
PZ
214%patch17 -p1
215%patch18 -p1
a483213a 216%patch19 -p0
fb2a8800 217%patch20 -p1
8f2fba8c 218%patch21 -p1
b9baa977 219%patch22 -p0
20b92beb 220%patch23 -p1
3e69de12 221%patch24 -p1
207c5e8d 222# LP#392984: add source rpm to ls
a1f22296
BZ
223%patch25 -p1
224# LP#408036
225%patch26 -p1
226# LP#408034
227%patch27 -p1
d9545c59
BZ
228# score reqs already marked to install
229%patch28 -p1
230# dont be greedy if upgraded pkg has needed capabilities
231%patch29 -p1
9adbdb06 232# http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2009-November/150519.html
207c5e8d
BZ
233%patch30 -p1
234# LP#392984: add query format to ls
45986441 235%patch31 -p1
207c5e8d
BZ
236# LP#506568
237%patch32 -p0
238# LP#499504
239%patch33 -p1
240# do not info. about amount of transaction space req. but relative to already installed
241%patch34 -p1
cf07ce32
AM
242# fixes failures with zlib >= 1.2.3.7
243%patch35 -p0
b44549bf 244
0579f9b7
ER
245# cleanup backups after patching
246find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
247
b44549bf 248%build
bef9d2a3 249%{__libtoolize}
cf07ce32 250%{__autoheader}
21a83253
MM
251%{__aclocal} -I m4
252%{__autoconf}
253%{__automake}
63bd61a7 254cp -f config.sub trurlib
b25cb9a7 255
97ecf213 256CPPFLAGS="-std=gnu99"
1f84648f 257%configure \
b25cb9a7 258 %{?with_static:--enable-static --disable-shared} \
9fe14a3f 259 %{!?with_imode:--disable-imode} \
58c31de0
JB
260 --enable-nls \
261 %{?with_python:--with-python}
03159b71 262%{__make}
a1f22296 263# --enable-trace
8efee472 264
b44549bf 265%install
266rm -rf $RPM_BUILD_ROOT
08335479 267install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d
8efee472 268
c8f7d829 269%{__make} install \
270 DESTDIR=$RPM_BUILD_ROOT
de1099c4 271
58c31de0
JB
272%if %{with python}
273%{__make} -C python install \
274 DESTDIR=$RPM_BUILD_ROOT \
275 libdir=%{py_sitedir}
276%endif
277
9fe14a3f 278%{?with_static:rm -f $RPM_BUILD_ROOT%{_bindir}/rpmvercmp}
a49836bb 279
9639596f 280%ifarch i486 i686 ppc sparc alpha athlon
a49836bb 281%define _ftp_arch %{_target_cpu}
36004ea3 282%endif
9639596f 283%ifarch %{x8664}
590302c4 284%define _ftp_arch x86_64
b25cb9a7 285%define _ftp_alt_arch i686
36004ea3 286%endif
9639596f 287%ifarch i586
58820d9b 288%if "%{pld_release}" == "ti"
289%define _ftp_arch i586
290%else
9639596f 291%define _ftp_arch i486
36004ea3 292%endif
58820d9b 293%endif
a49836bb 294%ifarch pentium2 pentium3 pentium4
295%define _ftp_arch i686
36004ea3 296%endif
a49836bb 297%ifarch sparcv9 sparc64
298%define _ftp_arch sparc
652b5bc5 299%if "%{pld_release}" == "th"
300%define _ftp_arch %{_target_cpu}
301%ifarch sparc64
302%define _ftp_alt_arch sparcv9
303%endif
304%endif
a49836bb 305%endif
a49836bb 306
b25cb9a7 307%{?with_static:rm -f $RPM_BUILD_ROOT%{_bindir}/rpmvercmp}
32697bd0 308
2ccd5d66 309%if "%{pld_release}" == "ti"
310sed -e '
311 s|%%ARCH%%|%{_ftp_arch}|g
312' < %{SOURCE3} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld.conf
313
314%ifarch %{x8664}
315sed '
316 s|%%ARCH%%|%{_ftp_alt_arch}|g
317' < %{SOURCE4} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-multilib.conf
318%endif
319%else
171e07f6 320# pld_release = th
652b5bc5 321%ifarch sparcv9 sparc64
322sed -e '
323 s|%%ARCH%%|%{_ftp_arch}|g
324' < %{SOURCE9} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld.conf
325
326%ifarch sparc64
327sed '
328 s|%%ARCH%%|%{_ftp_alt_arch}|g
329' < %{SOURCE10} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-multilib.conf
330%endif
331
332%else
7adf66ff
ER
333sed -e '
334 s|%%ARCH%%|%{_ftp_arch}|g
b43abde7 335' < %{SOURCE1} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld.conf
171e07f6
ER
336sed -e '
337 s|%%ARCH%%|%{_ftp_arch}|g
338' < %{SOURCE8} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-debuginfo.conf
b44549bf 339
590302c4 340%ifarch %{x8664}
7adf66ff
ER
341sed '
342 s|%%ARCH%%|%{_ftp_alt_arch}|g
b43abde7 343' < %{SOURCE2} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-multilib.conf
b25cb9a7 344%endif
2ccd5d66 345%endif
652b5bc5 346%endif
b25cb9a7 347
480fc3c0 348install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cli.conf
b25cb9a7 349
9e6ff4ef 350%if %{with imode}
351# add desktop file and icon
352install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
2ccd5d66 353install %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
354install %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
9e6ff4ef 355%endif
356
b43abde7
ER
357# sources we don't package
358rm -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/{rh,pld,fedora,centos}-source.conf
b25cb9a7
JB
359# include them in %doc
360rm -rf configs
361cp -a conf configs
362rm -f configs/Makefile*
363
62e80071 364%if %{with python}
58c31de0
JB
365%py_postclean
366rm -f $RPM_BUILD_ROOT%{py_sitedir}/_poldekmod.la
62e80071 367%endif
58c31de0 368
b25cb9a7 369%find_lang %{name}
f373d903 370
b44549bf 371%clean
372rm -rf $RPM_BUILD_ROOT
373
daf0e7ce
ER
374%post
375[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
376if [ "$1" = "1" ]; then
377 # remove ignore = vserver-packages inside vserver on first install
378 {
379 while read f ctx; do
380 [ "$f" = "VxID:" -o "$f" = "s_context:" ] && break
381 done </proc/self/status
382 } 2>/dev/null
383 if [ -z "$ctx" -o "$ctx" = "0" ]; then
384 VSERVER=no
385 else
386 VSERVER=yes
387 fi
388 if [ "$VSERVER" = "yes" ]; then
389 %{__sed} -i -e '/^ignore/s/vserver-packages//' %{_sysconfdir}/%{name}/poldek.conf
390 fi
391fi
b25cb9a7 392
3896c8b1
ER
393%postun -p /sbin/postshell
394-/usr/sbin/fix-info-dir -c %{_infodir}
b25cb9a7
JB
395
396%post libs -p /sbin/ldconfig
397%postun libs -p /sbin/ldconfig
398
b25cb9a7
JB
399%triggerpostun -- poldek < 0.19.0-1.20050613.22.0
400if [ -f /etc/poldek.conf.rpmsave ]; then
401 awk '/^source/ {
402 name = $3;
403 path = $4;
404 auto = "yes";
405 autoup = "yes";
406 type = "pdir";
f154dd55 407 pri = "";
b25cb9a7
JB
408
409 if (sub(",noauto", "", name)) {
410 auto = "no";
411 }
412
f154dd55
ER
413 # process pri=\d+
414 if (match(name, /,pri=[0-9]+/)) {
415 pri = substr(name, RSTART + 5, RLENGTH - 5);
416 name = substr(name, 1, RSTART - 1) substr(name, RSTART + RLENGTH);
417 }
418
b25cb9a7
JB
419 # skip ac sources. already in new config.
420 if (name !~ /^ac(-(ready|test|supported|updates-(general|security)))?$/) {
421 print "";
422 print "[source]";
423 print "name = " name;
424 print "type = " type;
425 print "path = " path;
426 print "auto = " auto;
427 print "autoup = " autoup;
f154dd55
ER
428 if (pri) {
429 print "pri = " pri;
430 }
b25cb9a7
JB
431 }
432
433 }' < /etc/poldek.conf.rpmsave >> /etc/poldek/source.conf
19cae196 434 echo "Converted old custom sources from /etc/poldek.conf.rpmsave to new poldek format in /etc/poldek/source.conf"
b25cb9a7
JB
435
436 # copy hold=
437 hold=$(grep ^hold /etc/poldek.conf.rpmsave)
438 if [ "$hold" ]; then
439 sed -i -e "/^#hold =/s/^.*/$hold/" /etc/poldek/poldek.conf
440 fi
441fi
442
b43abde7
ER
443%triggerpostun -- poldek < 0.30-0.20080225.00.1
444if ! grep -q '^%%includedir repos.d' %{_sysconfdir}/%{name}/poldek.conf; then
445 %{__sed} -i -e '/^%%include source.conf/{
446 a
447 a# /etc/poldek/repos.d/*.conf
448 a%%includedir repos.d
449 }' %{_sysconfdir}/%{name}/poldek.conf
450fi
451
452%{__sed} -i -e '/%%include %%{_distro}-source.conf/d' %{_sysconfdir}/%{name}/poldek.conf
453%{__sed} -i -e '/%%include %%{_distro}-multilib-source.conf/d' %{_sysconfdir}/%{name}/poldek.conf
454
455if [ -f %{_sysconfdir}/%{name}/pld-source.conf.rpmsave ]; then
456 cp -f %{_sysconfdir}/%{name}/repos.d/pld.conf{,.rpmnew}
478b6a69 457 cp -f %{_sysconfdir}/%{name}/pld-source.conf.rpmsave %{_sysconfdir}/%{name}/repos.d/pld.conf
b43abde7
ER
458fi
459
460%ifarch %{x8664}
461if [ -f %{_sysconfdir}/%{name}/pld-multilib-source.conf.rpmsave ]; then
462 cp -f %{_sysconfdir}/%{name}/repos.d/pld-multilib.conf{,.rpmnew}
478b6a69 463 cp -f %{_sysconfdir}/%{name}/pld-multilib-source.conf.rpmsave %{_sysconfdir}/%{name}/repos.d/pld-multilib.conf
b43abde7
ER
464fi
465%endif
466
767366b0 467%files -f %{name}.lang
b44549bf 468%defattr(644,root,root,755)
b43abde7 469%doc README* NEWS TODO configs
b25cb9a7 470%dir %{_sysconfdir}/%{name}
08335479 471%dir %{_sysconfdir}/%{name}/repos.d
168acc54 472%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.conf
b43abde7 473%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/repos.d/*.conf
8efee472 474%attr(755,root,root) %{_bindir}/*
b25cb9a7
JB
475%dir %{_libdir}/%{name}
476%attr(755,root,root) %{_libdir}/%{name}/*
b44549bf 477%{_mandir}/man1/%{name}*
d8826405 478%lang(pl) %{_mandir}/pl/man1/%{name}*
b25cb9a7 479%{_infodir}/poldek.info*
9e6ff4ef 480%if %{with imode}
481%{_desktopdir}/%{name}.desktop
482%{_pixmapsdir}/%{name}.png
483%endif
b25cb9a7 484
b43abde7 485%if %{without static}
b25cb9a7
JB
486%files libs
487%defattr(644,root,root,755)
d8aeff9a
MB
488%attr(755,root,root) %{_libdir}/libpoclidek.so.*.*.*
489%attr(755,root,root) %{_libdir}/libpoldek.so.*.*.*
490%attr(755,root,root) %{_libdir}/libtndb.so.*.*.*
491%attr(755,root,root) %{_libdir}/libtrurl.so.*.*.*
492%attr(755,root,root) %{_libdir}/libvfile.so.*.*.*
493%attr(755,root,root) %ghost %{_libdir}/libpoclidek.so.0
494%attr(755,root,root) %ghost %{_libdir}/libpoldek.so.2
495%attr(755,root,root) %ghost %{_libdir}/libtndb.so.0
496%attr(755,root,root) %ghost %{_libdir}/libtrurl.so.0
497%attr(755,root,root) %ghost %{_libdir}/libvfile.so.0
b25cb9a7
JB
498%endif
499
500%files devel
501%defattr(644,root,root,755)
502%{!?with_static:%attr(755,root,root) %{_libdir}/lib*.so}
503%{_libdir}/lib*.la
504%{_includedir}/*
505
506%files static
507%defattr(644,root,root,755)
508%{_libdir}/lib*.a
58c31de0
JB
509
510%if %{with python}
511%files -n python-poldek
512%defattr(644,root,root,755)
513%attr(755,root,root) %{py_sitedir}/_poldekmod.so
514%{py_sitescriptdir}/poldek.py[co]
515%{py_sitescriptdir}/poldekmod.py[co]
516%endif
This page took 0.190926 seconds and 4 git commands to generate.