parent
93ff543089
commit
2d5d812000
@ -1,359 +0,0 @@
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?tde_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
|
||||
%define tde_tdeappdir %{tde_datadir}/applications/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
Summary: Audio-decoding framework
|
||||
Name: trinity-akode
|
||||
Version: 2.0.2
|
||||
Release: 5%{?dist}%{?_variant}
|
||||
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
#URL: http://carewolf.com/akode/
|
||||
URL: http://www.kde-apps.org/content/show.php?content=30375
|
||||
|
||||
Source0: akode-2.0.2.tar.bz2
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
|
||||
# Legacy Fedora 9 patches
|
||||
Patch1: akode-pulseaudio.patch
|
||||
Patch2: akode-2.0.2-multilib.patch
|
||||
Patch3: akode-2.0.2-flac113-portable.patch
|
||||
Patch4: akode-2.0.2-gcc43.patch
|
||||
|
||||
# New patches
|
||||
Patch10: akode-autotools.patch
|
||||
Patch11: akode-2.0.2-fix_ffmpeg_include.patch
|
||||
|
||||
# FLAC support
|
||||
%define _with_flac --with-flac
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%if 0%{?pclinuxos}
|
||||
BuildRequires: libflac-devel
|
||||
%else
|
||||
BuildRequires: %{_lib}flac-devel
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
BuildRequires: flac-devel
|
||||
%endif
|
||||
|
||||
# JACK support
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define _with_jack --with-jack
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}jack-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
BuildRequires: jack-audio-connection-kit-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# SAMPLERATE support
|
||||
%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define _with_libsamplerate --with-libsamplerate
|
||||
BuildRequires: libsamplerate-devel
|
||||
%endif
|
||||
|
||||
# PULSEAUDIO support
|
||||
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define _with_pulseaudio --with-pulseaudio
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}pulseaudio-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: pulseaudio-libs-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: pulseaudio-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# MAD support
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
||||
%define _with_libmad --with-libmad
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion}
|
||||
BuildRequires: %{_lib}mad-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
||||
BuildRequires: libmad-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
BuildRequires: automake libtool
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: speex-devel
|
||||
|
||||
|
||||
%description
|
||||
aKode is a simple audio-decoding frame-work that provides a uniform
|
||||
interface to decode the most common audio-formats. It also has a direct
|
||||
playback option for a number of audio-outputs.
|
||||
|
||||
aKode currently has the following decoder plugins:
|
||||
* mpc: Decodes musepack aka mpc audio.
|
||||
* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio.
|
||||
|
||||
aKode also has the following audio outputs:
|
||||
* alsa: Outputs to ALSA (dmix is recommended).
|
||||
* jack
|
||||
* pulseaudio
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc rpmdocs/*
|
||||
%{tde_bindir}/akodeplay
|
||||
%{tde_libdir}/libakode.so.*
|
||||
%{tde_libdir}/libakode_alsa_sink.la
|
||||
%{tde_libdir}/libakode_alsa_sink.so
|
||||
%{tde_libdir}/libakode_mpc_decoder.la
|
||||
%{tde_libdir}/libakode_mpc_decoder.so
|
||||
%{tde_libdir}/libakode_oss_sink.la
|
||||
%{tde_libdir}/libakode_oss_sink.so
|
||||
%{tde_libdir}/libakode_xiph_decoder.la
|
||||
%{tde_libdir}/libakode_xiph_decoder.so
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Summary: Headers for developing programs that will use %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%{?_with_jack:Requires: %{name}-jack = %{version}-%{release}}
|
||||
%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{version}-%{release}}
|
||||
%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{version}-%{release}}
|
||||
%{?_with_libmad:Requires: %{name}-libmad = %{version}-%{release}}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/akode-config
|
||||
%{tde_includedir}/*
|
||||
%{tde_libdir}/libakode.la
|
||||
%{tde_libdir}/libakode.so
|
||||
%{tde_libdir}/pkgconfig/*.pc
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig
|
||||
|
||||
##########
|
||||
|
||||
%if "%{?_with_jack}" != ""
|
||||
|
||||
%package jack
|
||||
Summary: Jack audio output backend for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description jack
|
||||
%{summary}.
|
||||
|
||||
%files jack
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libakode_jack_sink.la
|
||||
%{tde_libdir}/libakode_jack_sink.so
|
||||
|
||||
%post jack
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun jack
|
||||
/sbin/ldconfig
|
||||
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if "%{?_with_pulseaudio}" != ""
|
||||
|
||||
%package pulseaudio
|
||||
Summary: Pulseaudio output backend for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description pulseaudio
|
||||
%{summary}.
|
||||
Recommended for network transparent audio.
|
||||
|
||||
%files pulseaudio
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libakode_polyp_sink.la
|
||||
%{tde_libdir}/libakode_polyp_sink.so
|
||||
|
||||
%post pulseaudio
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun pulseaudio
|
||||
/sbin/ldconfig
|
||||
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
# Packaged separately to keep main/core %{akode} package LGPL-clean.
|
||||
%if "%{?_with_libsamplerate:1}" == "1"
|
||||
|
||||
%package libsamplerate
|
||||
Summary: Resampler based on libsamplerate for %{name}
|
||||
Group: Development/Libraries
|
||||
License: GPLv2+
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description libsamplerate
|
||||
%{summary}.
|
||||
|
||||
# License: GPLv2+
|
||||
%files libsamplerate
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libakode_src_resampler.la
|
||||
%{tde_libdir}/libakode_src_resampler.so
|
||||
|
||||
%post libsamplerate
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun libsamplerate
|
||||
/sbin/ldconfig
|
||||
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if "%{?_with_libmad}" != ""
|
||||
|
||||
%package libmad
|
||||
Summary: Decoder based on libmad for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description libmad
|
||||
%{summary}.
|
||||
|
||||
%files libmad
|
||||
%{tde_libdir}/libakode_mpeg_decoder.la
|
||||
%{tde_libdir}/libakode_mpeg_decoder.so
|
||||
|
||||
%post libmad
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun libmad
|
||||
/sbin/ldconfig
|
||||
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n akode-%{version}
|
||||
|
||||
%patch1 -p1 -b .pulseaudio
|
||||
%patch2 -p1 -b .multilib
|
||||
%patch3 -p4 -b .flac113_portable
|
||||
%patch4 -p1 -b .gcc43
|
||||
|
||||
%patch10 -p1 -b .autotools
|
||||
%patch11 -p1 -b .ffmpeg
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f admin/Makefile.common cvs
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--includedir=%{tde_includedir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
\
|
||||
--disable-dependency-tracking \
|
||||
--disable-debug \
|
||||
--enable-new-ldflags \
|
||||
--enable-final \
|
||||
--enable-closure \
|
||||
--enable-rpath \
|
||||
\
|
||||
--without-libltdl \
|
||||
--with-alsa \
|
||||
--with-oss \
|
||||
%{?_with_flac} %{!?_with_flac:--without-flac} \
|
||||
%{?_with_jack} %{!?_with_jack:--without-jack} \
|
||||
%{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \
|
||||
%{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \
|
||||
--with-speex \
|
||||
--with-vorbis \
|
||||
--without-ffmpeg \
|
||||
%{?_with_libmad} %{!?_with_libmad:--without-libmad}
|
||||
|
||||
%__make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
|
||||
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# unpackaged files
|
||||
%__rm -f %{buildroot}%{tde_libdir}/*.a
|
||||
|
||||
# rpmdocs
|
||||
for file in AUTHORS COPYING NEWS README TODO ; do
|
||||
test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file"
|
||||
done
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5
|
||||
- Build for Fedora 19
|
||||
|
||||
* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Mon Jul 30 2012 Francois Andriot <francois.andriot@free.fr> 2.0.2-2
|
||||
- Re-adds '.la' files
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> 2.0.2-1
|
||||
- Port to TDE 3.5.13
|
||||
- Based on spec file from Fedora 9 'akode-2.0.2-5'
|
@ -1,115 +0,0 @@
|
||||
#
|
||||
# spec file for package icons-nuvola (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# Default version for this component
|
||||
%define tde_pkg icons-nuvola
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.0.9
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
%define tde_appdir %{tde_datadir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Nuvola icons for TDE Desktop
|
||||
Version: 1.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
|
||||
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: icons-nuvola-14.0.0.tar.bz2
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
Nuvola SVG evolution of SKY icon theme.
|
||||
|
||||
NUVOLA is an SVG based icon theme.
|
||||
This mean that all icons where designed with a vector graphics software and
|
||||
then exported to SVG.
|
||||
Icons of the TDE version of Nuvola are PNG images (unscalable).
|
||||
SVG files are available (not always updated) on my web site in the "svg"
|
||||
section.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n nuvola
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola
|
||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/16x16
|
||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/32x32
|
||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/48x48
|
||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/64x64
|
||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/128x128
|
||||
rm -f thanks.to~
|
||||
cp -fr * %{buildroot}%{tde_datadir}/icons/nuvola/
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc author license.txt readme.txt
|
||||
%{tde_datadir}/icons/nuvola/
|
||||
|
||||
|
||||
%changelog
|
@ -1,150 +0,0 @@
|
||||
#
|
||||
# spec file for package kdevmon (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# Default version for this component
|
||||
%define tde_pkg kdevmon
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.0.9
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
%define tde_appdir %{tde_datadir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: A utility for monitoring the throughput of one network device
|
||||
Version: 0.4.6
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
|
||||
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: %{tde_pkg}-%{tde_version}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= 2:1.5.10
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
Kdevmon is a utility for TDE that monitors the throughput of a network device.
|
||||
It docks in Kicker (the panel of TDE) and shows the current network traffic
|
||||
as a diagram. There also is a resizable main window that provides a larger
|
||||
traffic diagram and displays the current net speed in bits per second.
|
||||
Middle-clicking on the dock window or on the main window offers
|
||||
you an overview of the amount of incoming/outgoing bits and the current and
|
||||
the maximum bit rate.
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{tde_pkg}-%{version}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
\
|
||||
--disable-dependency-tracking \
|
||||
--disable-debug \
|
||||
--enable-new-ldflags \
|
||||
--enable-final \
|
||||
--enable-closure \
|
||||
--enable-rpath \
|
||||
--disable-gcc-hidden-visibility
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%postun
|
||||
for f in locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_bindir}/kdevmon
|
||||
%{tde_datadir}/applnk/Internet/kdevmon.desktop
|
||||
%{tde_tdedocdir}/HTML/en/kdevmon/
|
||||
%{tde_datadir}/icons/locolor/16x16/apps/kdevmon.png
|
||||
%{tde_datadir}/icons/locolor/32x32/apps/kdevmon.png
|
||||
|
||||
|
||||
%changelog
|
@ -1,143 +0,0 @@
|
||||
#
|
||||
# spec file for package klibido (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# Default version for this component
|
||||
%define tde_pkg klibido
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.0.9
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
%define tde_appdir %{tde_datadir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: A TDE usenet news grabber for Linux.
|
||||
Version: 0.2.5
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
|
||||
License: GPL
|
||||
Group: Applications/Network
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://klibido.sourceforge.net/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{tde_pkg}-%{tde_version}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= 2:1.5.10
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: uulib-devel
|
||||
|
||||
|
||||
%description
|
||||
KLibido is a TDE program to download encoded articles from the usenet news
|
||||
service, using the nntp protocol. It supports multiple servers, multiple
|
||||
download threads per server, automatic joining and decoding of articles.
|
||||
|
||||
KLibido is not a NewsReader. It doesn't let you easily display the articles -
|
||||
only their subject, and it discards all non-binary posts. If you want a nice
|
||||
newsreader for TDE, try KNode.
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README RELEASE TODO
|
||||
%{tde_bindir}/klibido
|
||||
%{tde_tdeappdir}/klibido.desktop
|
||||
%{tde_datadir}/apps/klibido/
|
||||
%{tde_datadir}/doc/tde/HTML/en/klibido/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/klibido.png
|
||||
%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/klibido.mo
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{tde_pkg}-%{version}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
|
||||
if [ -r /usr/include/db53/db_cxx.h ]; then
|
||||
EXTRA_INCLUDES="/usr/include/db53"
|
||||
fi
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
\
|
||||
--disable-dependency-tracking \
|
||||
--disable-debug \
|
||||
--enable-final \
|
||||
--enable-new-ldflags \
|
||||
--enable-closure \
|
||||
--enable-rpath \
|
||||
--disable-gcc-hidden-visibility \
|
||||
\
|
||||
--with-extra-includes=%{_includedir}/uulib:${EXTRA_INCLUDES}
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
%__make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# Updates applications categories for openSUSE
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file klibido News
|
||||
%endif
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
@ -1,151 +0,0 @@
|
||||
#
|
||||
# spec file for package kompose (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# Default version for this component
|
||||
%define tde_pkg kompose
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.0.9
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
%define tde_appdir %{tde_datadir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Full-Screen Task Manager for TDE
|
||||
Version: 0.5.3
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
|
||||
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: %{tde_pkg}-%{tde_version}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: imlib2-devel
|
||||
|
||||
|
||||
%description
|
||||
Kompose creates a full-screen view in which every window is represented
|
||||
by a scaled screen shot of it. It appears as a panel applet.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{tde_pkg}-%{version}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
|
||||
# Warning: --enable-final causes FTBFS
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
\
|
||||
--disable-dependency-tracking \
|
||||
--disable-debug \
|
||||
--enable-new-ldflags \
|
||||
--disable-final \
|
||||
--enable-closure \
|
||||
--enable-rpath \
|
||||
--disable-gcc-hidden-visibility
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%postun
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc TODO README AUTHORS ChangeLog COPYING
|
||||
%{tde_bindir}/kompose
|
||||
%{tde_datadir}/applnk/Utilities/kompose.desktop
|
||||
%{tde_datadir}/apps/kompose/
|
||||
%{tde_tdedocdir}/HTML/en/kompose/
|
||||
%{tde_datadir}/icons/hicolor/16x16/apps/kompose.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/kompose.png
|
||||
|
||||
|
||||
%changelog
|
@ -1,154 +0,0 @@
|
||||
#
|
||||
# spec file for package koverartist (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# Default version for this component
|
||||
%define tde_pkg koverartist
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.0.9
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
%define tde_appdir %{tde_datadir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Fast Creation of CD/DVD Covers
|
||||
Version: 0.5
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
|
||||
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: %{tde_pkg}-%{tde_version}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
KoverArtist is a program for the fast creation of covers for
|
||||
cd/dvd cases and boxes. The main idea behind it is to be able
|
||||
to create decent looking covers with some mouseclicks.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{tde_pkg}-%{version}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
\
|
||||
--disable-dependency-tracking \
|
||||
--disable-debug \
|
||||
--enable-new-ldflags \
|
||||
--enable-final \
|
||||
--enable-closure \
|
||||
--enable-rpath \
|
||||
--disable-gcc-hidden-visibility
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%postun
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/koverartist
|
||||
%{tde_datadir}/applnk/Multimedia/koverartist.desktop
|
||||
%{tde_datadir}/apps/koverartist/
|
||||
%{tde_tdedocdir}/HTML/en/koverartist/
|
||||
%{tde_datadir}/icons/hicolor/128x128/apps/koverartist.png
|
||||
%{tde_datadir}/icons/hicolor/16x16/apps/koverartist.png
|
||||
%{tde_datadir}/icons/hicolor/22x22/apps/koverartist.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/koverartist.png
|
||||
%{tde_datadir}/icons/hicolor/48x48/apps/koverartist.png
|
||||
%{tde_datadir}/icons/hicolor/64x64/apps/koverartist.png
|
||||
%{tde_datadir}/mimelnk/application/x-koverartist.desktop
|
||||
|
||||
|
||||
%changelog
|
@ -1,158 +0,0 @@
|
||||
#
|
||||
# spec file for package kpacman (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# Default version for this component
|
||||
%define tde_pkg kpacman
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.0.9
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_confdir %{_sysconfdir}/trinity
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
%define tde_appdir %{tde_datadir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: A pacman game for the Trinity Desktop.
|
||||
Version: 0.3.2
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
|
||||
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: %{tde_pkg}-%{tde_version}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: trinity-libtdegames-devel >= %{tde_version}
|
||||
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
Pacman is a legendary game with an enthusiastic following from around
|
||||
the world. Since its introduction in 1980, Pacman's image has been
|
||||
splashed across magazine covers, television screens, T-shirts, and
|
||||
bumper stickers. Created by Japan's Namco, and distributed in the
|
||||
United States by Bally, Pacman is an icon of 1980's popular culture
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{tde_pkg}-%{version}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export kde_confdir="%{tde_confdir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
\
|
||||
--disable-dependency-tracking \
|
||||
--disable-debug \
|
||||
--enable-new-ldflags \
|
||||
--enable-final \
|
||||
--enable-closure \
|
||||
--enable-rpath \
|
||||
--disable-gcc-hidden-visibility
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING README TODO
|
||||
%{tde_bindir}/kpacman
|
||||
%{tde_datadir}/applnk/Games/kpacman.desktop
|
||||
%{tde_datadir}/apps/kpacman/
|
||||
%config(noreplace) %{tde_confdir}/kpacmanrc
|
||||
%lang(de) %{tde_tdedocdir}/HTML/de/kpacman/
|
||||
%{tde_tdedocdir}/HTML/en/kpacman/
|
||||
%{tde_datadir}/icons/hicolor/16x16/apps/kpacman.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/kpacman.png
|
||||
%{tde_datadir}/icons/locolor/16x16/apps/kpacman.png
|
||||
%{tde_datadir}/icons/locolor/32x32/apps/kpacman.png
|
||||
|
||||
|
||||
%changelog
|
@ -1,34 +0,0 @@
|
||||
#
|
||||
# Macros for cmake
|
||||
#
|
||||
%_cmake_lib_suffix64 -DLIB_SUFFIX=64
|
||||
%_cmake_skip_rpath -DCMAKE_SKIP_RPATH:BOOL=ON
|
||||
%_cmake_version 2.8.11
|
||||
%__cmake /usr/bin/cmake
|
||||
|
||||
# - Set default compile flags
|
||||
# - CMAKE_*_FLAGS_RELEASE are added *after* the *FLAGS environment variables
|
||||
# and default to -O3 -DNDEBUG. Strip the -O3 so we can override with *FLAGS
|
||||
# - Turn on verbose makefiles so we can see and verify compile flags
|
||||
# - Set default install prefixes and library install directories
|
||||
# - Turn on shared libraries by default
|
||||
%cmake \
|
||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
||||
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
|
||||
FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
|
||||
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
|
||||
%__cmake \\\
|
||||
-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
|
||||
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
|
||||
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \\\
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
|
||||
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
|
||||
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
|
||||
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
|
||||
%if "%{?_lib}" == "lib64" \
|
||||
%{?_cmake_lib_suffix64} \\\
|
||||
%endif \
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON
|
@ -1,38 +0,0 @@
|
||||
Name: trinity-cmake-macros
|
||||
Version: 1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Rpmbuild macros for cmake utility
|
||||
|
||||
Group: Development/Utilities
|
||||
License: GPL
|
||||
URL: http://www.trinitydesktop.org/
|
||||
Source0: macros.cmake
|
||||
|
||||
Requires: cmake
|
||||
|
||||
%description
|
||||
This is the cmake macros for rpmbuild.
|
||||
It was originally written for Fedora, but can be used on openSUSE too.
|
||||
|
||||
|
||||
%prep
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%__install -D -m 644 "%{SOURCE0}" %{?buildroot}%{_sysconfdir}/rpm/macros.cmake
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_sysconfdir}/rpm/macros.cmake
|
||||
|
||||
|
||||
%changelog
|
Loading…
Reference in new issue