parent
b4359e8bf9
commit
80b03b2f7d
@ -1,158 +0,0 @@
|
|||||||
# Default version for this component
|
|
||||||
%define kdecomp kpowersave
|
|
||||||
|
|
||||||
# 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_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/kde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/kde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/kde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-%{kdecomp}
|
|
||||||
Version: 0.7.3
|
|
||||||
Release: 3%{?dist}%{?_variant}
|
|
||||||
Summary: HAL based power management applet for Trinityfiles or directories.
|
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
Group: Applications/Utilities
|
|
||||||
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
URL: http://www.trinitydesktop.org/
|
|
||||||
|
|
||||||
Prefix: %{tde_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
|
||||||
|
|
||||||
# [kpowersave] Switch to v3.5.13-sru branch
|
|
||||||
Patch0: kpowersave-3.5.13-sru-20120818.patch
|
|
||||||
|
|
||||||
BuildRequires: dbus-tqt-devel
|
|
||||||
BuildRequires: tqtinterface-devel
|
|
||||||
BuildRequires: trinity-tdelibs-devel
|
|
||||||
BuildRequires: trinity-tdebase-devel
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
|
|
||||||
%description
|
|
||||||
KPowersave is a TDE systray applet which allows to control the power
|
|
||||||
management settings and policies of your computer.
|
|
||||||
It relies on HAL to do the heavy lifting.
|
|
||||||
|
|
||||||
Current feature list:
|
|
||||||
* support for ACPI, APM and PMU
|
|
||||||
* trigger suspend to disk/ram and standby
|
|
||||||
* switch cpu frequency policy (between: performance, dynamic and powersave)
|
|
||||||
* applet icon with information about AC state, battery fill and battery
|
|
||||||
(warning) states
|
|
||||||
* applet tooltip with information about battery fill and remaining battery
|
|
||||||
time/percentage
|
|
||||||
* autosuspend (to suspend the machine if the user has been inactive for a
|
|
||||||
defined time)
|
|
||||||
* a global configurable blacklist with programs which prevent autosuspend
|
|
||||||
(e.g. videoplayer and cd burning tools)
|
|
||||||
* trigger lock screen and select the lock method
|
|
||||||
* KNotify support
|
|
||||||
* online help
|
|
||||||
* localisations for many languages
|
|
||||||
|
|
||||||
KPowersave supports schemes with following configurable specific
|
|
||||||
settings for:
|
|
||||||
* screensaver
|
|
||||||
* DPMS
|
|
||||||
* autosuspend
|
|
||||||
* scheme specific blacklist for autosuspend
|
|
||||||
* notification settings
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n applications/%{kdecomp}
|
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
|
|
||||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
|
||||||
|
|
||||||
%if 0%{?rhel} || 0%{?fedora}
|
|
||||||
%__mkdir_p build
|
|
||||||
cd build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%cmake \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
|
||||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
|
||||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
|
||||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
|
||||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
|
||||||
-DCMAKE_SKIP_RPATH="OFF" \
|
|
||||||
..
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
%__make install DESTDIR=%{buildroot} -C build
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
update-desktop-database %{tde_appdir} > /dev/null
|
|
||||||
/sbin/ldconfig
|
|
||||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
|
||||||
|
|
||||||
%postun
|
|
||||||
update-desktop-database %{tde_appdir} > /dev/null
|
|
||||||
/sbin/ldconfig
|
|
||||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
|
||||||
%{tde_bindir}/kpowersave
|
|
||||||
%{tde_libdir}/libkdeinit_kpowersave.la
|
|
||||||
%{tde_libdir}/libkdeinit_kpowersave.so
|
|
||||||
%{tde_tdelibdir}/kpowersave.la
|
|
||||||
%{tde_tdelibdir}/kpowersave.so
|
|
||||||
%{tde_tdeappdir}/kpowersave.desktop
|
|
||||||
%{tde_datadir}/apps/kpowersave/eventsrc
|
|
||||||
%{tde_datadir}/apps/kpowersave/icons/*/*/*/*.png
|
|
||||||
%{tde_datadir}/icons/hicolor/*/*/*.png
|
|
||||||
%{tde_datadir}/autostart/kpowersave-autostart.desktop
|
|
||||||
%{tde_datadir}/config/kpowersaverc
|
|
||||||
|
|
||||||
%Changelog
|
|
||||||
* Sat Aug 18 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3-3
|
|
||||||
- Rebuilt for tdelibs-3.5.13-11
|
|
||||||
- Switch to v3.5.13-sru branch
|
|
||||||
|
|
||||||
* Sat Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-2
|
|
||||||
- Add missing /sbin/ldconfig
|
|
||||||
- Add missing doc file
|
|
||||||
|
|
||||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-1
|
|
||||||
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
|
@ -1,109 +0,0 @@
|
|||||||
# Default version for this component
|
|
||||||
%define kdecomp kwin-style-crystal
|
|
||||||
%define version 1.0.5
|
|
||||||
%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 %{tde_prefix}/share/doc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# TDE 3.5.13 specific building variables
|
|
||||||
BuildRequires: autoconf automake libtool m4
|
|
||||||
%define tde_docdir %{_docdir}
|
|
||||||
%define tde_includedir %{tde_includedir}/kde
|
|
||||||
%define tde_libdir %{tde_libdir}/kde3
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-%{kdecomp}
|
|
||||||
Summary: Semi transparant window decoration 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: %{tde_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{kdecomp}-3.5.12.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: tqtinterface-devel
|
|
||||||
BuildRequires: trinity-tdelibs-devel
|
|
||||||
BuildRequires: trinity-tdebase-devel
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: gettext
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
Crystal offers you pseudo transparent titlebar, buttons and borders
|
|
||||||
transparent, so you can see more of your lovely background image
|
|
||||||
Transparancy and buttons can be costumized to match your wishes.
|
|
||||||
Offers rounded corners as well
|
|
||||||
|
|
||||||
And it is of course nice to look at. Upstream says:
|
|
||||||
"- Don't forget to breathe, while drooling."
|
|
||||||
|
|
||||||
|
|
||||||
%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,%{tde_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
|
|
||||||
unset QTDIR; . /etc/profile.d/qt.sh
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
||||||
|
|
||||||
%configure \
|
|
||||||
--disable-rpath \
|
|
||||||
--with-extra-includes=%{tde_includedir}/tqt
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
%__make install DESTDIR=%{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
|
||||||
|
|
||||||
%postun
|
|
||||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
%{tde_tdelibdir}/kwin3_crystal.la
|
|
||||||
%{tde_tdelibdir}/kwin3_crystal.so
|
|
||||||
%{tde_tdelibdir}/kwin_crystal_config.la
|
|
||||||
%{tde_tdelibdir}/kwin_crystal_config.so
|
|
||||||
%{tde_datadir}/apps/kwin/crystal.desktop
|
|
||||||
|
|
||||||
|
|
||||||
%Changelog
|
|
||||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
|
|
||||||
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
|
@ -1,124 +0,0 @@
|
|||||||
# Default version for this component
|
|
||||||
%define kdecomp kwin-style-crystal
|
|
||||||
|
|
||||||
# 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_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/kde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/tde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_tdedocdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-%{kdecomp}
|
|
||||||
Summary: Semi transparant window decoration for Trinity.
|
|
||||||
Version: 1.0.5
|
|
||||||
Release: 2%{?dist}%{?_variant}
|
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
Group: Applications/Utilities
|
|
||||||
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
URL: http://www.trinitydesktop.org/
|
|
||||||
|
|
||||||
Prefix: %{tde_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{kdecomp}-3.5.13.1.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1
|
|
||||||
BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
|
|
||||||
BuildRequires: trinity-tdebase-devel >= 3.5.13.1
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: gettext
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
Crystal offers you pseudo transparent titlebar, buttons and borders
|
|
||||||
transparent, so you can see more of your lovely background image
|
|
||||||
Transparancy and buttons can be costumized to match your wishes.
|
|
||||||
Offers rounded corners as well
|
|
||||||
|
|
||||||
And it is of course nice to look at. Upstream says:
|
|
||||||
"- Don't forget to breathe, while drooling."
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
|
||||||
%debug_package
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{kdecomp}-3.5.13.1
|
|
||||||
|
|
||||||
# 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|%{tde_includedir}/tqt|g" \
|
|
||||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
|
||||||
|
|
||||||
%__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"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR; . /etc/profile.d/qt3.sh
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
||||||
|
|
||||||
%configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--bindir=%{tde_bindir} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--includedir=%{tde_tdeincludedir} \
|
|
||||||
--libdir=%{tde_libdir} \
|
|
||||||
--mandir=%{tde_mandir} \
|
|
||||||
--disable-rpath \
|
|
||||||
--with-extra-includes=%{tde_includedir}/tqt
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
%__make install DESTDIR=%{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
%{tde_tdelibdir}/kwin3_crystal.la
|
|
||||||
%{tde_tdelibdir}/kwin3_crystal.so
|
|
||||||
%{tde_tdelibdir}/kwin_crystal_config.la
|
|
||||||
%{tde_tdelibdir}/kwin_crystal_config.so
|
|
||||||
%{tde_datadir}/apps/kwin/crystal.desktop
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-2
|
|
||||||
- Initial build for TDE 3.5.13.1
|
|
||||||
|
|
||||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
|
|
||||||
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
|
@ -1,116 +0,0 @@
|
|||||||
# Default version for this component
|
|
||||||
%define kdecomp kwin-style-crystal
|
|
||||||
|
|
||||||
# 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_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/kde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/kde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/kde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_tdedocdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-%{kdecomp}
|
|
||||||
Summary: Semi transparant window decoration for Trinity.
|
|
||||||
Version: 1.0.5
|
|
||||||
Release: 1%{?dist}%{?_variant}
|
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
Group: Applications/Utilities
|
|
||||||
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
URL: http://www.trinitydesktop.org/
|
|
||||||
|
|
||||||
Prefix: %{tde_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{kdecomp}-3.5.13.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: tqtinterface-devel
|
|
||||||
BuildRequires: trinity-tdelibs-devel
|
|
||||||
BuildRequires: trinity-tdebase-devel
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: gettext
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
Crystal offers you pseudo transparent titlebar, buttons and borders
|
|
||||||
transparent, so you can see more of your lovely background image
|
|
||||||
Transparancy and buttons can be costumized to match your wishes.
|
|
||||||
Offers rounded corners as well
|
|
||||||
|
|
||||||
And it is of course nice to look at. Upstream says:
|
|
||||||
"- Don't forget to breathe, while drooling."
|
|
||||||
|
|
||||||
|
|
||||||
%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|%{tde_includedir}/tqt|g" \
|
|
||||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
|
||||||
|
|
||||||
%__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"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR; . /etc/profile.d/qt.sh
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
||||||
|
|
||||||
%configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--bindir=%{tde_bindir} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--libdir=%{tde_libdir} \
|
|
||||||
--mandir=%{tde_mandir} \
|
|
||||||
--includedir=%{tde_includedir} \
|
|
||||||
--disable-rpath \
|
|
||||||
--with-extra-includes=%{tde_includedir}/tqt
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
%__make install DESTDIR=%{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
%{tde_tdelibdir}/kwin3_crystal.la
|
|
||||||
%{tde_tdelibdir}/kwin3_crystal.so
|
|
||||||
%{tde_tdelibdir}/kwin_crystal_config.la
|
|
||||||
%{tde_tdelibdir}/kwin_crystal_config.so
|
|
||||||
%{tde_datadir}/apps/kwin/crystal.desktop
|
|
||||||
|
|
||||||
|
|
||||||
%Changelog
|
|
||||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
|
|
||||||
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
|
@ -1,65 +0,0 @@
|
|||||||
# Always build under "/usr"
|
|
||||||
%define _prefix /usr
|
|
||||||
|
|
||||||
Name: tqca-tls
|
|
||||||
Version: r14
|
|
||||||
Release: 1%{?dist}
|
|
||||||
|
|
||||||
Summary: TLS plugin for the Qt Cryptographic Architecture
|
|
||||||
License: LGPLv2+
|
|
||||||
Group: Applications/Internet
|
|
||||||
|
|
||||||
URL: http://delta.affinix.com/qca/
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
# Fix build in mach for QT apps
|
|
||||||
Patch0: qca-tls-1.0-mach.patch
|
|
||||||
# Build with openssl 1.0.0
|
|
||||||
Patch2: qca-tls-1.0-ossl10.patch
|
|
||||||
# Allows building with TQT3 from TDE
|
|
||||||
Patch10: tqca-tls-qmake-tqt3.patch
|
|
||||||
|
|
||||||
BuildRequires: tqt3-devel >= 3.4.0
|
|
||||||
BuildRequires: openssl-devel >= 0.9.8
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
This is a plugin to provide SSL/TLS capability to programs that use the TQt
|
|
||||||
Cryptographic Architecture (TQCA). TQCA is a library providing an easy API
|
|
||||||
for several cryptographic algorithms to TQt programs. This package only
|
|
||||||
contains the TLS plugin.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n dependencies/%{name}
|
|
||||||
%patch0 -p0 -b .mach
|
|
||||||
%patch2 -p1 -b .ossl10
|
|
||||||
%patch10 -p1
|
|
||||||
|
|
||||||
%build
|
|
||||||
./configure
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%__rm -rf %{?buildroot}
|
|
||||||
%__make install INSTALL_ROOT=%{?buildroot}
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{?buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%doc README COPYING
|
|
||||||
%attr(755,root,root) %{_libdir}/tqt3/plugins/crypto
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Sat Feb 18 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
|
|
||||||
- Initial build for TDE R14
|
|
||||||
- Spec file based on Fedora 12 'qca-tls-1.0-18'
|
|
@ -1,120 +0,0 @@
|
|||||||
%define _prefix /opt/trinity
|
|
||||||
|
|
||||||
Name: tqca
|
|
||||||
Version: 1.0
|
|
||||||
Release: r14.1%{?dist}
|
|
||||||
|
|
||||||
Summary: TQt Cryptographic Architecture
|
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: LGPLv2+
|
|
||||||
URL: http://delta.affinix.com/qca
|
|
||||||
Source0: %{name}-r14.tar.gz
|
|
||||||
Patch0: qca-1.0-mach.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Patch1: tqca-1.0-fix_tqt3_detection.patch
|
|
||||||
|
|
||||||
BuildRequires: tqt3-devel
|
|
||||||
BuildRequires: tqtinterface-devel
|
|
||||||
|
|
||||||
%description
|
|
||||||
Taking a hint from the similarly-named Java Cryptography Architecture,
|
|
||||||
QCA aims to provide a straightforward and cross-platform crypto API,
|
|
||||||
using Qt datatypes and conventions. QCA separates the API from the
|
|
||||||
implementation, using plugins known as Providers. The advantage of this
|
|
||||||
model is to allow applications to avoid linking to or explicitly depending
|
|
||||||
on any particular cryptographic library. This allows one to easily change
|
|
||||||
or upgrade crypto implementations without even needing to recompile the
|
|
||||||
application!
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Qt Cryptographic Architecture development files
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
This packages contains the development files for QCA
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n dependencies/tqca
|
|
||||||
%patch0 -p0 -b .mach
|
|
||||||
%patch1 -p1
|
|
||||||
perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
./configure \
|
|
||||||
--prefix=%{_prefix}
|
|
||||||
|
|
||||||
sed -i -e /strip/d Makefile
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING README TODO
|
|
||||||
%{_libdir}/*.so.*
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_includedir}/*.h
|
|
||||||
%{_libdir}/*.so
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-12
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jun 05 2008 Aurelien Bompard <abompard@fedoraproject.org> 1.0-11
|
|
||||||
- fix build
|
|
||||||
|
|
||||||
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0-10
|
|
||||||
- Autorebuild for GCC 4.3
|
|
||||||
|
|
||||||
* Sun Aug 26 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.0-9
|
|
||||||
- fix license tag
|
|
||||||
|
|
||||||
* Wed Aug 30 2006 Aurelien Bompard <abompard@fedoraproject.org> 1.0-8
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Sat Apr 08 2006 Aurelien Bompard <gauret[AT]free.fr> 1.0-7
|
|
||||||
- disable stripping (bug 186648)
|
|
||||||
|
|
||||||
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 1.0-6
|
|
||||||
- rebuild for FC5
|
|
||||||
|
|
||||||
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0-5
|
|
||||||
- rebuild on all arches
|
|
||||||
|
|
||||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
||||||
- rebuilt
|
|
||||||
|
|
||||||
* Thu Jan 13 2005 Aurelien Bompard <gauret[AT]free.fr> 0:1.0-3
|
|
||||||
- fix Category
|
|
||||||
- fix build on x86_64
|
|
||||||
|
|
||||||
* Thu Jan 13 2005 Aurelien Bompard <gauret[AT]free.fr> 0:1.0-0.fdr.2
|
|
||||||
- clean up comments to fix %%postun scriptlet.
|
|
||||||
|
|
||||||
* Mon Nov 22 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.0-0.fdr.1
|
|
||||||
- Initial RPM release.
|
|
@ -1,171 +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}/kde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/kde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Summary: Rio Karma tools
|
|
||||||
Name: trinity-libkarma
|
|
||||||
Version: 0.1.2
|
|
||||||
Release: 2%{?dist}%{?_variant}
|
|
||||||
License: GPLv2+
|
|
||||||
Group: System/Libraries
|
|
||||||
Url: http://www.freakysoft.de/html/libkarma/
|
|
||||||
|
|
||||||
Source: http://www.freakysoft.de/libkarma/libkarma-%{version}.tar.gz
|
|
||||||
Source2: http://bobcopeland.com/karma/banshee/preferences.fdi
|
|
||||||
Source3: http://bobcopeland.com/karma/banshee/multimedia-player-rio-karma.png
|
|
||||||
Source4: karma-sharp.dll.config
|
|
||||||
|
|
||||||
# [libkarma] Fix installation directories
|
|
||||||
Patch1: libkarma-0.1.2-fix_installation.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%name-root
|
|
||||||
|
|
||||||
BuildRequires: mono-devel
|
|
||||||
BuildRequires: taglib-devel
|
|
||||||
BuildRequires: libusb-devel
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
|
|
||||||
Obsoletes: trinity-libkarma-libs < %{version}-%{release}
|
|
||||||
Provides: trinity-libkarma-libs = %{version}-%{release}
|
|
||||||
|
|
||||||
Provides: libkarma = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
|
||||||
Rio Karma access library
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Rio Karma development files
|
|
||||||
Group: Development/C
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Provides: libkarma-devel = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
Rio Karma development files
|
|
||||||
|
|
||||||
|
|
||||||
%package -n trinity-karma-sharp
|
|
||||||
Summary: Rio Karma C# bindings
|
|
||||||
Group: Development/Other
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
Obsoletes: karma-sharp < %{version}-%{release}
|
|
||||||
Provides: karma-sharp = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n trinity-karma-sharp
|
|
||||||
Rio Karma C# bindings
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n libkarma-%{version}
|
|
||||||
%patch1 -p1 -b .fixdir
|
|
||||||
|
|
||||||
%build
|
|
||||||
# Do *NOT* use LIBDIR variable, it is used for internal purpose !!!
|
|
||||||
%__make \
|
|
||||||
DESTDIR=%{?buildroot} \
|
|
||||||
PREFIX=%{tde_prefix} \
|
|
||||||
LIB=%{_lib}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
%__rm -rf $RPM_BUILD_ROOT
|
|
||||||
%__mkdir_p $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%__make install \
|
|
||||||
DESTDIR=%{?buildroot} \
|
|
||||||
PREFIX=%{tde_prefix} \
|
|
||||||
LIB=%{_lib} \
|
|
||||||
CHOWNPROG=/bin/true \
|
|
||||||
CHGRPPROG=/bin/true
|
|
||||||
|
|
||||||
|
|
||||||
install -m 644 -D libkarma.fdi %buildroot%_sysconfdir/hal/fdi/information/20-rio-karma.fdi
|
|
||||||
install -m 644 -D %SOURCE2 %buildroot%_sysconfdir/hal/fdi/policy/preferences.fdi
|
|
||||||
install -m 644 -D %SOURCE3 %buildroot%{tde_datadir}/icons/hicolor/32x32/devices/multimedia-player-rio-karma.png
|
|
||||||
|
|
||||||
cat > README%{?dist} << EOF
|
|
||||||
For automatic mounting, add the following line to your
|
|
||||||
/etc/fstab. Otherwise gnome-volume-manager will refuse to mount the
|
|
||||||
device, as it doesn't know about the Karma's proprietary filesystem.
|
|
||||||
|
|
||||||
/dev/disk/by-id/usb-Rio_Rio_Karma_0000000000000000-part2 /media/karma omfs user,noauto 0 0
|
|
||||||
|
|
||||||
EOF
|
|
||||||
|
|
||||||
install -m 644 -D %SOURCE4 %buildroot%{tde_libdir}/karma-sharp/karma-sharp.dll.config
|
|
||||||
|
|
||||||
# Removes doc
|
|
||||||
%__rm -rf %{?buildroot}%{tde_docdir}/libkarma/
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
|
||||||
/sbin/ldconfig || :
|
|
||||||
|
|
||||||
%postun
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
|
||||||
/sbin/ldconfig || :
|
|
||||||
|
|
||||||
%post devel
|
|
||||||
/sbin/ldconfig || :
|
|
||||||
|
|
||||||
%postun devel
|
|
||||||
/sbin/ldconfig || :
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc ChangeLog THANKS TODO README%{?dist}
|
|
||||||
%config(noreplace) %_sysconfdir/hal/fdi/information/20-rio-karma.fdi
|
|
||||||
%config(noreplace) %_sysconfdir/hal/fdi/policy/preferences.fdi
|
|
||||||
%{tde_bindir}/riocp
|
|
||||||
%{tde_bindir}/chprop
|
|
||||||
%{tde_mandir}/man1/*.1*
|
|
||||||
%attr(4755,root,root) %{tde_bindir}/karma_helper
|
|
||||||
%{tde_datadir}/icons/hicolor/32x32/devices/multimedia-player-rio-karma.png
|
|
||||||
%{tde_libdir}/libkarma.so.0*
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{tde_includedir}/libkarma/
|
|
||||||
%{tde_libdir}/libkarma.a
|
|
||||||
%{tde_libdir}/libkarma.so
|
|
||||||
|
|
||||||
%files -n trinity-karma-sharp
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{tde_libdir}/karma-sharp/*
|
|
||||||
%{tde_libdir}/pkgconfig/karma-sharp.pc
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Aug 03 2012 Francois Andriot <francois.andriot@free.fr> 0.1.2-2
|
|
||||||
- Add support for MGA2 and MDV2011
|
|
||||||
- Removes 'libs' subpackage
|
|
||||||
- Fix installation directories
|
|
||||||
|
|
||||||
* Mon Apr 30 2012 Francois Andriot <francois.andriot@free.fr> 0.1.2-1
|
|
||||||
- Build for RHEL 5, RHEL 6, Fedora 15, Fedora 16, Fedora 17
|
|
||||||
- Based on 'libkarma-0.1.2-1mdv2011.0'
|
|
||||||
|
|
Loading…
Reference in new issue