|
|
@ -91,11 +91,18 @@ cd build
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%cmake \
|
|
|
|
%cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
|
|
|
-DCMAKE_BUILD_TYPE="" \
|
|
|
|
-DDATA_INSTALL_DIR=%{tde_datadir} \
|
|
|
|
-DCMAKE_C_FLAGS="-DNDEBUG" \
|
|
|
|
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
|
|
|
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
|
|
|
|
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
|
|
|
-DCMAKE_SKIP_RPATH=OFF \
|
|
|
|
..
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
|
|
|
|
|
|
|
-DWITH_GCC_VISIBILITY=ON \
|
|
|
|
|
|
|
|
\
|
|
|
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
|
|
|
|
|
|
|
-DDATA_INSTALL_DIR=%{tde_datadir} \
|
|
|
|
|
|
|
|
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
|
|
|
|
|
|
|
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
@ -112,11 +119,11 @@ export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4
|
|
|
|
%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4
|
|
|
|
%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4
|
|
|
|
%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{tde_pkg}.lang
|
|
|
|
%files -f %{tde_pkg}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
|
|
|