View | Details | Raw Unified | Return to bug 26870
Collapse All | Expand All

(-)qutIM.spec~ (-26 / +4 lines)
Lines 25-31 Obsoletes: %cname %name-plugin-connectio Link Here
25
25
26
BuildPreReq: cmake >= 2.8.1
26
BuildPreReq: cmake >= 2.8.1
27
BuildPreReq: libqt4-devel >= 4.7.1
27
BuildPreReq: libqt4-devel >= 4.7.1
28
BuildPreReq: chrpath
28
BuildPreReq: kde-common-devel
29
29
30
BuildRequires: attica-devel
30
BuildRequires: attica-devel
31
BuildRequires: doxygen
31
BuildRequires: doxygen
Lines 614-647 Виртуальный пакет для Link Here
614
%patch0 -p1
614
%patch0 -p1
615
615
616
%build
616
%build
617
%define lib_suffix %nil
617
%Kbuild \
618
%ifarch x86_64
618
	-DQUTIM_ADDITIONAL_ART_PATH=../artwork
619
%define lib_suffix 64
620
%endif
621
622
mkdir -p %_target_platform
623
pushd %_target_platform
624
625
export LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
626
627
cmake .. \
628
	-DCMAKE_INSTALL_PREFIX=%prefix \
629
	-DCMAKE_C_FLAGS:STRING='%optflags' \
630
	-DCMAKE_CXX_FLAGS:STRING='%optflags' \
631
	-DLIB_SUFFIX=%lib_suffix \
632
	-DQUTIM_ADDITIONAL_ART_PATH=../artwork \
633
	-DPHONON_INCLUDE_DIR=%_includedir/kde4
634
popd
635
636
%make_build -C %_target_platform
637
619
638
%install
620
%install
639
%make -C %_target_platform DESTDIR=%buildroot install
621
%Kinstall
640
622
641
for i in %buildroot%_libdir/%name/plugins/*.so %buildroot%_libdir/lib%name.so.* %buildroot%_libdir/libjreen.so.* %buildroot%_libdir/libquasar.so.* %buildroot%_bindir/%name
642
do
643
	chrpath -d $i ||:
644
done
645
623
646
%files
624
%files
647
%_bindir/%name
625
%_bindir/%name

Return to bug 26870