Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
commit
169853a068
@ -0,0 +1,97 @@
|
||||
# Default version for this component
|
||||
%define kdecomp abakus
|
||||
%define version 0.91
|
||||
%define release 2
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: Calculator for TDE
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: scons
|
||||
BuildRequires: bison
|
||||
|
||||
%description
|
||||
AbaKus is a complex calculator, which provides
|
||||
many different kinds of calculations.
|
||||
Think of it as bc (the command-line calculator) with a nice GUI.
|
||||
It also gives information about mathematical variables and
|
||||
has the user-friendly menu options of a normal KDE application.
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
export CXXFLAGS="-I%{_includedir}/tqt"
|
||||
|
||||
./configure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}%{_prefix}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/*
|
||||
%{_datadir}/apps/*/
|
||||
%{_datadir}/icons/*/*/*/*
|
||||
%{tde_docdir}/HTML/*/*/
|
||||
%{_datadir}/applnk/Utilities/abakus.desktop
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.91-2
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.91-1
|
||||
- Initial build for RHEL 6 and Fedora 15
|
||||
- Import to GIT
|
@ -0,0 +1,145 @@
|
||||
# Default version for this component
|
||||
%define kdecomp dolphin
|
||||
%define version 0.9.2
|
||||
%define release 3
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: File manager for KDE focusing on usability
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
Dolphin focuses on being only a file manager.
|
||||
This approach allows to optimize the user
|
||||
interface for the task of file management.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop'
|
||||
sed -i "%{buildroot}%{_datadir}/applications/kde/d3lphin.desktop" \
|
||||
-e "/^Name\[pa\].*/d"
|
||||
|
||||
desktop-file-install --vendor "" \
|
||||
--delete-original \
|
||||
--dir %{buildroot}%{_datadir}/applications/ \
|
||||
%{buildroot}%{_datadir}/applications/kde/d3lphin.desktop
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING TODO
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/apps/*/
|
||||
%doc %lang(en) %{_docdir}/HTML/en/*/
|
||||
%{_datadir}/icons/hicolor/128x128/apps/*.png
|
||||
%{_datadir}/icons/hicolor/??x??/apps/*.png
|
||||
%{_datadir}/locale/*/*/d3lphin.mo
|
||||
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-2
|
||||
- Import to GIT
|
||||
|
||||
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Thu Jun 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-0
|
||||
- Initial build for RHEL 6.0
|
||||
- Based on FC7 'Dolphin 0.8.2-2" SPEC file.
|
||||
|
@ -0,0 +1,117 @@
|
||||
# Default version for this component
|
||||
%define kdecomp filelight
|
||||
%define version 1.0
|
||||
%define release 3
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: Graphical disk usage display
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
Filelight creates a complex, but data-rich graphical representation of the files and
|
||||
directories on your computer.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/*/*.desktop
|
||||
%{_datadir}/apps/*/
|
||||
%{_datadir}/icons/*/*/*/*
|
||||
%{_datadir}/locale/*/*/*.mo
|
||||
%{_datadir}/config/filelightrc
|
||||
%{_datadir}/services/*.desktop
|
||||
%{_docdir}/HTML/*/*/
|
||||
|
||||
%{_libdir}/*/*.so
|
||||
%exclude %{_libdir}/*/*.la
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-2
|
||||
- Import to GIT
|
||||
|
||||
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-0
|
||||
- Initial build for RHEL 6.0
|
||||
|
@ -0,0 +1,254 @@
|
||||
diff -Nuar gwenview.ORI/src/imageutils/jpegint.h gwenview/src/imageutils/jpegint.h
|
||||
--- gwenview.ORI/src/imageutils/jpegint.h 2011-05-26 23:04:57.000000000 +0200
|
||||
+++ gwenview/src/imageutils/jpegint.h 2011-11-01 20:45:15.494165195 +0100
|
||||
@@ -43,9 +43,9 @@
|
||||
|
||||
/* Master control module */
|
||||
struct jpeg_comp_master {
|
||||
- JTQT_METHOD(void, prepare_for_pass, (j_compress_ptr cinfo));
|
||||
- JTQT_METHOD(void, pass_startup, (j_compress_ptr cinfo));
|
||||
- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, pass_startup, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
|
||||
|
||||
/* State variables made visible to other modules */
|
||||
boolean call_pass_startup; /* True if pass_startup must be called */
|
||||
@@ -54,16 +54,16 @@
|
||||
|
||||
/* Main buffer control (downsampled-data buffer) */
|
||||
struct jpeg_c_main_controller {
|
||||
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
- JTQT_METHOD(void, process_data, (j_compress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
+ JMETHOD(void, process_data, (j_compress_ptr cinfo,
|
||||
JSAMPARRAY input_buf, JDIMENSION *in_row_ctr,
|
||||
JDIMENSION in_rows_avail));
|
||||
};
|
||||
|
||||
/* Compression preprocessing (downsampling input buffer control) */
|
||||
struct jpeg_c_prep_controller {
|
||||
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
- JTQT_METHOD(void, pre_process_data, (j_compress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
+ JMETHOD(void, pre_process_data, (j_compress_ptr cinfo,
|
||||
JSAMPARRAY input_buf,
|
||||
JDIMENSION *in_row_ctr,
|
||||
JDIMENSION in_rows_avail,
|
||||
@@ -74,23 +74,23 @@
|
||||
|
||||
/* Coefficient buffer control */
|
||||
struct jpeg_c_coef_controller {
|
||||
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
- JTQT_METHOD(boolean, compress_data, (j_compress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
+ JMETHOD(boolean, compress_data, (j_compress_ptr cinfo,
|
||||
JSAMPIMAGE input_buf));
|
||||
};
|
||||
|
||||
/* Colorspace conversion */
|
||||
struct jpeg_color_converter {
|
||||
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo));
|
||||
- JTQT_METHOD(void, color_convert, (j_compress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, color_convert, (j_compress_ptr cinfo,
|
||||
JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
|
||||
JDIMENSION output_row, int num_rows));
|
||||
};
|
||||
|
||||
/* Downsampling */
|
||||
struct jpeg_downsampler {
|
||||
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo));
|
||||
- JTQT_METHOD(void, downsample, (j_compress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, downsample, (j_compress_ptr cinfo,
|
||||
JSAMPIMAGE input_buf, JDIMENSION in_row_index,
|
||||
JSAMPIMAGE output_buf,
|
||||
JDIMENSION out_row_group_index));
|
||||
@@ -100,9 +100,9 @@
|
||||
|
||||
/* Forward DCT (also controls coefficient quantization) */
|
||||
struct jpeg_forward_dct {
|
||||
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo));
|
||||
/* perhaps this should be an array??? */
|
||||
- JTQT_METHOD(void, forward_DCT, (j_compress_ptr cinfo,
|
||||
+ JMETHOD(void, forward_DCT, (j_compress_ptr cinfo,
|
||||
jpeg_component_info * compptr,
|
||||
JSAMPARRAY sample_data, JBLOCKROW coef_blocks,
|
||||
JDIMENSION start_row, JDIMENSION start_col,
|
||||
@@ -111,23 +111,23 @@
|
||||
|
||||
/* Entropy encoding */
|
||||
struct jpeg_entropy_encoder {
|
||||
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics));
|
||||
- JTQT_METHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data));
|
||||
- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics));
|
||||
+ JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data));
|
||||
+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
|
||||
};
|
||||
|
||||
/* Marker writing */
|
||||
struct jpeg_marker_writer {
|
||||
- JTQT_METHOD(void, write_file_header, (j_compress_ptr cinfo));
|
||||
- JTQT_METHOD(void, write_frame_header, (j_compress_ptr cinfo));
|
||||
- JTQT_METHOD(void, write_scan_header, (j_compress_ptr cinfo));
|
||||
- JTQT_METHOD(void, write_file_trailer, (j_compress_ptr cinfo));
|
||||
- JTQT_METHOD(void, write_tables_only, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, write_file_header, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, write_frame_header, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, write_scan_header, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, write_file_trailer, (j_compress_ptr cinfo));
|
||||
+ JMETHOD(void, write_tables_only, (j_compress_ptr cinfo));
|
||||
/* These routines are exported to allow insertion of extra markers */
|
||||
/* Probably only COM and APPn markers should be written this way */
|
||||
- JTQT_METHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker,
|
||||
+ JMETHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker,
|
||||
unsigned int datalen));
|
||||
- JTQT_METHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val));
|
||||
+ JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val));
|
||||
};
|
||||
|
||||
|
||||
@@ -135,8 +135,8 @@
|
||||
|
||||
/* Master control module */
|
||||
struct jpeg_decomp_master {
|
||||
- JTQT_METHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(void, finish_output_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, finish_output_pass, (j_decompress_ptr cinfo));
|
||||
|
||||
/* State variables made visible to other modules */
|
||||
boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */
|
||||
@@ -144,10 +144,10 @@
|
||||
|
||||
/* Input control module */
|
||||
struct jpeg_input_controller {
|
||||
- JTQT_METHOD(int, consume_input, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(void, reset_input_controller, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(void, finish_input_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(int, consume_input, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, reset_input_controller, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, finish_input_pass, (j_decompress_ptr cinfo));
|
||||
|
||||
/* State variables made visible to other modules */
|
||||
boolean has_multiple_scans; /* True if file has multiple scans */
|
||||
@@ -156,18 +156,18 @@
|
||||
|
||||
/* Main buffer control (downsampled-data buffer) */
|
||||
struct jpeg_d_main_controller {
|
||||
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
- JTQT_METHOD(void, process_data, (j_decompress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
+ JMETHOD(void, process_data, (j_decompress_ptr cinfo,
|
||||
JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
|
||||
JDIMENSION out_rows_avail));
|
||||
};
|
||||
|
||||
/* Coefficient buffer control */
|
||||
struct jpeg_d_coef_controller {
|
||||
- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(int, consume_data, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(void, start_output_pass, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(int, decompress_data, (j_decompress_ptr cinfo,
|
||||
+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(int, consume_data, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, start_output_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(int, decompress_data, (j_decompress_ptr cinfo,
|
||||
JSAMPIMAGE output_buf));
|
||||
/* Pointer to array of coefficient virtual arrays, or NULL if none */
|
||||
jvirt_barray_ptr *coef_arrays;
|
||||
@@ -175,8 +175,8 @@
|
||||
|
||||
/* Decompression postprocessing (color quantization buffer control) */
|
||||
struct jpeg_d_post_controller {
|
||||
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
- JTQT_METHOD(void, post_process_data, (j_decompress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
|
||||
+ JMETHOD(void, post_process_data, (j_decompress_ptr cinfo,
|
||||
JSAMPIMAGE input_buf,
|
||||
JDIMENSION *in_row_group_ctr,
|
||||
JDIMENSION in_row_groups_avail,
|
||||
@@ -187,12 +187,12 @@
|
||||
|
||||
/* Marker reading & parsing */
|
||||
struct jpeg_marker_reader {
|
||||
- JTQT_METHOD(void, reset_marker_reader, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, reset_marker_reader, (j_decompress_ptr cinfo));
|
||||
/* Read markers until SOS or EOI.
|
||||
* Returns same codes as are defined for jpeg_consume_input:
|
||||
* JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI.
|
||||
*/
|
||||
- JTQT_METHOD(int, read_markers, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(int, read_markers, (j_decompress_ptr cinfo));
|
||||
/* Read a restart marker --- exported for use by entropy decoder only */
|
||||
jpeg_marker_parser_method read_restart_marker;
|
||||
|
||||
@@ -207,8 +207,8 @@
|
||||
|
||||
/* Entropy decoding */
|
||||
struct jpeg_entropy_decoder {
|
||||
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(boolean, decode_mcu, (j_decompress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo,
|
||||
JBLOCKROW *MCU_data));
|
||||
|
||||
/* This is here to share code between baseline and progressive decoders; */
|
||||
@@ -217,21 +217,21 @@
|
||||
};
|
||||
|
||||
/* Inverse DCT (also performs dequantization) */
|
||||
-typedef JTQT_METHOD(void, inverse_DCT_method_ptr,
|
||||
+typedef JMETHOD(void, inverse_DCT_method_ptr,
|
||||
(j_decompress_ptr cinfo, jpeg_component_info * compptr,
|
||||
JCOEFPTR coef_block,
|
||||
JSAMPARRAY output_buf, JDIMENSION output_col));
|
||||
|
||||
struct jpeg_inverse_dct {
|
||||
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
|
||||
/* It is useful to allow each component to have a separate IDCT method. */
|
||||
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS];
|
||||
};
|
||||
|
||||
/* Upsampling (note that upsampler must also call color converter) */
|
||||
struct jpeg_upsampler {
|
||||
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(void, upsample, (j_decompress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, upsample, (j_decompress_ptr cinfo,
|
||||
JSAMPIMAGE input_buf,
|
||||
JDIMENSION *in_row_group_ctr,
|
||||
JDIMENSION in_row_groups_avail,
|
||||
@@ -244,20 +244,20 @@
|
||||
|
||||
/* Colorspace conversion */
|
||||
struct jpeg_color_deconverter {
|
||||
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(void, color_convert, (j_decompress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, color_convert, (j_decompress_ptr cinfo,
|
||||
JSAMPIMAGE input_buf, JDIMENSION input_row,
|
||||
JSAMPARRAY output_buf, int num_rows));
|
||||
};
|
||||
|
||||
/* Color quantization or color precision reduction */
|
||||
struct jpeg_color_quantizer {
|
||||
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan));
|
||||
- JTQT_METHOD(void, color_quantize, (j_decompress_ptr cinfo,
|
||||
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan));
|
||||
+ JMETHOD(void, color_quantize, (j_decompress_ptr cinfo,
|
||||
JSAMPARRAY input_buf, JSAMPARRAY output_buf,
|
||||
int num_rows));
|
||||
- JTQT_METHOD(void, finish_pass, (j_decompress_ptr cinfo));
|
||||
- JTQT_METHOD(void, new_color_map, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, finish_pass, (j_decompress_ptr cinfo));
|
||||
+ JMETHOD(void, new_color_map, (j_decompress_ptr cinfo));
|
||||
};
|
||||
|
||||
|
@ -0,0 +1,169 @@
|
||||
# Default version for this component
|
||||
%define kdecomp gwenview
|
||||
%define version 1.4.2
|
||||
%define release 4
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: Gwenview is an image viewer for KDE.
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
# TDE 3.5.13 on RHEL/Fedora specific patches
|
||||
Patch0: gwenview-3.5.13-jpegint-ftbfs.patch
|
||||
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-arts-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: exiv2-devel
|
||||
|
||||
%if "%{?_prefix}" == "/usr"
|
||||
Conflicts: kdegraphics
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Gwenview is a fast and easy to use image viewer/browser for KDE.
|
||||
All common image formats are supported, such as PNG(including transparency),
|
||||
JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp
|
||||
image format), BMP, XPM and others. Standard features include slideshow,
|
||||
fullscreen view, image thumbnails, drag'n'drop, image zoom, full network
|
||||
transparency using the KIO framework, including basic file operations and
|
||||
browsing in compressed archives, non-blocking GUI with adjustable views.
|
||||
Gwenview also provides image and directory KParts components for use e.g. in
|
||||
Konqueror. Additional features, such as image renaming, comparing,
|
||||
converting, and batch processing, HTML gallery and others are provided by the
|
||||
KIPI image framework.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
%patch0 -p1
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
%__make
|
||||
# %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_datadir}/applications/*/*.desktop
|
||||
%{_datadir}/services/*.desktop
|
||||
%{_datadir}/apps/*/
|
||||
%{_datadir}/config.kcfg/*
|
||||
%{tde_docdir}/HTML/en/*/
|
||||
%{_datadir}/icons/*/*/*/*
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%{_libdir}/libkdeinit_gwenview.so
|
||||
%exclude %{_libdir}/libgwenviewcore.so
|
||||
|
||||
%exclude %{_libdir}/*.la
|
||||
%exclude %{_libdir}/*/*.so
|
||||
%exclude %{_libdir}/*/*.la
|
||||
|
||||
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-4
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-3
|
||||
- Import to GIT
|
||||
|
||||
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2
|
||||
- Add fix for Fedora 15
|
||||
|
||||
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sat Aug 13 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-0
|
||||
- Initial build for RHEL 6.0
|
||||
|
@ -0,0 +1,81 @@
|
||||
--- k3b-i18n-1.0.5/acinclude.m4.ORI 2011-10-30 11:45:36.484658442 +0100
|
||||
+++ k3b-i18n-1.0.5/acinclude.m4 2011-10-30 11:53:00.134646577 +0100
|
||||
@@ -479,14 +479,14 @@
|
||||
if test "$kde_qtver" = "2"; then
|
||||
kde_moduledir='\${libdir}/kde2'
|
||||
else
|
||||
- kde_moduledir='\${libdir}/kde3'
|
||||
+ kde_moduledir='\${libdir}/trinity'
|
||||
fi
|
||||
fi
|
||||
if test -z "$kde_styledir"; then
|
||||
- kde_styledir='\${libdir}/kde3/plugins/styles'
|
||||
+ kde_styledir='\${libdir}/trinity/plugins/styles'
|
||||
fi
|
||||
if test -z "$kde_widgetdir"; then
|
||||
- kde_widgetdir='\${libdir}/kde3/plugins/designer'
|
||||
+ kde_widgetdir='\${libdir}/trinity/plugins/designer'
|
||||
fi
|
||||
if test -z "$xdg_appsdir"; then
|
||||
xdg_appsdir='\${datadir}/applications/kde'
|
||||
@@ -546,7 +546,7 @@
|
||||
|
||||
AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
|
||||
[
|
||||
- kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
|
||||
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/trinity/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
|
||||
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
|
||||
if test -n "$KDEDIRS"; then
|
||||
kde_save_IFS=$IFS
|
||||
@@ -612,7 +612,7 @@
|
||||
KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
|
||||
|
||||
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
|
||||
- kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
|
||||
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde3/share /opt/kde/share $prefix/share"
|
||||
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
|
||||
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
|
||||
if test "$KDE_XSL_STYLESHEET" = "NO"; then
|
||||
@@ -1817,7 +1817,7 @@
|
||||
|
||||
if test -z "$1"; then
|
||||
|
||||
-kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
|
||||
+kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
|
||||
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
|
||||
kde_incdirs="$ac_kde_includes $kde_incdirs"
|
||||
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
|
||||
@@ -1829,7 +1829,7 @@
|
||||
So, check this please and use another prefix!])
|
||||
fi
|
||||
|
||||
-kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
||||
+kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/trinity/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
||||
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
|
||||
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
|
||||
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
|
||||
@@ -1837,7 +1837,7 @@
|
||||
|
||||
kde_widgetdir=NO
|
||||
dnl this might be somewhere else
|
||||
-AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
||||
+AC_FIND_FILE("trinity/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
||||
|
||||
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
|
||||
AC_MSG_ERROR([
|
||||
@@ -1845,7 +1845,7 @@
|
||||
So, check this please and use another prefix!])
|
||||
fi
|
||||
|
||||
-if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
|
||||
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/trinity/plugins/designer/kdewidgets.la"; then
|
||||
AC_MSG_ERROR([
|
||||
I can't find the designer plugins. These are required and should have been installed
|
||||
by kdelibs])
|
||||
@@ -1852,7 +1852,7 @@
|
||||
fi
|
||||
|
||||
if test -n "$kde_widgetdir"; then
|
||||
- kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
|
||||
+ kde_widgetdir="$kde_widgetdir/trinity/plugins/designer"
|
||||
fi
|
@ -0,0 +1,128 @@
|
||||
# Default version for this component
|
||||
%define kdecomp kbookreader
|
||||
%define version 0.2.0
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: eBook reader for Trinity.
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-arts-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
kbookreader is an application which allows you to view eBooks
|
||||
within the Trinity Desktop Environment.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applnk/*/*.desktop
|
||||
%{_datadir}/apps/*/
|
||||
%{_datadir}/config.kcfg/*
|
||||
%{_docdir}/HTML/en/*/
|
||||
%{_datadir}/icons/*/*/*/*
|
||||
|
||||
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.2.0-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,10 @@
|
||||
--- kdbusnotification/src/daemon/Makefile.am.ORI 2011-11-01 22:59:28.000000000 +0100
|
||||
+++ kdbusnotification/src/daemon/Makefile.am 2011-11-01 22:59:45.000000000 +0100
|
||||
@@ -35,6 +35,7 @@
|
||||
$(KDE_RPATH) \
|
||||
$(KDE_LDFLAGS) \
|
||||
$(LIB_QT) \
|
||||
+ $(QT_LDFLAGS) \
|
||||
-lDCOP \
|
||||
$(LIB_KDECORE) \
|
||||
$(LIB_KDEUI) \
|
@ -0,0 +1,126 @@
|
||||
# Default version for this component
|
||||
%define kdecomp kdbusnotification
|
||||
%define version 0.1
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: a DBUS notification service [Trinity]
|
||||
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
# [kdbusnotification/src/daemon] Missing QT LDFLAGS
|
||||
Patch0: kdbusnotification-3.5.13-ftbfs_qt_ldlflags.patch
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-arts-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: gtk2-devel
|
||||
|
||||
%description
|
||||
kdbusnotification is a small program for Trinity that displays
|
||||
DBUS notifications via unobtrusive, easily dismissed passive popups.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
%patch0 -p1
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/notification-daemon-tde
|
||||
%{_datadir}/autostart/kdbusnotification-autostart.desktop
|
||||
|
||||
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.1-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,124 @@
|
||||
# Default version for this component
|
||||
%define kdecomp kdesudo
|
||||
%define version 2.5.1
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: sudo frontend for Trinity
|
||||
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-arts-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
KdeSudo is a graphical frontend for the sudo utility.
|
||||
It allows you to run programs as another user by entering your password.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f admin/Makefile.common
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; source /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/kdesudo
|
||||
%{_docdir}/HTML/en/kdesudo/common
|
||||
%{_docdir}/HTML/en/kdesudo/index.cache.bz2
|
||||
%{_docdir}/HTML/en/kdesudo/index.docbook
|
||||
%{_datadir}/locale/fr/LC_MESSAGES/kdesudo.mo
|
||||
|
||||
|
||||
%Changelog
|
||||
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 2.5.1-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,122 @@
|
||||
# Default version for this component
|
||||
%define kdecomp kdiff3
|
||||
%define version 0.9.91
|
||||
%define release 3
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories.
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
Shows the differences line by line and character by character (!).
|
||||
Provides an automatic merge-facility and
|
||||
an integrated editor for comfortable solving of merge-conflicts.
|
||||
Supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.).
|
||||
Unicode & UTF-8 support
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/*
|
||||
%{_datadir}/apps/*/
|
||||
%{_datadir}/icons/*/*/*/*
|
||||
%{_datadir}/locale/*/*/*.mo
|
||||
%{_docdir}/HTML/*/*
|
||||
%{_datadir}/services/*.desktop
|
||||
%{tde_libdir}/*.so
|
||||
%{_datadir}/applnk/Development/*.desktop
|
||||
%{_datadir}/applnk/.hidden/*.desktop
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%{tde_libdir}/*.la
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-2
|
||||
- Import to GIT
|
||||
|
||||
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-0
|
||||
- Initial build for RHEL 6.0
|
||||
|
@ -0,0 +1,115 @@
|
||||
# Default version for this component
|
||||
%define kdecomp krename
|
||||
%define version 3.0.14
|
||||
%define release 3
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.12 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: A KDE batch file renaming utility.
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: imlib-devel
|
||||
|
||||
%description
|
||||
KRename is a powerful batch renamer for KDE 3.x. It allows you to easily rename hundreds or
|
||||
even more files in one go. The filenames can be created by parts of the original filename,
|
||||
numbering the files or accessing hundreds of informations about the file, like creation date
|
||||
or Exif informations of an image.
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/*/*.desktop
|
||||
%{_datadir}/apps/*/
|
||||
%{_docdir}/HTML/en/*/
|
||||
%{_datadir}/icons/*/*/*/*
|
||||
%{_datadir}/locale/*/*/*.mo
|
||||
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-2
|
||||
- Import to GIT
|
||||
|
||||
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-0
|
||||
- Initial build for RHEL 6.0
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- kstreamripper/src/addnewstreamimpl.h.ORI 2011-11-02 20:40:17.450317896 +0100
|
||||
+++ kstreamripper/src/addnewstreamimpl.h 2011-11-02 20:40:25.777317020 +0100
|
||||
@@ -22,6 +22,7 @@
|
||||
#define ADDNEWSTREAMIMPL_H
|
||||
|
||||
#include "addnewstream.h"
|
||||
+#include <tqt.h>
|
||||
|
||||
class AddNewStreamImpl : public AddNewStream
|
||||
{
|
@ -0,0 +1,118 @@
|
||||
# Default version for this component
|
||||
%define kdecomp kstreamripper
|
||||
%define version 0.3.4
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: TDE frontend for streamripper
|
||||
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
Patch0: kstreamripper-3.5.13-missing_include_tqt.patch
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-arts-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: scons
|
||||
|
||||
|
||||
%description
|
||||
KStreamRipper is a small frontend for the streamripper command
|
||||
line utility. Streamripper captures internet shoutcast radio streams
|
||||
on your harddisk and splits them up in mp3 files. KStreamRipper helps
|
||||
you with managing/ripping your preferred streams.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
export CXXFLAGS="-I%{_includedir}/tqt"
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/kstreamripper
|
||||
%{_datadir}/applnk/Utilities/kstreamripper.desktop
|
||||
%{_datadir}/apps/kstreamripper/kstreamripperui.rc
|
||||
%{tde_docdir}/HTML/en/en/index.cache.bz2
|
||||
|
||||
|
||||
|
||||
%Changelog
|
||||
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.4-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,108 @@
|
||||
# Default version for this component
|
||||
%define kdecomp yakuake
|
||||
%define version 2.8.1
|
||||
%define release 3
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.12 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
|
||||
|
||||
%prep
|
||||
%setup -q -n applications/%{kdecomp}
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/*/*.desktop
|
||||
%{_datadir}/apps/*/
|
||||
%{_datadir}/icons/*/*/*/*
|
||||
%{_datadir}/locale/*/*/*.mo
|
||||
%{_datadir}/config.kcfg/*.kcfg
|
||||
|
||||
%Changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-2
|
||||
- Import to GIT
|
||||
|
||||
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-0
|
||||
- Initial build for RHEL 6.0
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,192 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.12 specific building variables
|
||||
BuildRequires: cmake >= 2.8
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Summary: K Desktop Environment - Accessibility
|
||||
Name: trinity-kdeaccessibility
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Source0: kdeaccessibility-%{version}.tar.gz
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
|
||||
Provides: kdeaccessibility3 = %{version}-%{release}
|
||||
|
||||
Requires: trinity-kdelibs
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: alsa-lib-devel
|
||||
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
|
||||
BuildRequires: libXtst-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Included with this package are:
|
||||
* kmag, a screen magnifier,
|
||||
* kmousetool, a program for people whom it hurts to click the mouse,
|
||||
* kmouth, program that allows people who have lost their voice
|
||||
to let their computer speak for them.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Provides: kdeaccessibility3-devel = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: trinity-kdelibs-devel
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n kdeaccessibility
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--includedir=%{tde_includedir} \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--enable-closure \
|
||||
--disable-debug --disable-warnings \
|
||||
--enable-final \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
desktop-file-install \
|
||||
--vendor="" \
|
||||
--dir %{buildroot}%{_datadir}/applications/kde \
|
||||
--delete-original \
|
||||
%{buildroot}%{_datadir}/applnk/Applications/*.desktop ||:
|
||||
|
||||
# file lists for locale
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}/$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}/$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# rpmdocs
|
||||
for dir in kmag kmousetool ksayit kttsd ; do
|
||||
for file in AUTHORS ChangeLog README TODO ; do
|
||||
test -s $dir/$file && install -p -m644 -D $dir/$file rpmdocs/$dir/$file
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig ||:
|
||||
for icon_theme in mono hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig ||:
|
||||
for icon_theme in mono hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%doc rpmdocs/*
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/kde/*.desktop
|
||||
%{_datadir}/apps/*/
|
||||
%{_datadir}/config/*
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/icons/locolor/*/*/*
|
||||
%{_datadir}/icons/mono/
|
||||
%{_datadir}/icons/crystalsvg/*/*/*
|
||||
%{_datadir}/service*/*.desktop
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/*.la
|
||||
%{tde_libdir}/*
|
||||
|
||||
# Misc docs
|
||||
%doc %lang(en) %{_docdir}/HTML/en/kmag
|
||||
%doc %lang(en) %{_docdir}/HTML/en/kmousetool
|
||||
%doc %lang(en) %{_docdir}/HTML/en/kmouth
|
||||
%doc %lang(en) %{_docdir}/HTML/en/kttsd
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_includedir}/*
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
||||
- Spec file based on Fedora 8 "kdeaccessibility-3.5.10-1"
|
@ -0,0 +1,64 @@
|
||||
--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/sdlwrap.cpp.than 2006-06-07 18:52:09.000000000 +0200
|
||||
+++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/sdlwrap.cpp 2006-06-07 18:54:06.000000000 +0200
|
||||
@@ -183,6 +183,7 @@
|
||||
SDL_UpdateRect(surface, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
+#if 0
|
||||
int SdlScreen::winID(void)
|
||||
{
|
||||
SDL_SysWMinfo info;
|
||||
@@ -195,3 +196,4 @@
|
||||
SDL_GetWMInfo(&info);
|
||||
return info.info.x11.wmwindow;
|
||||
}
|
||||
+#endif
|
||||
--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/main.cpp.than 2006-06-07 18:54:19.000000000 +0200
|
||||
+++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/main.cpp 2006-06-07 18:54:27.000000000 +0200
|
||||
@@ -112,7 +112,7 @@
|
||||
{
|
||||
time_t timer = time(NULL);
|
||||
|
||||
- printf("%u\n", static_cast<SdlScreen *>(screen)->winID());
|
||||
+ //printf("%u\n", static_cast<SdlScreen *>(screen)->winID());
|
||||
fflush(stdout);
|
||||
|
||||
int frames = 0;
|
||||
--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/syna.h.than 2006-06-07 18:51:25.000000000 +0200
|
||||
+++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/syna.h 2006-06-07 18:51:56.000000000 +0200
|
||||
@@ -108,7 +108,7 @@
|
||||
int sizeUpdate();
|
||||
bool inputUpdate(int &mouseX,int &mouseY,int &mouseButtons,char &keyHit);
|
||||
void show();
|
||||
- int winID();
|
||||
+ //int winID();
|
||||
};
|
||||
|
||||
// core
|
||||
--- kdeaddons-3.5.3/noatun-plugins/tyler/main.cpp.than 2006-06-07 18:54:38.000000000 +0200
|
||||
+++ kdeaddons-3.5.3/noatun-plugins/tyler/main.cpp 2006-06-07 18:55:00.000000000 +0200
|
||||
@@ -52,6 +52,7 @@
|
||||
SDL_Surface *screen;
|
||||
}
|
||||
|
||||
+#if 0
|
||||
int winID(void)
|
||||
{
|
||||
SDL_SysWMinfo info;
|
||||
@@ -61,6 +62,7 @@
|
||||
SDL_GetWMInfo(&info);
|
||||
return info.info.x11.wmwindow;
|
||||
}
|
||||
+#endif
|
||||
|
||||
int main(int, char **)
|
||||
{
|
||||
@@ -74,7 +76,7 @@
|
||||
access_mutex = SDL_CreateMutex();
|
||||
|
||||
init_renderer1();
|
||||
- printf("%u\n", winID());
|
||||
+ //printf("%u\n", winID());
|
||||
fflush(stdout);
|
||||
init_renderer2();
|
||||
thread = SDL_CreateThread((int (*)(void *))renderer, NULL);
|
Binary file not shown.
@ -0,0 +1,7 @@
|
||||
[General]
|
||||
AnimateResize=false
|
||||
MaxActions=3
|
||||
MaxEntries=3
|
||||
ShowFrame=true
|
||||
ShowServicemenus=true
|
||||
Theme=fedora
|
Binary file not shown.
@ -0,0 +1,256 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-kdeaddons
|
||||
Summary: Trinity Desktop Environment - Plugins
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: kdeaddons-%{version}.tar.gz
|
||||
Source1: metabar-fedora.tar.bz2
|
||||
Source2: metabarrc
|
||||
|
||||
Patch3: kdeaddons-3.5.3-sdl.patch
|
||||
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: trinity-kdegames-devel
|
||||
BuildRequires: trinity-kdemultimedia-devel
|
||||
BuildRequires: trinity-kdepim-devel
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: db4-devel
|
||||
BuildRequires: xmms-devel
|
||||
|
||||
Requires: trinity-kdebase
|
||||
%if 0%{?fedora}
|
||||
# used in jpegorient (#312641)
|
||||
Requires: python-exif
|
||||
%endif
|
||||
Requires: which
|
||||
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
Obsoletes: %{name}-xmms < %{version}-%{release}
|
||||
|
||||
%description
|
||||
A collection of KDE Addons/Plugins, including:
|
||||
* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver
|
||||
* kate (plugins)
|
||||
* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol
|
||||
* knewsticker-scripts
|
||||
|
||||
%package extras
|
||||
Group: User Interface/Desktops
|
||||
Summary: Extras packages from kdeaddons
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: trinity-kdegames
|
||||
Obsoletes: %{name}-atlantikdesigner < %{version}-%{release}
|
||||
%description extras
|
||||
This package includes:
|
||||
* atlantikdesigner: game board designer
|
||||
* noatun-plugins
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -a 1 -n kdeaddons
|
||||
|
||||
%patch3 -p1 -b .sdl
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%if 0%{?fedora} > 0
|
||||
export CXXFLAGS="${CXXFLAGS} -fpermissive"
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--includedir=%{_includedir}/kde \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--enable-closure \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependency-tracking --enable-final \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# File lists for locale
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
touch %{name}.lang
|
||||
if [ -d %{buildroot}/$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}/$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# rpmdocs
|
||||
for dir in konq-plugins ; do
|
||||
for file in AUTHORS ChangeLog README TODO ; do
|
||||
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
|
||||
done
|
||||
done
|
||||
|
||||
# install fedora metabar theme
|
||||
cp -prf fedora %{buildroot}%{_datadir}/apps/metabar/themes
|
||||
install -m644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
for f in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
for f in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%post extras
|
||||
touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
|
||||
%postun extras
|
||||
touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%doc rpmdocs/*
|
||||
%{_bindir}/*
|
||||
%{tde_libdir}/*
|
||||
%{_datadir}/applications/kde/*
|
||||
%{_datadir}/applnk/.hidden/*
|
||||
%{_datadir}/apps/akregator/pics/*
|
||||
%{_datadir}/apps/domtreeviewer/
|
||||
%{_datadir}/apps/fsview/
|
||||
%{_datadir}/apps/imagerotation/
|
||||
%{_datadir}/apps/kaddressbook/*
|
||||
%{_datadir}/apps/kate/*
|
||||
%{_datadir}/apps/katepart/syntax/*
|
||||
%{_datadir}/apps/katexmltools
|
||||
# own dir so we don't need to Requires: kdenetwork too
|
||||
%dir %{_datadir}/apps/knewsticker
|
||||
%{_datadir}/apps/knewsticker/*
|
||||
%{_datadir}/apps/khtml/kpartplugins/*
|
||||
%{_datadir}/apps/konq*view/kpartplugins/*
|
||||
%{_datadir}/apps/konqueror/icons/*/*/*/*
|
||||
%dir %{_datadir}/apps/konqueror/kpartplugins/
|
||||
%{_datadir}/apps/konqueror/kpartplugins/*
|
||||
%{_datadir}/apps/konqueror/servicemenus/*
|
||||
%{_datadir}/apps/konqsidebartng/*/*
|
||||
%{_datadir}/apps/mediacontrol/
|
||||
%{_datadir}/apps/metabar/
|
||||
%{_datadir}/apps/microformat/
|
||||
#%{_datadir}/apps/noatun/*
|
||||
%{_datadir}/apps/kicker/applets/*
|
||||
%{_datadir}/apps/ksig/
|
||||
%{_datadir}/config*/*
|
||||
%{_datadir}/icons/crystalsvg/*/*/*
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/icons/locolor/*/*/*
|
||||
%{_datadir}/mimelnk/*/*
|
||||
%{_datadir}/service*/*
|
||||
%doc %lang(en) %{_docdir}/HTML/en/*/*
|
||||
|
||||
# atlantikdesigner
|
||||
#%exclude %{_bindir}/atlantikdesigner
|
||||
#%exclude %{_datadir}/icons/hicolor/*/*/atlantikdesigner*
|
||||
#%exclude %{_datadir}/applications/kde/atlantikdesigner.desktop
|
||||
|
||||
# noatun-plugins
|
||||
#%exclude %{_bindir}/noatun*
|
||||
#%exclude %{tde_libdir}/noatun*
|
||||
#%exclude %{_datadir}/apps/noatun/*
|
||||
|
||||
|
||||
%files extras
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
# atlantikdesigner
|
||||
%doc atlantikdesigner/TODO
|
||||
#%{_bindir}/atlantikdesigner
|
||||
%{_datadir}/apps/atlantikdesigner/
|
||||
#%{_datadir}/icons/hicolor/*/*/atlantikdesigner*
|
||||
#%{_datadir}/applications/kde/atlantikdesigner.desktop
|
||||
|
||||
# noatun-plugins
|
||||
#%{_bindir}/noatun*
|
||||
#%{tde_libdir}/noatun*
|
||||
%{_datadir}/apps/noatun/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Sat Oct 29 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
||||
|
@ -0,0 +1,33 @@
|
||||
[Kpackage]
|
||||
BSD=false
|
||||
DEBAPT=false
|
||||
DEBDPKG=false
|
||||
KISS=false
|
||||
RPM=true
|
||||
SLACK=false
|
||||
|
||||
[Rpm]
|
||||
Package_L_0_0=/mnt/cdrom/RedHat/RPMS
|
||||
Package_L_0_1=/mnt/cdrom/SRPMS
|
||||
Package_L_0_2=/usr/src/redhat/RPMS
|
||||
Package_L_0_3=/usr/src/redhat/SRPMS
|
||||
Package_L_0_4=ftp://ftp.redhat.com/pub/redhat/linux/updates/7.2/en
|
||||
Package_L_1_0=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/i386
|
||||
Package_L_1_1=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/noarch
|
||||
Package_L_1_2=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/SRPMS
|
||||
Package_S_0_0=0
|
||||
Package_S_0_1=0
|
||||
Package_S_0_2=1
|
||||
Package_S_0_3=0
|
||||
Package_S_0_4=1
|
||||
Package_S_1_0=0
|
||||
Package_S_1_1=0
|
||||
Package_S_1_2=0
|
||||
Package_U_0_0=1
|
||||
Pacakge_U_0_1=1
|
||||
Package_U_0_2=1
|
||||
Pacakge_U_0_3=1
|
||||
Package_U_0_4=0
|
||||
Package_U_1_0=0
|
||||
Package_U_1_1=0
|
||||
Package_U_1_2=0
|
@ -0,0 +1,8 @@
|
||||
[Other Settings]
|
||||
Configured=true
|
||||
[Path Settings]
|
||||
RunlevelPath=/etc/rc.d
|
||||
ScriptPath=/etc/rc.d/init.d
|
||||
[Runlevels]
|
||||
Show Runlevels=0,1,2,3,4,5,6
|
||||
|
@ -0,0 +1,3 @@
|
||||
USER=root
|
||||
PROGRAM=/usr/sbin/kuser
|
||||
SESSION=true
|
@ -0,0 +1,4 @@
|
||||
#%PAM-1.0
|
||||
auth include config-util
|
||||
account include config-util
|
||||
session include config-util
|
@ -0,0 +1,6 @@
|
||||
[template]
|
||||
copySkel=true
|
||||
createHomeDir=true
|
||||
homeBase=/home
|
||||
shell=/bin/bash
|
||||
userPrivateGroup=true
|
@ -0,0 +1,201 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.12 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
%define console_helper 1
|
||||
|
||||
Name: trinity-kdeadmin
|
||||
Summary: Administrative tools for TDE
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: User Interface/Desktops
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: kdeadmin-%{version}.tar.gz
|
||||
Source1: kuser.pam
|
||||
Source2: kuser.pamd
|
||||
Source5: kpackagerc
|
||||
Source6: ksysvrc
|
||||
Source7: kuserrc
|
||||
|
||||
Requires: trinity-kdelibs
|
||||
Requires: pkgconfig
|
||||
%if 0%{?console_helper}
|
||||
Requires: usermode-gtk
|
||||
%endif
|
||||
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: rpm-devel
|
||||
|
||||
%description
|
||||
The kdeadmin package includes administrative tools for the K Desktop
|
||||
Environment (KDE) including:
|
||||
kcron, kdat, knetworkconf, kpackage, ksysv, kuser.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n kdeadmin
|
||||
|
||||
%if 0%{?rhel} > 1
|
||||
echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE kpackage"' >kpackage/configure.in.in
|
||||
echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE ksysv"' >ksysv/configure.in.in
|
||||
echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE kuser"' >kuser/configure.in.in
|
||||
echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE lilo-config"' >lilo-config/configure.in.in
|
||||
%endif
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%if 0%{?fedora} > 0
|
||||
export CXXFLAGS="${CXXFLAGS} -fpermissive"
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--enable-new-ldflags \
|
||||
--disable-dependency-tracking \
|
||||
--disable-rpath \
|
||||
--with-rpm \
|
||||
--enable-final \
|
||||
--enable-closure \
|
||||
--with-private-groups \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%if 0%{?rhel} > 1
|
||||
comps="kcron kdat knetworkconf"
|
||||
rm -rf %{buildroot}%{_docdir}/HTML/en/kuser \
|
||||
%{buildroot}%{_docdir}/HTML/en/kpackage \
|
||||
%{buildroot}%{_docdir}/HTML/en/ksysv \
|
||||
%{buildroot}%{_docdir}/HTML/en/lilo-config
|
||||
%else
|
||||
comps="kcron kdat knetworkconf kpackage ksysv kuser"
|
||||
mkdir -p %{buildroot}%{_datadir}/config \
|
||||
%{buildroot}/etc/security/console.apps \
|
||||
%{buildroot}/etc/pam.d \
|
||||
%{buildroot}%{_sbindir}
|
||||
|
||||
install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{_datadir}/config/
|
||||
|
||||
# Run kuser through consolehelper
|
||||
install -p -m644 %{SOURCE1} %{buildroot}/etc/security/console.apps/kuser
|
||||
install -p -m644 %{SOURCE2} %{buildroot}/etc/pam.d/kuser
|
||||
mv %{buildroot}%{_bindir}/kuser %{buildroot}%{_sbindir}
|
||||
ln -s consolehelper %{buildroot}%{_bindir}/kuser
|
||||
%endif
|
||||
|
||||
# locale's
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}/$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}/$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# rpmdocs
|
||||
for dir in $comps ; do
|
||||
for file in AUTHORS ChangeLog README TODO ; do
|
||||
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
|
||||
done
|
||||
done
|
||||
|
||||
%post
|
||||
for icon_theme in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
for icon_theme in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README
|
||||
%doc rpmdocs/*
|
||||
%{_bindir}/*
|
||||
%if 0%{?rhel} < 1
|
||||
%{_sbindir}/*
|
||||
%config(noreplace) /etc/pam.d/*
|
||||
%config(noreplace) /etc/security/console.apps/*
|
||||
%{_datadir}/config*/*
|
||||
%{_datadir}/mimelnk/*/*.desktop
|
||||
%{_datadir}/icons/crystalsvg/*/*/*
|
||||
%endif
|
||||
%{_datadir}/apps/*
|
||||
%{_datadir}/applications/kde/*.desktop
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/icons/locolor/*/*/*
|
||||
%{_datadir}/service*/*.desktop
|
||||
%{tde_libdir}/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%doc %lang(en) %{_docdir}/HTML/en/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Fri Oct 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
||||
|
@ -0,0 +1,3 @@
|
||||
[directory]
|
||||
Value=/usr/share/backgrounds/images/
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- kdebase/kdm/kfrontend/genkdmconf.c.ORI 2011-11-01 21:59:14.450046357 +0100
|
||||
+++ kdebase/kdm/kfrontend/genkdmconf.c 2011-11-01 21:59:34.449045801 +0100
|
||||
@@ -676,7 +676,7 @@
|
||||
" ;;\n"
|
||||
"esac\n"
|
||||
"# invoke global X session script\n"
|
||||
-". /etc/X11/Xsession\n";
|
||||
+". /etc/X11/xinit/Xsession\n";
|
||||
|
||||
static const char def_background[] =
|
||||
"[Desktop0]\n"
|
@ -0,0 +1,13 @@
|
||||
--- kdebase/startkde.ORI 2011-11-01 22:17:52.000000000 +0100
|
||||
+++ kdebase/startkde 2011-11-01 22:18:14.000000000 +0100
|
||||
@@ -413,7 +413,9 @@
|
||||
fi
|
||||
|
||||
if [ -n $KGTK_PRELOAD ]; then
|
||||
- if [ -e /usr/lib/libnspr4.so ]; then
|
||||
+ if [ -e /usr/lib64/libnspr4.so ]; then
|
||||
+ KGTK_NSPR_PRELOAD="/usr/lib64/libnspr4.so:"
|
||||
+ elif [ -e /usr/lib/libnspr4.so ]; then
|
||||
KGTK_NSPR_PRELOAD="/usr/lib/libnspr4.so:"
|
||||
fi
|
||||
export LD_PRELOAD=$KGTK_PRELOAD:$KGTK_NSPR_PRELOAD$LD_PRELOAD
|
@ -0,0 +1,9 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
||||
session required pam_loginuid.so
|
||||
session optional pam_selinux.so
|
||||
session optional pam_console.so
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1,11 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_nologin.so
|
||||
auth required pam_permit.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session optional pam_keyinit.so force revoke
|
||||
session include system-auth
|
||||
session required pam_loginuid.so
|
||||
session optional pam_selinux.so
|
||||
session optional pam_console.so
|
@ -0,0 +1,13 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_permit.so
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
@ -0,0 +1,15 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_permit.so
|
||||
auth include postlogin
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
||||
session include postlogin
|
@ -0,0 +1,10 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session optional pam_keyinit.so force revoke
|
||||
session include system-auth
|
||||
session required pam_loginuid.so
|
||||
session optional pam_selinux.so
|
||||
session optional pam_console.so
|
@ -0,0 +1,16 @@
|
||||
#%PAM-1.0
|
||||
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
|
||||
auth required pam_env.so
|
||||
auth substack system-auth
|
||||
auth optional pam_gnome_keyring.so
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session optional pam_gnome_keyring.so auto_start
|
||||
session include system-auth
|
@ -0,0 +1,18 @@
|
||||
#%PAM-1.0
|
||||
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
|
||||
auth required pam_env.so
|
||||
auth substack system-auth
|
||||
auth optional pam_gnome_keyring.so
|
||||
auth include postlogin
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session optional pam_gnome_keyring.so auto_start
|
||||
session include system-auth
|
||||
session include postlogin
|
@ -0,0 +1,9 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
||||
session required pam_loginuid.so
|
||||
session optional pam_selinux.so
|
||||
session optional pam_console.so
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1,237 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.12 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-kdeedu
|
||||
Summary: Educational/Edutainment applications
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: Amusements/Games
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: kdeedu-%{version}.tar.gz
|
||||
|
||||
Provides: kdeedu3 = %{version}-%{release}
|
||||
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: python-devel python
|
||||
BuildRequires: boost-devel
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
||||
BuildRequires: ocaml(compiler)
|
||||
%else
|
||||
BuildRequires: ocaml
|
||||
%endif
|
||||
#BuildRequires: ocaml-facile-devel
|
||||
|
||||
|
||||
%description
|
||||
Educational/Edutainment applications, including:
|
||||
* blinken: Simon Says Game
|
||||
* kalzium: Periodic Table of Elements
|
||||
* kanagram: Letter Order Game
|
||||
* kbruch: Exercise Fractions
|
||||
* keduca: Tests and Exams
|
||||
* kgeography: Geography Trainer
|
||||
* khangman: Hangman Game
|
||||
* kig: Interactive Geometry
|
||||
* kiten: Japanese Reference/Study Tool
|
||||
* klatin: Latin Reviser
|
||||
* klettres: French alphabet tutor
|
||||
* kmplot: Mathematical Function Plotter
|
||||
* kpercentage: Excersie Percentages
|
||||
* kstars: Desktop Planetarium
|
||||
* ktouch: Touch Typing Tutor
|
||||
* kturtle: Logo Programming Environment
|
||||
* kverbos: Study Spanish Verbforms
|
||||
* kvoctrain: Vocabulary Trainer
|
||||
* kwordquiz: Vocabulary Trainer
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Provides: kdeedu3-devel = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package libs
|
||||
Summary: %{name} runtime libraries
|
||||
Group: System Environment/Libraries
|
||||
Requires: trinity-kdelibs
|
||||
# include to be paranoid, installing libs-only is still mostly untested -- Rex
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n kdeedu
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%if 0%{?rhel} > 0
|
||||
rm -rf doc/kgeography kgeography
|
||||
perl -pi -e "s|kgeography||" subdirs
|
||||
%endif
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
# Fix link with kparts
|
||||
export CXXFLAGS="${CXXFLAGS} -lkparts"
|
||||
|
||||
%if 0%{?fedora}
|
||||
export CXXFLAGS="${CXXFLAGS} -fpermissive"
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--enable-new-ldflags \
|
||||
--disable-dependency-tracking \
|
||||
--disable-rpath \
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
||||
--enable-kig-python-scripting \
|
||||
%else
|
||||
--disable-kig-python-scripting \
|
||||
%endif
|
||||
--disable-debug \
|
||||
--disable-warnings \
|
||||
--enable-final \
|
||||
--enable-closure \
|
||||
--includedir=%{_includedir}/kde \
|
||||
--disable-ocamlsolver \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
|
||||
%__make \
|
||||
OCAMLLIB=$(ocamlc -where) FACILELIB=$(ocamlc -where)
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# locale's
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# rpmdocs
|
||||
for dir in blinken k* ; do
|
||||
for file in AUTHORS ChangeLog README TODO ; do
|
||||
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for i in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/$i 2>/dev/null || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || :
|
||||
done
|
||||
update-desktop-database >& /dev/null ||:
|
||||
|
||||
%postun
|
||||
for i in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/$i 2>/dev/null || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || :
|
||||
done
|
||||
update-desktop-database >& /dev/null ||:
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING
|
||||
%doc rpmdocs/*
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/kde/*
|
||||
# FIXME
|
||||
%{_datadir}/applnk/Edutainment/
|
||||
%{_datadir}/apps/*
|
||||
%config %{_datadir}/config*/*
|
||||
%{_datadir}/mimelnk/*/*
|
||||
%{_datadir}/icons/crystalsvg/*/*/*
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/icons/locolor/*/*/*
|
||||
%{_datadir}/services/*
|
||||
%{tde_libdir}/*
|
||||
%doc %lang(en) %{_docdir}/HTML/en/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/lib*.la
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc libkdeedu/AUTHORS libkdeedu/README
|
||||
%{tde_includedir}/*
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Sat Sep 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
@ -0,0 +1,199 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.12 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-kdegames
|
||||
Summary: Trinity Desktop Environment - Games
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: Amusements/Games
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source: kdegames-%{version}.tar.gz
|
||||
|
||||
Provides: kdegames3 = %{version}-%{release}
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
|
||||
%description
|
||||
Games and gaming libraries for the K Desktop Environment.
|
||||
Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg,
|
||||
kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris,
|
||||
ksnake, ksirtet, katomic, kjumpingcube, ktuberling.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2
|
||||
Provides: kdegames3-devel = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: trinity-kdelibs-devel
|
||||
%description devel
|
||||
%{summary}.
|
||||
Install %{name}-devel if you wish to develop or compile games for the
|
||||
KDE desktop.
|
||||
|
||||
%package libs
|
||||
Summary: %{name} runtime libraries
|
||||
Group: System Environment/Libraries
|
||||
Requires: trinity-kdelibs
|
||||
License: LGPLv2
|
||||
# include to paranoid, installing libs-only is still mostly untested -- Rex
|
||||
#Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n kdegames
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%if 0%{?fedora} > 0
|
||||
export CXXFLAGS="${CXXFLAGS} -lkio"
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--enable-new-ldflags \
|
||||
--disable-dependency-tracking \
|
||||
--disable-rpath \
|
||||
--enable-final \
|
||||
--disable-debug \
|
||||
--disable-warnings \
|
||||
--enable-closure \
|
||||
--includedir=%{_includedir}/kde \
|
||||
--disable-setgid \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# locale's
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# rpmdocs
|
||||
for dir in k* lskat ; do
|
||||
for file in AUTHORS ChangeLog README TODO ; do
|
||||
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS README COPYING
|
||||
%doc rpmdocs/*
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/kde/*.desktop
|
||||
%{_datadir}/apps/*
|
||||
%{_datadir}/config*/*
|
||||
%{_datadir}/icons/crystalsvg/*/*/*
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/mimelnk/*/*
|
||||
%{_datadir}/service*/*
|
||||
%{tde_libdir}/*
|
||||
%{_libdir}/libkdeinit_*.so
|
||||
%doc %lang(en) %{_docdir}/HTML/en/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/lib*.la
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING.LIB
|
||||
%doc libkdegames/README libkdegames/TODO
|
||||
%{tde_includedir}/*
|
||||
%{_libdir}/lib*.so
|
||||
%exclude %{_libdir}/libkdeinit_*.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Sat Sep 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
@ -0,0 +1,11 @@
|
||||
--- kdegraphics.ORI/kfile-plugins/dependencies/CMakeLists.txt 2011-07-31 08:24:04.000000000 +0200
|
||||
+++ kdegraphics/kfile-plugins/dependencies/CMakeLists.txt 2011-10-30 14:42:03.000000000 +0100
|
||||
@@ -9,4 +9,6 @@
|
||||
#
|
||||
#################################################
|
||||
|
||||
-add_subdirectory( poppler-tqt )
|
||||
\ Pas de fin de ligne à la fin du fichier.
|
||||
+if( WITH_PDF )
|
||||
+ add_subdirectory( poppler-tqt )
|
||||
+endif ( )
|
@ -0,0 +1,16 @@
|
||||
diff -Nuar kdegraphics.ORI/kpovmodeler/ConfigureChecks.cmake kdegraphics/kpovmodeler/ConfigureChecks.cmake
|
||||
--- kdegraphics.ORI/kpovmodeler/ConfigureChecks.cmake 2011-05-11 22:40:19.000000000 +0200
|
||||
+++ kdegraphics/kpovmodeler/ConfigureChecks.cmake 2011-10-30 14:00:54.000000000 +0100
|
||||
@@ -12,7 +12,10 @@
|
||||
# glu
|
||||
pkg_search_module( GLU glu )
|
||||
if( NOT GLU_FOUND )
|
||||
- tde_message_fatal( "glu is required, but was not found on your system" )
|
||||
+ check_include_file ( GL/glu.h HAVE_GLU )
|
||||
+ if( NOT HAVE_GLU )
|
||||
+ tde_message_fatal( "glu is required, but was not found on your system" )
|
||||
+ endif ( )
|
||||
endif( )
|
||||
|
||||
|
||||
kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/build.make
|
@ -0,0 +1,10 @@
|
||||
--- kdegraphics/kpovmodeler/ConfigureChecks.cmake.ORI 2011-11-02 21:57:05.000000000 +0100
|
||||
+++ kdegraphics/kpovmodeler/ConfigureChecks.cmake 2011-11-02 21:57:49.000000000 +0100
|
||||
@@ -16,6 +16,7 @@
|
||||
if( NOT HAVE_GLU )
|
||||
tde_message_fatal( "glu is required, but was not found on your system" )
|
||||
endif ( )
|
||||
+ set( GLU_LIBRARIES "-lGL -lGLU" )
|
||||
endif( )
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
diff -Nuar kdegraphics.ORI/ksnapshot/CMakeLists.txt kdegraphics/ksnapshot/CMakeLists.txt
|
||||
--- kdegraphics.ORI/ksnapshot/CMakeLists.txt 2011-05-11 23:29:40.000000000 +0200
|
||||
+++ kdegraphics/ksnapshot/CMakeLists.txt 2011-10-31 15:45:47.107958154 +0100
|
||||
@@ -40,6 +40,6 @@
|
||||
SOURCES
|
||||
ksnapshotiface.skel main.cpp ksnapshot.cpp regiongrabber.cpp
|
||||
windowgrabber.cpp ksnapshotwidget.ui
|
||||
- LINK kdeprint-shared
|
||||
+ LINK kdeprint-shared Xext
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
--- kdegraphics.ORI/kpdf/xpdf/aconf.h 2011-04-27 19:32:57.000000000 +0200
|
||||
+++ kdegraphics/kpdf/xpdf/aconf.h 2011-10-30 14:54:24.000000000 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
#define HAVE_FREETYPE_FREETYPE_H HAVE_FREETYPE
|
||||
#define OPI_SUPPORT 0
|
||||
#define TEXTOUT_WORD_LIST 0
|
||||
-#define HAVE_MKSTEMPS 1 //libkdefakes provides it
|
||||
+#define HAVE_MKSTEMPS 0
|
||||
#define HAVE_SPLASH 1
|
||||
#define SPLASH_CMYK 1
|
||||
#define HAVE_XPDFCORE 0
|
@ -0,0 +1,372 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 2
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: cmake >= 2.8
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-kdegraphics
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{_variant}
|
||||
License: GPL
|
||||
Summary: K Desktop Environment - Graphics Applications
|
||||
|
||||
Group: Applications/Multimedia
|
||||
Prefix: %{_prefix}
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: kdegraphics-%{version}.tar.gz
|
||||
|
||||
# TDE 3.5.13
|
||||
## RHEL / Fedora specific patches
|
||||
### [kdegraphics/ksnapshot] Missing -lXext in LDFLAGS (required for Fedora 15)
|
||||
Patch0: kdegraphics-3.5.13-ksnapshot_ldflags.patch
|
||||
### [kdegraphics/kpovmodeler] CMAKE does not detect GL/glu.h (on RHEL5)
|
||||
Patch1: kdegraphics-3.5.13-kpovmodeler_check_glu.patch
|
||||
### [kdegraphics/kfile-plugins/dependencies/poppler-tqt] Compile 'poppler-tqt' only if HAVE_POPPLER_016
|
||||
Patch2: kdegraphics-3.5.13-disable_poppler.patch
|
||||
### [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5
|
||||
Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch
|
||||
### [kdegraphics/kpovmodeler] CMAKE missing GLU_LIBRARIES
|
||||
Patch4: kdegraphics-3.5.13-kpovmodeler_missing_gl_ldflags.patch
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libmng-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libungif-devel
|
||||
BuildRequires: automake libtool
|
||||
BuildRequires: gphoto2-devel
|
||||
BuildRequires: sane-backends-devel
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: t1lib-devel
|
||||
BuildRequires: libdrm-devel
|
||||
|
||||
# kgamma
|
||||
BuildRequires: libXxf86vm-devel
|
||||
# kuickshow
|
||||
BuildRequires: imlib-devel
|
||||
#kfile-plugin
|
||||
BuildRequires: OpenEXR-devel
|
||||
# kpdf
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: poppler-devel
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
||||
BuildRequires: poppler-qt-devel
|
||||
%endif
|
||||
BuildRequires: libpaper-devel
|
||||
# ksvg
|
||||
BuildRequires: fontconfig-devel
|
||||
BuildRequires: fribidi-devel
|
||||
BuildRequires: lcms-devel
|
||||
BuildRequires: libart_lgpl-devel
|
||||
BuildRequires: libXmu-devel
|
||||
|
||||
# kpovmodeler
|
||||
BuildRequires: libGL-devel libGLU-devel libXi-devel
|
||||
|
||||
Requires: tqtinterface
|
||||
Requires: trinity-arts
|
||||
Requires: trinity-kdelibs
|
||||
Requires: ghostscript
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%if "%{_prefix}" == "/usr"
|
||||
Provides: kdegraphics3 = %{version}-%{release}
|
||||
Conflicts: kdegraphics
|
||||
%endif
|
||||
|
||||
%description
|
||||
Graphics applications for the K Desktop Environment, including
|
||||
* kamera (digital camera support)
|
||||
* kcoloredit (palette editor and color chooser)
|
||||
* kdvi (displays TeX .dvi files)
|
||||
* kghostview (displays postscript files)
|
||||
* kiconedit (icon editor)
|
||||
* kooka (scanner application)
|
||||
* kpdf (displays PDF files)
|
||||
* kruler (screen ruler and color measurement tool)
|
||||
* ksnapshot (screen capture utility)
|
||||
* kview (image viewer for GIF, JPEG, TIFF, etc.)
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Provides: kdegraphics3-devel = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Group: Development/Libraries
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
## FIXME: move more stuff to -extras
|
||||
%package extras
|
||||
Summary: Extra applications from %{name}
|
||||
Group: Applications/Multimedia
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
%description extras
|
||||
%{summary}, including:
|
||||
* kfax
|
||||
* kfaxview
|
||||
* kpovmodler
|
||||
|
||||
%package libs
|
||||
Summary: %{name} runtime libraries
|
||||
Group: System Environment/Libraries
|
||||
Requires: trinity-kdelibs >= %{version}
|
||||
# include to be paranoid, installing libs-only is still mostly untested -- Rex
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n kdegraphics
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 5
|
||||
%patch3 -p1
|
||||
%endif
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
|
||||
export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
|
||||
export LD_LIBRARY_PATH="%{_libdir}"
|
||||
|
||||
%__mkdir build
|
||||
cd build
|
||||
%cmake \
|
||||
-DWITH_T1LIB=ON \
|
||||
-DWITH_LIBPAPER=ON \
|
||||
-DWITH_TIFF=ON \
|
||||
-DWITH_OPENEXR=ON \
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 5
|
||||
-DWITH_PDF=OFF \
|
||||
%else
|
||||
-DWITH_PDF=ON \
|
||||
%endif
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
# locale's
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# rpmdocs
|
||||
for dir in k* ; do
|
||||
for file in AUTHORS ChangeLog README TODO ; do
|
||||
if test -s "$dir/$file" ; then
|
||||
install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
|
||||
echo "%doc rpmdocs/$dir/" >> %{name}.lang
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
# unpackaged files
|
||||
# omit kpovmodeler-devel files (for now) -- Rex
|
||||
rm -f %{buildroot}/libkpovmodeler.so
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%post extras
|
||||
/sbin/ldconfig ||:
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun extras
|
||||
/sbin/ldconfig ||:
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
|
||||
%files extras
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
# kfax
|
||||
%doc rpmdocs/kfax/
|
||||
%{_bindir}/kfax
|
||||
%{_datadir}/applications/kde/kfax.desktop
|
||||
%{_datadir}/apps/kfax/
|
||||
%{_datadir}/icons/hicolor/??x??/apps/kfax.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/kfax.svgz
|
||||
|
||||
# kfaxview
|
||||
%{_bindir}/kfaxview
|
||||
%{_libdir}/libkfaximage.so
|
||||
%{_libdir}/libkfaximage.la
|
||||
%{tde_libdir}/kfaxviewpart.*
|
||||
%{_datadir}/applications/kde/kfaxview.desktop
|
||||
%{_datadir}/apps/kfaxview/
|
||||
%{_datadir}/icons/hicolor/??x??/apps/kfaxview.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz
|
||||
%{_datadir}/services/kfaxmultipage.desktop
|
||||
%{_datadir}/services/kfaxmultipage_tiff.desktop
|
||||
|
||||
# kpovmodeler
|
||||
%doc rpmdocs/kpovmodeler/
|
||||
%doc %{tde_docdir}/HTML/en/kpovmodeler/
|
||||
%{_bindir}/kpovmodeler
|
||||
%{_libdir}/libkpovmodeler.so.*
|
||||
%{_libdir}/libkpovmodeler.la
|
||||
%{tde_libdir}/libkpovmodelerpart.*
|
||||
%{_datadir}/applications/kde/kpovmodeler.desktop
|
||||
%{_datadir}/apps/kpovmodeler/
|
||||
%{_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.*
|
||||
%{_datadir}/icons/hicolor/*/apps/kpovmodeler.*
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README
|
||||
%doc rpmdocs/*
|
||||
|
||||
# kfax
|
||||
%exclude %{_bindir}/kfax
|
||||
%exclude %{_datadir}/applications/kde/kfax.desktop
|
||||
%exclude %{_datadir}/apps/kfax/
|
||||
%exclude %{_datadir}/icons/hicolor/*/apps/kfax.*
|
||||
|
||||
# kfaxview
|
||||
%exclude %{_bindir}/kfaxview
|
||||
%exclude %{_libdir}/libkfaximage.so
|
||||
%exclude %{_libdir}/libkfaximage.la
|
||||
%exclude %{tde_libdir}/kfaxviewpart.*
|
||||
%exclude %{_datadir}/applications/kde/kfaxview.desktop
|
||||
%exclude %{_datadir}/apps/kfaxview/
|
||||
%exclude %{_datadir}/icons/hicolor/*/apps/kfaxview.*
|
||||
%exclude %{_datadir}/services/kfaxmultipage.desktop
|
||||
%exclude %{_datadir}/services/kfaxmultipage_tiff.desktop
|
||||
|
||||
# kpovmodeler
|
||||
%exclude %{tde_docdir}/HTML/en/kpovmodeler/
|
||||
%exclude %{_bindir}/kpovmodeler
|
||||
%exclude %{_libdir}/libkpovmodeler.*
|
||||
%exclude %{tde_libdir}/libkpovmodelerpart.*
|
||||
%exclude %{_datadir}/applications/kde/kpovmodeler.desktop
|
||||
%exclude %{_datadir}/apps/kpovmodeler/
|
||||
%exclude %{_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.*
|
||||
%exclude %{_datadir}/icons/hicolor/*/apps/kpovmodeler.*
|
||||
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/kde/*.desktop
|
||||
%{_datadir}/applnk/Graphics/*kruler.desktop
|
||||
%{_datadir}/apps/*
|
||||
%{_datadir}/icons/crystalsvg/*/*/*
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/config*/*
|
||||
%{_datadir}/service*/*
|
||||
%{_datadir}/mimelnk/*/*
|
||||
%{_libdir}/libkdeinit_*.so
|
||||
%{tde_libdir}/*
|
||||
%doc %lang(en) %{tde_docdir}/HTML/en/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%exclude %{_libdir}/libkfaximage.la
|
||||
%exclude %{_libdir}/libkpovmodeler.la
|
||||
%exclude %{_libdir}/libkpovmodeler.so.*
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/lib*.la
|
||||
# Why ???
|
||||
%{_libdir}/libdjvu.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
||||
%{tde_includedir}/*
|
||||
%endif
|
||||
%{_includedir}/dom/*
|
||||
%{_includedir}/ksvg/*
|
||||
%{_includedir}/kviewshell/*
|
||||
%{_includedir}/libtext2path-0.1/*
|
||||
%{_includedir}/kmultipageInterface.h
|
||||
%{_datadir}/cmake/*.cmake
|
||||
%{_libdir}/lib*.so
|
||||
#exclude %{_libdir}/libkpovmodeler.so
|
||||
%exclude %{_libdir}/libkfaximage.so
|
||||
%exclude %{_libdir}/libkdeinit_*.so
|
||||
%exclude %{_libdir}/libdjvu.so
|
||||
|
||||
%changelog
|
||||
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
|
||||
- Fix kpovmodeler compilation on RHEL 5 (patch4)
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
- RHEL 5 build has some features disabled (see patches)
|
||||
|
||||
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
@ -0,0 +1,264 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 0
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific variables
|
||||
BuildRequires: cmake >= 2.8
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-kdelibs
|
||||
Version: %{version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
License: GPL
|
||||
Summary: Trinity KDE Libraries
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Source0: kdelibs-%{version}.tar.gz
|
||||
Prefix: %{_prefix}
|
||||
|
||||
BuildRequires: libtool
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-arts-devel
|
||||
BuildRequires: qt3-devel
|
||||
BuildRequires: avahi-devel avahi-qt3-devel
|
||||
#BuildRequires: lua-devel
|
||||
BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel
|
||||
BuildRequires: libutempter-devel
|
||||
BuildRequires: bzip2-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
Requires: tqtinterface
|
||||
Requires: trinity-arts
|
||||
Requires: qt3
|
||||
Requires: avahi avahi-qt3
|
||||
|
||||
%if "%{?_prefix}" == "/usr"
|
||||
Obsoletes: kdelibs3
|
||||
%endif
|
||||
|
||||
%description
|
||||
Libraries for the Trinity K Desktop Environment
|
||||
|
||||
%package devel
|
||||
Requires: %{name}
|
||||
Summary: %{name} - Development files
|
||||
%if "%{?_prefix}" == "/usr"
|
||||
Obsoletes: kdelibs3-devel
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
Development files for %{name}
|
||||
|
||||
%package apidocs
|
||||
Requires: %{name}
|
||||
Summary: %{name} - API documentation
|
||||
|
||||
%description apidocs
|
||||
This package includes the KDE 3 API documentation in HTML
|
||||
format for easy browsing
|
||||
|
||||
%prep
|
||||
%setup -q -n kdelibs
|
||||
|
||||
# Gets the cmake modules in current build directory
|
||||
%__mkdir_p cmake/modules
|
||||
%__cp -f %{_datadir}/cmake/*.* cmake/modules
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LD_LIBRARY_PATH="%{_libdir}"
|
||||
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
|
||||
export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
|
||||
|
||||
%__mkdir build
|
||||
cd build
|
||||
%cmake \
|
||||
-DWITH_ARTS=ON \
|
||||
-DWITH_ALSA=ON \
|
||||
-DWITH_LIBART=ON \
|
||||
-DWITH_LIBIDN=OFF \
|
||||
-DWITH_SSL=ON \
|
||||
-DWITH_CUPS=ON \
|
||||
-DWITH_LUA=OFF \
|
||||
-DWITH_TIFF=ON \
|
||||
-DWITH_JASPER=ON \
|
||||
-DWITH_OPENEXR=ON \
|
||||
-DWITH_UTEMPTER=ON \
|
||||
-DWITH_AVAHI=ON \
|
||||
-DWITH_ASPELL=OFF \
|
||||
-DWITH_HSPELL=OFF \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
%__rm -rf %{?buildroot}
|
||||
%__mkdir_p %{?buildroot}
|
||||
%make_install -C build
|
||||
|
||||
%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%{_libdir}
|
||||
%endif
|
||||
%{_libdir}/trinity
|
||||
EOF
|
||||
|
||||
%clean
|
||||
%__rm -rf %{?buildroot}
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%doc COPYING.LIB
|
||||
%{_bindir}/artsmessage
|
||||
%{_bindir}/cupsdconf
|
||||
%{_bindir}/cupsdoprint
|
||||
%{_bindir}/dcop
|
||||
%{_bindir}/dcopclient
|
||||
%{_bindir}/dcopfind
|
||||
%{_bindir}/dcopobject
|
||||
%{_bindir}/dcopquit
|
||||
%{_bindir}/dcopref
|
||||
%{_bindir}/dcopserver
|
||||
%{_bindir}/dcopserver_shutdown
|
||||
%{_bindir}/dcopstart
|
||||
%{_bindir}/filesharelist
|
||||
%{_bindir}/fileshareset
|
||||
%{_bindir}/imagetops
|
||||
%{_bindir}/kab2kabc
|
||||
%{_bindir}/kaddprinterwizard
|
||||
%{_bindir}/kbuildsycoca
|
||||
%{_bindir}/kcmshell
|
||||
%{_bindir}/kconf_update
|
||||
%{_bindir}/kcookiejar
|
||||
%{_bindir}/kde-config
|
||||
%{_bindir}/kde-menu
|
||||
%{_bindir}/kded
|
||||
%{_bindir}/kdeinit
|
||||
%{_bindir}/kdeinit_shutdown
|
||||
%{_bindir}/kdeinit_wrapper
|
||||
%{_bindir}/kdesu_stub
|
||||
%{_bindir}/kdontchangethehostname
|
||||
%{_bindir}/kdostartupconfig
|
||||
%{_bindir}/kfile
|
||||
%{_bindir}/kfmexec
|
||||
%{_bindir}/khotnewstuff
|
||||
%{_bindir}/kinstalltheme
|
||||
%{_bindir}/kio_http_cache_cleaner
|
||||
%{_bindir}/kio_uiserver
|
||||
%{_bindir}/kioexec
|
||||
%{_bindir}/kioslave
|
||||
%{_bindir}/klauncher
|
||||
%{_bindir}/kmailservice
|
||||
%{_bindir}/kmimelist
|
||||
%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper
|
||||
%{_bindir}/ksendbugmail
|
||||
%{_bindir}/kshell
|
||||
%{_bindir}/kstartupconfig
|
||||
%{_bindir}/ktelnetservice
|
||||
%{_bindir}/ktradertest
|
||||
%{_bindir}/kwrapper
|
||||
%{_bindir}/lnusertemp
|
||||
%{_bindir}/make_driver_db_cups
|
||||
%{_bindir}/make_driver_db_lpr
|
||||
%{_bindir}/meinproc
|
||||
%{_bindir}/networkstatustestservice
|
||||
%{_bindir}/start_kdeinit
|
||||
%{_bindir}/start_kdeinit_wrapper
|
||||
%attr(4755,root,root) %{_bindir}/kgrantpty
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/libkdeinit_*.so
|
||||
%{_libdir}/lib*.la
|
||||
%{tde_libdir}/
|
||||
%{_datadir}/applications/kde/*.desktop
|
||||
%{_datadir}/autostart/kab2kabc.desktop
|
||||
%{_datadir}/applnk/kio_iso.desktop
|
||||
%{_datadir}/apps/*
|
||||
%exclude %{_datadir}/apps/ksgmltools2/
|
||||
%config(noreplace) %{_datadir}/config/*
|
||||
%{_datadir}/emoticons/*
|
||||
%{_datadir}/icons/default.kde
|
||||
%{_datadir}/mimelnk/magic
|
||||
%{_datadir}/mimelnk/*/*.desktop
|
||||
%{_datadir}/services/*
|
||||
%{_datadir}/servicetypes/*
|
||||
%{_datadir}/icons/crystalsvg/
|
||||
%{tde_docdir}/HTML/en/kspell
|
||||
# remove conflicts with kdelibs-4
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%{_bindir}/checkXML
|
||||
%{_bindir}/ksvgtopng
|
||||
%{_bindir}/kunittestmodrunner
|
||||
%{_bindir}/preparetips
|
||||
%{_datadir}/icons/hicolor/index.theme
|
||||
%{_datadir}/locale/all_languages
|
||||
%{tde_docdir}/HTML/en/common/*
|
||||
%else
|
||||
%exclude %{_bindir}/checkXML
|
||||
%exclude %{_bindir}/ksvgtopng
|
||||
%exclude %{_bindir}/kunittestmodrunner
|
||||
%exclude %{_bindir}/preparetips
|
||||
%exclude %{_datadir}/config/colors
|
||||
%exclude %{_datadir}/config/kdebug.areas
|
||||
%exclude %{_datadir}/config/kdebugrc
|
||||
%exclude %{_datadir}/config/ksslcalist
|
||||
%exclude %{_datadir}/config/ui/ui_standards.rc
|
||||
%exclude %{_datadir}/icons/hicolor/index.theme
|
||||
%exclude %{_datadir}/locale/all_languages
|
||||
%exclude %{tde_docdir}/HTML/en/common/*
|
||||
%endif
|
||||
%{_sysconfdir}/ld.so.conf.d/trinity.conf
|
||||
|
||||
# Provided by 'redhat-menus' package
|
||||
%exclude %{_sysconfdir}/xdg/menus/applications.menu
|
||||
|
||||
# New in TDE 3.5.13
|
||||
%{_bindir}/kdetcompmgr
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/dcopidl*
|
||||
%{_bindir}/kconfig_compiler
|
||||
%{_bindir}/makekdewidgets
|
||||
%{_datadir}/apps/ksgmltools2/
|
||||
%{_includedir}/
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/lib*.a
|
||||
%exclude %{_libdir}/libkdeinit_*.so
|
||||
|
||||
# New in TDE 3.5.13
|
||||
%{_datadir}/cmake/kdelibs.cmake
|
||||
|
||||
%files apidocs
|
||||
%defattr(-,root,root,-)
|
||||
%{_docdir}/%{name}-%{version}/
|
||||
#%{tde_docdir}/HTML/en/kdelibs*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre.svn20110902-0.el6
|
||||
- Import to GIT
|
||||
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d)
|
@ -0,0 +1,26 @@
|
||||
--- kdenetwork-3.2.3/kppp/connect.cpp.orig 2004-07-01 16:03:52.861908057 +0200
|
||||
+++ kdenetwork-3.2.3/kppp/connect.cpp 2004-07-01 16:33:35.943692521 +0200
|
||||
@@ -1399,9 +1399,13 @@
|
||||
|
||||
void addpeerdns() {
|
||||
int fd, fd2;
|
||||
+ QString p = "/var/run/ppp/resolv.conf";
|
||||
+
|
||||
+ if (!QFile::exists(p))
|
||||
+ p = "/etc/ppp/resolv.conf";
|
||||
|
||||
if((fd = Requester::rq->openResolv(O_WRONLY|O_APPEND)) >= 0) {
|
||||
- if((fd2 = open("/etc/ppp/resolv.conf", O_RDONLY)) >= 0) {
|
||||
+ if((fd2 = open(p.latin1(), O_RDONLY)) >= 0) {
|
||||
char c;
|
||||
int i = 0;
|
||||
while(i++ < 100 && read(fd2, &c, 1) == 1) {
|
||||
@@ -1412,7 +1416,7 @@
|
||||
}
|
||||
close(fd2);
|
||||
} else
|
||||
- fprintf(stderr, "failed to read from /etc/ppp/resolv.conf\n");
|
||||
+ fprintf(stderr, "failed to read from %s\n", p.latin1());
|
||||
close(fd);
|
||||
}
|
||||
add_domain(gpppdata.domain());
|
@ -0,0 +1,9 @@
|
||||
diff -up kdenetwork-3.5.8/kppp/Kppp.desktop.kppp kdenetwork-3.5.8/kppp/Kppp.desktop
|
||||
--- kdenetwork-3.5.8/kppp/Kppp.desktop.kppp 2007-10-08 04:49:13.000000000 -0500
|
||||
+++ kdenetwork-3.5.8/kppp/Kppp.desktop 2007-10-13 16:03:03.000000000 -0500
|
||||
@@ -66,5 +66,4 @@ Path=
|
||||
Type=Application
|
||||
Terminal=false
|
||||
X-KDE-StartupNotify=true
|
||||
-X-DCOP-ServiceType=Multi
|
||||
Categories=Qt;KDE;Network;Dialup;
|
@ -0,0 +1,33 @@
|
||||
diff -ur kdenetwork-orig/krfb/krfb_httpd/krfb_httpd kdenetwork-3.5.9/krfb/krfb_httpd/krfb_httpd
|
||||
--- kdenetwork-orig/krfb/krfb_httpd/krfb_httpd 2007-05-14 09:40:05.000000000 +0200
|
||||
+++ kdenetwork-3.5.9/krfb/krfb_httpd/krfb_httpd 2008-02-26 12:43:21.000000000 +0100
|
||||
@@ -6,17 +6,14 @@
|
||||
fi
|
||||
|
||||
read request url httptype || exit 0
|
||||
-url="${url/
|
||||
-/}"
|
||||
-httptype="${httptype/
|
||||
-/}"
|
||||
+url="${url/
/}"
|
||||
+httptype="${httptype/
/}"
|
||||
|
||||
if [ "x$httptype" != "x" ]; then
|
||||
line="x"
|
||||
while [ -n "$line" ]; do
|
||||
read line || exit 0
|
||||
- line="${line/
|
||||
-/}"
|
||||
+ line="${line/
/}"
|
||||
done
|
||||
fi
|
||||
# echo "url = $url, request = $request" >> /tmp/httpd.log
|
||||
@@ -38,7 +35,7 @@
|
||||
content="
|
||||
<HTML><HEAD><TITLE>$LOGNAME's desktop</TITLE></HEAD>
|
||||
<BODY>
|
||||
-<APPLET CODE=VncViewer.class ARCHIVE=VncViewer.jar WIDTH=$width HEIGHT=$height>
|
||||
+<APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar WIDTH=$width HEIGHT=$height>
|
||||
<param name=PORT value=$port>
|
||||
</APPLET>
|
||||
</BODY></HTML>"
|
@ -0,0 +1,57 @@
|
||||
*** kdenetwork/kopete/protocols/testbed/testbedaccount.h.ORI 2011-08-24 00:30:58.403965000 +0200
|
||||
--- kdenetwork/kopete/protocols/testbed/testbedaccount.h 2011-08-24 00:31:29.706965000 +0200
|
||||
***************
|
||||
*** 59,65 ****
|
||||
/**
|
||||
* 'Connect' to the testbed server. Only sets myself() online.
|
||||
*/
|
||||
! virtual void connect( const Kopete::OnlineStatus& initialStatus = Kopete::OnlineStatus::OnlineStatus() );
|
||||
/**
|
||||
* Disconnect from the server. Only sets myself() offline.
|
||||
*/
|
||||
--- 59,65 ----
|
||||
/**
|
||||
* 'Connect' to the testbed server. Only sets myself() online.
|
||||
*/
|
||||
! virtual void connect( const Kopete::OnlineStatus& initialStatus = Kopete::OnlineStatus() );
|
||||
/**
|
||||
* Disconnect from the server. Only sets myself() offline.
|
||||
*/
|
||||
*** kdenetwork/kopete/kopete/contactlist/kopetegroupviewitem.cpp.ORI 2011-08-24 00:28:22.080965001 +0200
|
||||
--- kdenetwork/kopete/kopete/contactlist/kopetegroupviewitem.cpp 2011-08-24 00:28:36.149965002 +0200
|
||||
***************
|
||||
*** 175,181 ****
|
||||
// the sorting itself is rather slow. Therefore we call delayedSort, which tries
|
||||
// to group multiple sort requests into one.
|
||||
using namespace Kopete::UI::ListView;
|
||||
! if ( ListView::ListView *lv = dynamic_cast<ListView::ListView *>( listView() ) )
|
||||
lv->delayedSort();
|
||||
else
|
||||
listView()->sort();
|
||||
--- 175,181 ----
|
||||
// the sorting itself is rather slow. Therefore we call delayedSort, which tries
|
||||
// to group multiple sort requests into one.
|
||||
using namespace Kopete::UI::ListView;
|
||||
! if ( ListView *lv = dynamic_cast<ListView *>( listView() ) )
|
||||
lv->delayedSort();
|
||||
else
|
||||
listView()->sort();
|
||||
*** kdenetwork/kopete/kopete/chatwindow/krichtexteditpart.cpp.ORI 2011-08-24 00:29:00.953965001 +0200
|
||||
--- kdenetwork/kopete/kopete/chatwindow/krichtexteditpart.cpp 2011-08-24 00:29:21.080965001 +0200
|
||||
***************
|
||||
*** 38,44 ****
|
||||
KopeteRichTextEditPart::KopeteRichTextEditPart( TQWidget *wparent, const char *wname, TQObject*, const char*, const TQStringList& )
|
||||
: KParts::ReadOnlyPart( wparent, wname ? wname : "rich_text_part" )
|
||||
{
|
||||
! KopeteRichTextEditPart::KopeteRichTextEditPart( wparent, wname, false );
|
||||
}
|
||||
|
||||
KopeteRichTextEditPart::KopeteRichTextEditPart( TQWidget *parent, const char *name, int capabilities )
|
||||
--- 38,44 ----
|
||||
KopeteRichTextEditPart::KopeteRichTextEditPart( TQWidget *wparent, const char *wname, TQObject*, const char*, const TQStringList& )
|
||||
: KParts::ReadOnlyPart( wparent, wname ? wname : "rich_text_part" )
|
||||
{
|
||||
! KopeteRichTextEditPart( wparent, wname, false );
|
||||
}
|
||||
|
||||
KopeteRichTextEditPart::KopeteRichTextEditPart( TQWidget *parent, const char *name, int capabilities )
|
@ -0,0 +1,4 @@
|
||||
#%PAM-1.0
|
||||
auth include config-util
|
||||
account include config-util
|
||||
session include config-util
|
@ -0,0 +1,12 @@
|
||||
# default: off
|
||||
# description: KDE version of the talk server (accepting talk requests
|
||||
# for chatting with users on other systems).
|
||||
service ntalk
|
||||
{
|
||||
disable = yes
|
||||
socket_type = dgram
|
||||
wait = yes
|
||||
user = root
|
||||
group = tty
|
||||
server = /usr/bin/ktalkd
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Startup script for LISa
|
||||
#
|
||||
# chkconfig: - 92 36
|
||||
# description: LISa is a small daemon which is intended to run on \
|
||||
# end user systems. It provides something like a \
|
||||
# "network neighbourhood", but only relying on the TCP/IP \
|
||||
# protocol stack, no smb or whatever.\
|
||||
# The information about the hosts in your "neighbourhood" \
|
||||
# is provided via TCP port 7741.
|
||||
# processname: lisa
|
||||
# config: /etc/lisarc
|
||||
|
||||
# Source function library.
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
# Source function library.
|
||||
if [ -f /etc/init.d/functions ] ; then
|
||||
. /etc/init.d/functions
|
||||
elif [ -f /etc/rc.d/init.d/functions ] ; then
|
||||
. /etc/rc.d/init.d/functions
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Some definitions.
|
||||
lisa=/usr/bin/lisa
|
||||
prog=LISa
|
||||
OPTIONS="--quiet --config=/etc/lisarc"
|
||||
RETVAL=0
|
||||
|
||||
#
|
||||
start() {
|
||||
echo -n $"Starting $prog: "
|
||||
daemon $lisa $OPTIONS
|
||||
RETVAL=$?
|
||||
echo
|
||||
if [ $RETVAL = 0 ] ; then
|
||||
touch /var/lock/subsys/lisa
|
||||
else
|
||||
RETVAL=1
|
||||
fi
|
||||
return $RETVAL
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo -n $"Stopping $prog: "
|
||||
killproc $lisa
|
||||
RETVAL=$?
|
||||
echo
|
||||
if [ $RETVAL = 0 ] ; then
|
||||
rm -f /var/lock/subsys/lisa
|
||||
else
|
||||
RETVAL=1
|
||||
fi
|
||||
return $RETVAL
|
||||
}
|
||||
|
||||
reload() {
|
||||
echo -n $"Reloading $prog: "
|
||||
killproc $lisa -HUP
|
||||
RETVAL=$?
|
||||
echo
|
||||
}
|
||||
|
||||
# See how we were called.
|
||||
case "$1" in
|
||||
start)
|
||||
start
|
||||
;;
|
||||
stop)
|
||||
stop
|
||||
;;
|
||||
status)
|
||||
status $lisa
|
||||
RETVAL=$?
|
||||
;;
|
||||
restart)
|
||||
stop
|
||||
start
|
||||
;;
|
||||
condrestart)
|
||||
[ -f /var/lock/subsys/lisa ] && restart
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $prog {start|stop|restart|status|condrestart}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit $RETVAL
|
@ -0,0 +1,10 @@
|
||||
PingAddresses = 127.0.0.1/255.255.255.0;
|
||||
PingNames =
|
||||
AllowedAddresses = 127.0.0.1/255.255.255.0;
|
||||
BroadcastNetwork = 127.0.0.1/255.255.255.0;
|
||||
SearchUsingNmblookup = 0
|
||||
FirstWait = 30
|
||||
SecondWait = -1
|
||||
UpdatePeriod = 150
|
||||
DeliverUnnamedHosts = 1
|
||||
MaxPingsAtOnce = 256
|
@ -0,0 +1,42 @@
|
||||
Index: kdenetwork/kopete/libkopete/avdevice/configure.in.in
|
||||
===================================================================
|
||||
--- kdenetwork/kopete/libkopete/avdevice/configure.in.in (revision 0)
|
||||
+++ kdenetwork/kopete/libkopete/avdevice/configure.in.in (revision 1243951)
|
||||
@@ -0,0 +1,21 @@
|
||||
+# -- Check for libv4l1-videodev.h presence --------------------
|
||||
+
|
||||
+AC_MSG_CHECKING([for libv4l1-videodev.h])
|
||||
+
|
||||
+AC_TRY_COMPILE([
|
||||
+#include <libv4l1-videodev.h>
|
||||
+],
|
||||
+[
|
||||
+],
|
||||
+ ac_have_libv4l1_videodev_h=yes
|
||||
+,
|
||||
+ ac_have_libv4l1_videodev_h=no
|
||||
+)
|
||||
+
|
||||
+if test $ac_have_libv4l1_videodev_h = yes; then
|
||||
+ AC_DEFINE(HAVE_LIBV4L1_VIDEODEV_H, 1, [Define if you have libv4l1-videodev.h installed])
|
||||
+fi
|
||||
+
|
||||
+AC_MSG_RESULT($ac_have_libv4l1_videodev_h)
|
||||
+
|
||||
+# -- End libv4l1-videodev.h ----------------------------------------------
|
||||
Index: kdenetwork/kopete/libkopete/avdevice/videodevice.h
|
||||
===================================================================
|
||||
--- kdenetwork/kopete/libkopete/avdevice/videodevice.h (revision 1243950)
|
||||
+++ kdenetwork/kopete/libkopete/avdevice/videodevice.h (revision 1243951)
|
||||
@@ -52,7 +52,11 @@
|
||||
|
||||
#include <linux/fs.h>
|
||||
#include <linux/kernel.h>
|
||||
+#if defined(HAVE_LIBV4L1_VIDEODEV_H)
|
||||
+#include <libv4l1-videodev.h>
|
||||
+#else
|
||||
#include <linux/videodev.h>
|
||||
+#endif
|
||||
#define VIDEO_MODE_PAL_Nc 3
|
||||
#define VIDEO_MODE_PAL_M 4
|
||||
#define VIDEO_MODE_PAL_N 5
|
@ -0,0 +1,473 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: cmake >= 2.8
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
# Fedora review: http://bugzilla.redhat.com/195486
|
||||
|
||||
## Conditional build:
|
||||
# disabled, for now, doesn't build -- Rex
|
||||
#define _enable_jingle --enable-jingle
|
||||
#define _enable_slp --enable-slp
|
||||
# RHEL6: xmms is outdated !
|
||||
#define _with_xmms --with-xmms
|
||||
%ifnarch s390 s390x
|
||||
%define _with_wifi --with-wifi
|
||||
%endif
|
||||
|
||||
%define console_helper 1
|
||||
|
||||
Name: trinity-kdenetwork
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
Summary: K Desktop Environment - Network Applications
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
License: GPLv2
|
||||
Group: Applications/Internet
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Provides: kdenetwork3 = %{version}-%{release}
|
||||
|
||||
Source0: kdenetwork-%{version}.tar.gz
|
||||
Source1: kppp.pamd
|
||||
Source2: ktalk
|
||||
Source4: lisarc
|
||||
Source5: lisa.redhat
|
||||
|
||||
# RedHat/Fedora legacy patches
|
||||
Patch3: kdenetwork-3.5.8-kppp.patch
|
||||
Patch4: kdenetwork-3.2.3-resolv.patch
|
||||
# include more/proper ppp headers
|
||||
Patch6: kdenetwork-3.5.9-krfb_httpd.patch
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: openssl-devel
|
||||
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
|
||||
BuildRequires: libXmu-devel libXScrnSaver-devel libXtst-devel libXxf86vm-devel
|
||||
%endif
|
||||
%if "%{?_with_wifi:1}" == "1"
|
||||
%if 0%{?fedora} > 5 || 0%{?rhel} > 4
|
||||
BuildRequires: wireless-tools-devel
|
||||
%else
|
||||
BuildRequires: wireless-tools
|
||||
%endif
|
||||
%endif
|
||||
%{?_enable_slp:BuildRequires: openslp-devel}
|
||||
## kopete:
|
||||
BuildRequires: libxml2-devel libxslt-devel
|
||||
%ifarch %{ix86}
|
||||
# BR: %{_includedir}/valgrind/valgrind.h
|
||||
BuildRequires: valgrind
|
||||
%endif
|
||||
#jabber
|
||||
BuildRequires: libidn-devel
|
||||
#jabber/jingle
|
||||
%{?_enable_jingle:BuildRequires: expat-devel glib2-devel ortp-devel speex-devel}
|
||||
# jabber/ssl
|
||||
#{?fedora:Requires(hint): qca-tls}
|
||||
# sametime
|
||||
BuildRequires: meanwhile-devel
|
||||
%{?_with_xmms:BuildRequires: xmms-devel}
|
||||
Requires: jasper
|
||||
## kppp
|
||||
Requires: ppp
|
||||
## krdc
|
||||
Requires: rdesktop
|
||||
## lisa
|
||||
Requires(preun): chkconfig
|
||||
Requires(post): chkconfig
|
||||
#Requires(hint): samba-client
|
||||
BuildRequires: avahi-qt3-devel
|
||||
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
||||
BuildRequires: libv4l-devel
|
||||
%endif
|
||||
|
||||
# The following libraries are not available on RHEL
|
||||
%if 0%{?fedora} >= 15
|
||||
BuildRequires: libgadu-devel
|
||||
BuildRequires: openslp-devel
|
||||
BuildRequires: libjingle-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?console_helper}
|
||||
Requires: usermode-gtk
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Networking applications, including:
|
||||
* kget: downloader manager
|
||||
* kio_lan: lan browsing kio slave
|
||||
* knewsticker: RDF newsticker applet
|
||||
* kopete: chat client
|
||||
* kppp: dialer and front end for pppd
|
||||
* krdc: a client for Desktop Sharing and other VNC servers
|
||||
* krfb: Desktop Sharing server, allow others to access your desktop via VNC
|
||||
* lisa: lan information server
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Provides: kdenetwork3-devel = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: trinity-kdelibs-devel
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package extras
|
||||
Summary: Extras packages for %{name}
|
||||
Group: Applications/Internet
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
%if "%{?_with_xmms:1}" == "1"
|
||||
Obsoletes: %{name}-nowlistening < %{version}-%{release}
|
||||
Provides: %{name}-nowlistening = %{version}-%{release}
|
||||
%endif
|
||||
%description extras
|
||||
More Networking applications for the K Desktop Environment:
|
||||
* ksirc
|
||||
* kdict
|
||||
* ktalkd
|
||||
* kpf
|
||||
* kwifimanager
|
||||
%if "%{?_with_xmms:1}" == "1"
|
||||
* nowlistening (xmms) plugin for Kopete.
|
||||
%endif
|
||||
|
||||
%package libs
|
||||
Summary: %{name} runtime libraries
|
||||
Group: System Environment/Libraries
|
||||
Requires: trinity-kdelibs
|
||||
# helps multilib upgrades
|
||||
Obsoletes: %{name} < %{version}-%{release}
|
||||
# include to be paranoid, installing libs-only is still mostly untested -- Rex
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n kdenetwork
|
||||
|
||||
%if %{console_helper}
|
||||
%patch3 -p1 -b .kppp
|
||||
%endif
|
||||
%patch4 -p1 -b .resolv
|
||||
%patch6 -p1 -b .krfb_httpd
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
|
||||
export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
|
||||
export LD_LIBRARY_PATH="%{_libdir}"
|
||||
|
||||
%__mkdir build
|
||||
cd build
|
||||
%cmake \
|
||||
-DWITH_JINGLE=ON \
|
||||
-DWITH_SPEEX=ON \
|
||||
-DWITH_WEBCAM=ON \
|
||||
-DWITH_GSM=ON \
|
||||
-DWITH_ARTS=ON \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
# Do not use '%{?_smp_mflags}' because it will fail to build !
|
||||
%__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
|
||||
## File lists
|
||||
# locale's
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# Show only in KDE, FIXME, need to re-evaluate these -- Rex
|
||||
for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \
|
||||
kwifimanager kget knewsticker ksirc kdict ; do
|
||||
if [ -f %{buildroot}%{_datadir}/applications/kde/$i.desktop ] ; then
|
||||
echo "OnlyShowIn=KDE;" >> %{buildroot}%{_datadir}/applications/kde/$i.desktop
|
||||
fi
|
||||
done
|
||||
|
||||
%if %console_helper
|
||||
# Run kppp through consolehelper
|
||||
install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
mv %{buildroot}%{_bindir}/kppp %{buildroot}%{_sbindir}
|
||||
ln -s consolehelper %{buildroot}%{_bindir}/kppp
|
||||
mkdir -p %{buildroot}/etc/security/console.apps
|
||||
cat > %{buildroot}/etc/security/console.apps/kppp3 <<EOF
|
||||
USER=root
|
||||
PROGRAM=%{_sbindir}/kppp
|
||||
SESSION=true
|
||||
EOF
|
||||
%endif
|
||||
|
||||
# ktalk
|
||||
install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk
|
||||
|
||||
# Add lisa startup script
|
||||
install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/lisarc
|
||||
install -p -m 0755 -D %{SOURCE5} %{buildroot}%{_initrddir}/lisa
|
||||
|
||||
%post
|
||||
/sbin/chkconfig --add lisa ||:
|
||||
for f in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
for f in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/sbin/chkconfig --del lisa ||:
|
||||
/sbin/service lisa stop > /dev/null 2>&1 ||:
|
||||
fi
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%post extras
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
|
||||
%postun extras
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files extras
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
# ksirc
|
||||
%{tde_docdir}/HTML/??/ksirc/
|
||||
%{_bindir}/ksirc
|
||||
%{_libdir}/libkdeinit_ksirc.*
|
||||
%{tde_libdir}/ksirc.*
|
||||
%{_datadir}/applications/kde/ksirc.desktop
|
||||
%{_datadir}/apps/ksirc/
|
||||
%config(noreplace) %{_datadir}/config/ksircrc
|
||||
%{_datadir}/icons/hicolor/*/apps/ksirc.*
|
||||
|
||||
# kdict
|
||||
%{tde_docdir}/HTML/en/kdict
|
||||
%{_bindir}/kdict
|
||||
%{tde_libdir}/kdict*
|
||||
%{_libdir}/libkdeinit_kdict.*
|
||||
%{_datadir}/applications/kde/kdict.desktop
|
||||
%{_datadir}/apps/kdict
|
||||
%{_datadir}/apps/kicker/applets/kdictapplet.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/kdict.*
|
||||
|
||||
# ktalk
|
||||
%{tde_docdir}/HTML/en/ktalkd
|
||||
%{_bindir}/ktalkd*
|
||||
%{tde_libdir}/kcm_ktalkd.*
|
||||
%{_datadir}/applications/kde/kcmktalkd.desktop
|
||||
%config(noreplace) %{_datadir}/config/ktalkdrc
|
||||
%{_datadir}/icons/crystalsvg/*/apps/ktalkd.*
|
||||
%{_datadir}/sounds/ktalkd.wav
|
||||
%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk
|
||||
|
||||
# kpf
|
||||
%{tde_docdir}/HTML/en/kpf
|
||||
%{tde_libdir}/kpf*
|
||||
%{_datadir}/apps/kicker/applets/kpfapplet.desktop
|
||||
%{_datadir}/icons/crystalsvg/*/apps/kpf.*
|
||||
%{_datadir}/services/kpfpropertiesdialogplugin.desktop
|
||||
|
||||
%if "%{?_with_wifi:1}" == "1"
|
||||
# kwifimanager
|
||||
%doc %{tde_docdir}/HTML/en/kwifimanager
|
||||
%{_bindir}/kwifimanager
|
||||
%{tde_libdir}/kcm_wifi.*
|
||||
%{_datadir}/applications/kde/kcmwifi.desktop
|
||||
%{_datadir}/applications/kde/kwifimanager.desktop
|
||||
%{_datadir}/apps/kwifimanager
|
||||
%{_datadir}/icons/hicolor/*/apps/kwifimanager.png
|
||||
%endif
|
||||
|
||||
%if "%{?_with_xmms:1}" == "1"
|
||||
#files nowlistening
|
||||
#defattr(-,root,root,-)
|
||||
%{_datadir}/apps/kopete/*nowlisteningchatui*
|
||||
%{_datadir}/apps/kopete/*nowlisteningui*
|
||||
%{_datadir}/services/kconfiguredialog/*nowlistening*
|
||||
%{_datadir}/services/*nowlistening*
|
||||
%{tde_libdir}/*nowlistening*
|
||||
%endif
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
# ksirc
|
||||
%exclude %{_bindir}/ksirc
|
||||
%exclude %{_libdir}/libkdeinit_ksirc.*
|
||||
%exclude %{tde_libdir}/ksirc.*
|
||||
%exclude %{_datadir}/applications/kde/ksirc.desktop
|
||||
%exclude %{_datadir}/apps/ksirc/
|
||||
%exclude %{_datadir}/config/ksircrc
|
||||
%exclude %{tde_docdir}/HTML/??/ksirc/
|
||||
%exclude %{_datadir}/icons/hicolor/??x??/apps/ksirc.png
|
||||
|
||||
# kdict
|
||||
%exclude %{tde_docdir}/HTML/en/kdict
|
||||
%exclude %{_bindir}/kdict
|
||||
%exclude %{tde_libdir}/kdict*
|
||||
%exclude %{_libdir}/libkdeinit_kdict.*
|
||||
%exclude %{_datadir}/applications/kde/kdict.desktop
|
||||
%exclude %{_datadir}/apps/kdict
|
||||
%exclude %{_datadir}/apps/kicker/applets/kdictapplet.desktop
|
||||
%exclude %{_datadir}/icons/hicolor/128x128/apps/kdict.png
|
||||
%exclude %{_datadir}/icons/hicolor/??x??/apps/kdict.png
|
||||
%exclude %{_datadir}/icons/hicolor/scalable/apps/kdict.svgz
|
||||
|
||||
# ktalk
|
||||
%exclude %{tde_docdir}/HTML/en/ktalkd
|
||||
%exclude %{_sysconfdir}/xinetd.d/ktalk
|
||||
%exclude %{_bindir}/ktalkd*
|
||||
%exclude %{tde_libdir}/kcm_ktalkd.*
|
||||
%exclude %{_datadir}/applications/kde/kcmktalkd.desktop
|
||||
%exclude %{_datadir}/config/ktalkdrc
|
||||
%exclude %{_datadir}/icons/crystalsvg/128x128/apps/ktalkd.png
|
||||
%exclude %{_datadir}/icons/crystalsvg/??x??/apps/ktalkd.png
|
||||
%exclude %{_datadir}/sounds/ktalkd.wav
|
||||
|
||||
# kpf
|
||||
%exclude %{tde_libdir}/kpf*
|
||||
%exclude %{_datadir}/apps/kicker/applets/kpfapplet.desktop
|
||||
%exclude %{tde_docdir}/HTML/en/kpf
|
||||
%exclude %{_datadir}/icons/crystalsvg/??x??/apps/kpf.png
|
||||
%exclude %{_datadir}/services/kpfpropertiesdialogplugin.desktop
|
||||
|
||||
%ifnarch s390 s390x
|
||||
# kwifimanager
|
||||
%exclude %{_bindir}/kwifimanager
|
||||
%exclude %{tde_libdir}/kcm_wifi.*
|
||||
%exclude %{_datadir}/applications/kde/kcmwifi.desktop
|
||||
%exclude %{_datadir}/applications/kde/kwifimanager.desktop
|
||||
%exclude %{_datadir}/apps/kwifimanager
|
||||
%exclude %{tde_docdir}/HTML/en/kwifimanager
|
||||
%exclude %{_datadir}/icons/hicolor/128x128/apps/kwifimanager.png
|
||||
%exclude %{_datadir}/icons/hicolor/??x??/apps/kwifimanager.png
|
||||
%exclude %{_datadir}/icons/hicolor/scalable/apps/kwifimanager.svgz
|
||||
%endif
|
||||
|
||||
# nowlistening
|
||||
%if "%{?_with_xmms:1}" == "1"
|
||||
%exclude %{_datadir}/apps/kopete/*nowlisteningchatui*
|
||||
%exclude %{_datadir}/apps/kopete/*nowlisteningui*
|
||||
%exclude %{_datadir}/services/kconfiguredialog/*nowlistening*
|
||||
%exclude %{_datadir}/services/*nowlistening*
|
||||
%exclude %{tde_libdir}/*nowlistening*
|
||||
%endif
|
||||
|
||||
%if %console_helper
|
||||
%config(noreplace) /etc/security/console.apps/kppp3
|
||||
%config(noreplace) /etc/pam.d/kppp3
|
||||
%{_sbindir}/kppp
|
||||
%else
|
||||
%attr(4755,root,root) %{_bindir}/kppp
|
||||
%endif
|
||||
%config(noreplace) %{_sysconfdir}/lisarc
|
||||
%config(noreplace) %{_initrddir}/lisa
|
||||
%{_libdir}/libkdeinit_*.so
|
||||
%{tde_libdir}/*
|
||||
%{_libdir}/kconf_update_bin/*
|
||||
%{_bindir}/*
|
||||
%{_datadir}/apps/*
|
||||
%{_datadir}/applications/kde/*
|
||||
%{_datadir}/applnk/.hidden/*
|
||||
%{_datadir}/config/*
|
||||
%{_datadir}/config.kcfg/*
|
||||
%{_datadir}/icons/*/*/*/*
|
||||
%{_datadir}/mimelnk/*
|
||||
%{_datadir}/services/*
|
||||
%{_datadir}/servicetypes/*
|
||||
%{_datadir}/sounds/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libkopete*.so.*
|
||||
%{_libdir}/libkopete*.la
|
||||
%{_libdir}/librss.so.*
|
||||
%{_libdir}/librss.la
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libkopete*.so
|
||||
%{_libdir}/librss.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Oct 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
||||
|
@ -0,0 +1,165 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.12 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Summary: K Desktop Environment - Toys and Amusements
|
||||
Name: trinity-kdetoys
|
||||
Group: Amusements/Graphics
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Source0: kdetoys-%{version}.tar.gz
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
Includes:
|
||||
* amor: Amusing Misuse Of Resources put's comic figures above your windows
|
||||
* eyesapplet: a kicker applet similar to XEyes
|
||||
* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
|
||||
* kmoon: system tray applet showing the moon phase
|
||||
* kodo: mouse movement meter
|
||||
* kteatime: system tray applet that makes sure your tea doesn't get too strong
|
||||
* ktux: Tux-in-a-Spaceship screen saver
|
||||
* kweather: kicker applet that will display the current weather outside
|
||||
* kworldwatch: application and kicker applet showing daylight area on the world
|
||||
globe
|
||||
|
||||
NOTE: kicker applets and screen savers require kdebase to be installed,
|
||||
and user to be logged-in to KDE.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n kdetoys
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--includedir=%{_includedir}/kde \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--enable-closure \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependency-tracking --enable-final \
|
||||
--with-extra-includes=%{_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf "%{buildroot}"
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
desktop-file-install \
|
||||
--dir=%{buildroot}%{_datadir}/applnk/System/ScreenSavers \
|
||||
--vendor="" \
|
||||
%{buildroot}%{_datadir}/applnk/System/ScreenSavers/*.desktop ||:
|
||||
|
||||
desktop-file-install \
|
||||
--dir=%{buildroot}%{_datadir}/applications/kde \
|
||||
--vendor="" \
|
||||
%{buildroot}%{_datadir}/applications/kde/*.desktop ||:
|
||||
|
||||
# replace absolute symlink with relative
|
||||
ln -nfs tips-en %{buildroot}%{_datadir}/apps/amor/tips
|
||||
|
||||
## File lists
|
||||
# locale's
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
## Unpackaged files
|
||||
# not sure the point of just one header file 'AmorIface.h', omit (for now).
|
||||
%__rm -rf %{buildroot}%{_includedir}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README
|
||||
%{_bindir}/*
|
||||
%{_libdir}/libkdeinit_*.*
|
||||
%{tde_libdir}/*
|
||||
%{_datadir}/applications/kde/*.desktop
|
||||
%{_datadir}/applnk/System/ScreenSavers/*.desktop
|
||||
%{_datadir}/apps/*
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/service*/*.desktop
|
||||
%doc %lang(en) %{_docdir}/HTML/en/*
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Fri Oct 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- kdevelop/kdevdesigner/designer/listeditor.ui.h.ORI 2011-10-30 13:30:56.655489268 +0100
|
||||
+++ kdevelop/kdevdesigner/designer/listeditor.ui.h 2011-10-30 13:31:00.782489292 +0100
|
||||
@@ -30,7 +30,7 @@
|
||||
{
|
||||
QListViewItem *i = new QListViewItem( listview, listview->lastItem() );
|
||||
i->setRenameEnabled( 0, TRUE );
|
||||
- tqApp->processEvents();
|
||||
+ qApp->processEvents();
|
||||
i->startRename( 0 );
|
||||
}
|
||||
|
@ -0,0 +1,237 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific variables
|
||||
BuildRequires: cmake >= 2.8
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
%define _default_patch_fuzz 2
|
||||
%define qt_version 3.3.8d
|
||||
%define qt_ver %{qt_version}
|
||||
|
||||
Name: trinity-kdevelop
|
||||
Summary: Integrated Development Environment for C++/C
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
|
||||
License: GPLv2
|
||||
Group: Development/Tools
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source: kdevelop-%{version}.tar.gz
|
||||
Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
|
||||
|
||||
# RedHat Legacy patches
|
||||
Patch1: c_cpp_reference-2.0.2-config.patch
|
||||
|
||||
# TDE 3.5.13 patches
|
||||
## RHEL / Fedora RPM specific patches
|
||||
Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch
|
||||
|
||||
|
||||
Provides: kdevelop3 = %{version}-%{release}
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
|
||||
Requires: trinity-kdelibs-devel
|
||||
Requires: make
|
||||
Requires: perl
|
||||
Requires: flex >= 2.5.4
|
||||
Requires: qt3-designer
|
||||
Requires: gettext
|
||||
Requires: ctags
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-arts-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdelibs-apidocs
|
||||
BuildRequires: qt3-devel-docs
|
||||
BuildRequires: db4-devel
|
||||
BuildRequires: flex
|
||||
# FIXME: No CVS support in KDevelop? This is going to suck...
|
||||
# Requires kdesdk3.
|
||||
BuildRequires: trinity-kdesdk-devel
|
||||
BuildRequires: subversion-devel neon-devel
|
||||
# looks like this is dragged in by apr-devel (dep of subversion-devel), but not
|
||||
# a dependency
|
||||
BuildRequires: openldap-devel
|
||||
|
||||
%description
|
||||
The KDevelop Integrated Development Environment provides many features
|
||||
that developers need as well as providing a unified interface to programs
|
||||
like gdb, the C/C++ compiler, and make. KDevelop manages or provides:
|
||||
|
||||
All development tools needed for C++ programming like Compiler,
|
||||
Linker, automake and autoconf; KAppWizard, which generates complete,
|
||||
ready-to-go sample applications; Classgenerator, for creating new
|
||||
classes and integrating them into the current project; File management
|
||||
for sources, headers, documentation etc. to be included in the
|
||||
project; The creation of User-Handbooks written with SGML and the
|
||||
automatic generation of HTML-output with the KDE look and feel;
|
||||
Automatic HTML-based API-documentation for your project's classes with
|
||||
cross-references to the used libraries; Internationalization support
|
||||
for your application, allowing translators to easily add their target
|
||||
language to a project;
|
||||
|
||||
KDevelop also includes WYSIWYG (What you see is what you get)-creation
|
||||
of user interfaces with a built-in dialog editor; Debugging your
|
||||
application by integrating KDbg; Editing of project-specific pixmaps
|
||||
with KIconEdit; The inclusion of any other program you need for
|
||||
development by adding it to the "Tools"-menu according to your
|
||||
individual needs.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Provides: kdevelop3-devel = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: trinity-kdelibs-devel
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package libs
|
||||
Summary: %{name} runtime libraries
|
||||
Group: System Environment/Libraries
|
||||
Requires: trinity-kdelibs
|
||||
# helps multilib upgrades
|
||||
Obsoletes: %{name} < %{version}-%{release}
|
||||
# include to be paranoid, installing libs-only is still mostly untested -- Rex
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -n kdevelop -a1
|
||||
%patch1 -p0 -b .config
|
||||
%patch2 -p1
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
|
||||
%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin
|
||||
%__cp -a admin c_cpp_reference-2.0.2_for_KDE_3.0/
|
||||
%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
|
||||
export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
|
||||
export LD_LIBRARY_PATH="%{_libdir}"
|
||||
|
||||
# c references
|
||||
pushd c_cpp_reference-2.0.2_for_KDE_3.0
|
||||
%configure \
|
||||
--with-qt-libraries=$QTDIR/lib \
|
||||
--with-qt-includes=$QTDIR/include \
|
||||
--with-extra-libs=%{_libdir}
|
||||
popd
|
||||
|
||||
%__mkdir build
|
||||
cd build
|
||||
%cmake \
|
||||
-DWITH_BUILDTOOL_ALL=ON \
|
||||
-DWITH_LANGUAGE_ALL=ON \
|
||||
-DWITH_VCS_ALL=OFF \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
cd ..
|
||||
%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
cd build
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
cd ..
|
||||
%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0
|
||||
|
||||
# remove useless files
|
||||
%__rm -rf %{buildroot}%{_prefix}/kdevbdb
|
||||
|
||||
|
||||
%post
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_docdir}/HTML/en/*
|
||||
%{_bindir}/*
|
||||
%{tde_libdir}/*
|
||||
%{_libdir}/kconf_update_bin/*
|
||||
%{_datadir}/applications/kde/*
|
||||
%{_datadir}/apps/*
|
||||
%{_datadir}/config/*
|
||||
%{_datadir}/desktop-directories/*
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/icons/locolor/*/*/*
|
||||
%{_datadir}/mimelnk/*.desktop
|
||||
%{_datadir}/mimelnk/*/*
|
||||
%{_datadir}/services/*
|
||||
%{_datadir}/servicetypes/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/lib*.la
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Sat Oct 29 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
||||
- Based on SPEC file from Fedora: kdevelop 9:3.5.3-1
|
After Width: | Height: | Size: 2.6 KiB |
@ -0,0 +1,231 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
Name: trinity-kdewebdev
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
License: GPL
|
||||
Summary: Web development applications
|
||||
Group: Applications/Editors
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: kdewebdev-%{version}.tar.gz
|
||||
Source1: http://download.sourceforge.net/quanta/css.tar.bz2
|
||||
Source2: http://download.sourceforge.net/quanta/html.tar.bz2
|
||||
Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
|
||||
Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2
|
||||
Source5: hi48-app-kxsldbg.png
|
||||
|
||||
Patch0: javascript.patch
|
||||
Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
|
||||
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdesdk-devel
|
||||
BuildRequires: libxslt-devel libxml2-devel
|
||||
%if 0%{?rhel} == 4
|
||||
# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241)
|
||||
BuildRequires: libgcrypt-devel
|
||||
%endif
|
||||
BuildRequires: perl
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
# optional
|
||||
Requires: tidy
|
||||
|
||||
Provides: kdewebdev3 = %{version}-%{release}
|
||||
|
||||
Obsoletes: quanta < %{version}-%{release}
|
||||
Provides: quanta = %{version}-%{release}
|
||||
|
||||
%define kommander_ver 1.2.2
|
||||
#Obsoletes: kommander < %{kommander_ver}-%{release}
|
||||
Provides: kommander = %{kommander_ver}-%{release}
|
||||
|
||||
%description
|
||||
%{summary}, including:
|
||||
* kfilereplace: batch search and replace tool
|
||||
* kimagemapeditor: HTML image map editor
|
||||
* klinkstatus: link checker
|
||||
* kommander: visual dialog building tool
|
||||
* kxsldbg: xslt Debugger
|
||||
* quanta+: web development
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Header files and documentation for %{name}
|
||||
Provides: kdewebdev3-devel = %{version}-%{release}
|
||||
Requires: trinity-kdelibs-devel
|
||||
Requires: %{name}-libs
|
||||
Obsoletes: quanta-devel < %{version}-%{release}
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package libs
|
||||
Summary: %{name} runtime libraries
|
||||
Group: System Environment/Libraries
|
||||
Requires: trinity-kdelibs
|
||||
# helps multilib upgrades
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
|
||||
|
||||
%patch0 -p0 -b .javascript
|
||||
%patch1 -p1 -b .kxsldbg-icons
|
||||
|
||||
install -m644 -p %{SOURCE5} kxsldbg/
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f admin/Makefile.common
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; source /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%if 0%{?fedora} >= 15
|
||||
#export CXXFLAGS="${CXXFLAGS} -fpermissive"
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--includedir=%{tde_includedir} \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--enable-closure \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependancy-tracking --enable-final \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{?buildroot}
|
||||
%__make install DESTDIR=%{?buildroot}
|
||||
|
||||
|
||||
## package separately? Why doesn't upstream include this? -- Rex
|
||||
# install docs
|
||||
for i in css html javascript ; do
|
||||
pushd $i
|
||||
./install.sh <<EOF
|
||||
%{buildroot}%{_datadir}/apps/quanta/doc
|
||||
EOF
|
||||
popd
|
||||
rm -rf $i
|
||||
done
|
||||
cp -a php php.docrc %{buildroot}%{_datadir}/apps/quanta/doc/
|
||||
|
||||
# make symlinks relative
|
||||
pushd %{buildroot}%{_docdir}/HTML/en
|
||||
for i in *; do
|
||||
if [ -d $i -a -L $i/common ]; then
|
||||
rm -f $i/common
|
||||
ln -nfs ../common $i
|
||||
fi
|
||||
done
|
||||
popd
|
||||
|
||||
# rpmdocs
|
||||
for dir in k* quanta; do
|
||||
for file in AUTHORS ChangeLog README TODO ; do
|
||||
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
%post
|
||||
for f in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
for f in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%doc rpmdocs/*
|
||||
%{_bindir}/*
|
||||
%{tde_libdir}/*
|
||||
%{_datadir}/applications/kde/*
|
||||
%{_datadir}/applnk/.hidden/*
|
||||
%{_datadir}/apps/*
|
||||
%doc %{_datadir}/apps/quanta/doc
|
||||
%{_datadir}/config.kcfg/*
|
||||
%{_datadir}/icons/crystalsvg/*/*/*
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_datadir}/icons/locolor/*/*/*
|
||||
%{_datadir}/mimelnk/application/*
|
||||
%{_datadir}/services/*
|
||||
%{_datadir}/servicetypes/*
|
||||
%doc %lang(en) %{_docdir}/HTML/en/*
|
||||
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/lib*.la
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so
|
||||
%{tde_includedir}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
@ -0,0 +1,96 @@
|
||||
# Default version for this component
|
||||
%if "%{?version}" == ""
|
||||
%define version 3.5.13
|
||||
%endif
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
Name: trinity-desktop
|
||||
Version: %{version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
License: GPL
|
||||
Summary: Meta-package to install TDE
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: trinity-kdeaccessibility >= %{version}
|
||||
Requires: trinity-kdeaddons >= %{version}
|
||||
Requires: trinity-kdeadmin >= %{version}
|
||||
Requires: trinity-kdeartwork >= %{version}
|
||||
Requires: trinity-kdeartwork-icons >= %{version}
|
||||
Requires: trinity-kdebase >= %{version}
|
||||
Requires: trinity-kdebindings >= %{version}
|
||||
Requires: trinity-kdeedu >= %{version}
|
||||
Requires: trinity-kdegames >= %{version}
|
||||
Requires: trinity-kdegraphics >= %{version}
|
||||
Requires: trinity-kdemultimedia >= %{version}
|
||||
Requires: trinity-kdenetwork >= %{version}
|
||||
Requires: trinity-kdepim >= %{version}
|
||||
Requires: trinity-kdeutils >= %{version}
|
||||
Requires: trinity-kdetoys >= %{version}
|
||||
|
||||
%description
|
||||
The TDE project aims to keep the KDE3.5 computing style alive, as well as
|
||||
polish off any rough edges that were present as of KDE 3.5.10. Along
|
||||
the way, new useful features will be added to keep the environment
|
||||
up-to-date.
|
||||
Toward that end, significant new enhancements have already been made in
|
||||
areas such as display control, network connectivity, user
|
||||
authentication, and much more!
|
||||
|
||||
%package dev
|
||||
Group: User Interface/Desktops
|
||||
Summary: Meta-package to install TDE development tools
|
||||
|
||||
Requires: trinity-kdesdk >= %{version}
|
||||
Requires: trinity-kdevelop >= %{version}
|
||||
Requires: trinity-kdewebdev >= %{version}
|
||||
|
||||
%description dev
|
||||
%{summary}
|
||||
|
||||
%package extras
|
||||
Group: User Interface/Desktops
|
||||
Summary: Meta-package to install extra TDE packages
|
||||
|
||||
Requires: trinity-kdeaddons-extras >= %{version}
|
||||
Requires: trinity-kdebase-extras >= %{version}
|
||||
Requires: trinity-kdegraphics-extras >= %{version}
|
||||
Requires: trinity-kdemultimedia-extras >= %{version}
|
||||
Requires: trinity-kdenetwork-extras >= %{version}
|
||||
Requires: trinity-kdeutils-extras >= %{version}
|
||||
|
||||
%description extras
|
||||
%{summary}
|
||||
|
||||
%package all
|
||||
Group: User Interface/Desktops
|
||||
Summary: Meta-package to install all TDE packages
|
||||
|
||||
Requires: %{name} == %{version}
|
||||
Requires: %{name}-dev == %{version}
|
||||
Requires: %{name}-extras == %{version}
|
||||
|
||||
%description all
|
||||
%{summary}
|
||||
|
||||
|
||||
%files
|
||||
|
||||
%files dev
|
||||
|
||||
%files extras
|
||||
|
||||
%files all
|
Loading…
Reference in new issue