Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:fritzbox
ffgtk
ffgtk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffgtk.spec of Package ffgtk
# # spec file for package ffgtk # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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://bugs.opensuse.org/ # Name: ffgtk Version: 0.8.5 Release: 1.1 Summary: FritzFun GTK - Fax-Software and Call-Monitor! License: GPL-2.0 Group: Productivity/Networking/Other Url: http://www.tabos.org/ffgtk/ Source: %{name}-%{version}.tar.gz Source1: README.SUSE Patch: ffgtk.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libtool autoconf automake BuildRequires: curl-devel evolution-devel evolution-data-server-devel gcc-c++ BuildRequires: intltool gtk2-devel libnotify-devel libxml2-devel BuildRequires: libcapi20-devel >= 20120610 BuildRequires: libsndfile-devel alsa-devel speex-devel libgdata-devel libpulse-devel portaudio-devel BuildRequires: spandsp-devel >= 0.0.6 dbus-1-devel dbus-1-glib-devel BuildRequires: gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel BuildRequires: libkde4-devel libgnome-keyring-devel pkg-config %if 0%{?suse_version} > 1320 BuildRequires: speexdsp-devel %endif BuildRequires: update-desktop-files Requires: libcapi20-3 >= 20120610 Requires: net-tools libspandsp2 >= 0.0.6 Requires: %{name}-lang = %{version} %define cups_lib_dir %{_prefix}/lib/cups %kde4_runtime_requires %description Fritz Fun (ffgtk) is a clean solution for controlling the FRITZ!Box or compatible router with Linux. It offers a rich feature list, including caller monitor and fax support. It offers integration with the KDE, evolution and Thurderbird address books. %package plugins-kwallet4 Summary: FritzFun GTK - KDE Keymanager plugin Group: Productivity/Networking/Other Requires: %{name} = %{version} %kde4_runtime_requires %description plugins-kwallet4 Fritz Fun (ffgtk) is a clean solution for controlling the FRITZ!Box or compatible router with Linux. It offers a rich feature list, including caller monitor and fax support. It offers integration with the KDE, evolution and Thurderbird address books. This package adds KWallet password storage and KDE support. %package plugins-gnome-keyring Summary: FritzFun GTK - GNOME Keymanager plugin Group: Productivity/Networking/Other Requires: %{name} = %{version} Requires: gnome-keyring %description plugins-gnome-keyring Fritz Fun (ffgtk) is a clean solution for controlling the FRITZ!Box or compatible router with Linux. It offers a rich feature list, including caller monitor and fax support. It offers integration with the KDE, evolution and Thurderbird address books. This package adds keyring password storage and Gnome support. %package plugins-cups-fax Summary: FritzFun GTK - CUPS Fax plugin Group: Productivity/Networking/Other Requires: %{name} = %{version} Requires: cups cups-client %description plugins-cups-fax Fritz Fun (ffgtk) is a clean solution for controlling the FRITZ!Box or compatible router with Linux. It offers a rich feature list, including caller monitor and fax support. It offers integration with the KDE, evolution and Thurderbird address books. This package adds fax support to cups. %package plugins-pulseaudio Summary: FritzFun GTK - PulseAudio plugin Group: Productivity/Networking/Other Requires: %{name} = %{version} Requires: pulseaudio %description plugins-pulseaudio Fritz Fun (ffgtk) is a clean solution for controlling the FRITZ!Box or compatible router with Linux. It offers a rich feature list, including caller monitor and fax support. It offers integration with the KDE, evolution and Thurderbird address books. This package adds pulseaudio support for ffgtk. %package plugins-ebook Summary: FritzFun GTK - Evolution adressbook plugin Group: Productivity/Networking/Other Requires: %{name} = %{version}-%{release} Requires: evolution %description plugins-ebook Fritz Fun (ffgtk) is a clean solution for controlling the FRITZ!Box or compatible router with Linux. It offers a rich feature list, including caller monitor and fax support. It offers integration with the KDE, evolution and Thurderbird address books. This package contains the ebook (evolution adressbook) plugin for ffgtk. %package plugins-gdata Summary: FritzFun GTK - Google adressbook plugin Group: Productivity/Networking/Other Requires: %{name} = %{version}-%{release} #%%if %%{defined suse_version} #Requires: libgdata13 #%%else #Requires: libgdata #%%endif %description plugins-gdata Fritz Fun (ffgtk) is a clean solution for controlling the FRITZ!Box or compatible router with Linux. It offers a rich feature list, including caller monitor and fax support. It offers integration with the KDE, evolution and Thurderbird address books. This package contains the gdata (Google adressbook) plugin for ffgtk. %lang_package %prep %setup -q -n %{name}-%{version} %patch -p1 %build # Disable -Werror=deprecated-declarations export CFLAGS="-Wno-deprecated-declarations" ./autogen.sh %configure \ --libexecdir=%{_libexecdir} \ --with-gnome-keyring=yes \ --with-pulseaudio=yes \ --with-portaudio=yes \ --with-kwallet4=yes \ --with-faxophone=yes \ --with-dbus=yes \ --with-libnotify=yes \ --with-gdata=yes \ --with-ebook=yes \ --with-spandsp=yes \ --disable-static make %{?_smp_mflags} %install cp %{SOURCE1} . %makeinstall %suse_update_desktop_file %{name} Network # cups-fax stuff %{__install} -d %{buildroot}/var/spool/%{name} %{__install} -d %{buildroot}/%{cups_lib_dir}/backend touch %{buildroot}/%{cups_lib_dir}/backend/%{name}-cups chmod 755 %{buildroot}%{_datadir}/ffgtk/install-fax.sh chmod 755 %{buildroot}%{_datadir}/ffgtk/ffgtk-cups # language stuff %find_lang %{name} #%%pre cups-fax #/usr/bin/getent group %%{name} >/dev/null 2>&1 || /usr/sbin/groupadd -r %%{name} #/usr/bin/getent group %%{name} >/dev/null 2>&1 || /usr/sbin/groupmod -A lp %%{name} %post plugins-cups-fax ln -fs %{_datadir}/%{name}/%{name}-cups %{cups_lib_dir}/backend LPADMIN="/usr/sbin/lpadmin" if [ "$1" -eq 1 ] && [ -x $LPADMIN ] ; then $LPADMIN -p Fax -E -v ffgtk-cups:/ -m Postscript.ppd.gz fi exit 0 %preun plugins-cups-fax LPADMIN="/usr/sbin/lpadmin" if [ "$1" -eq 0 ] && [ -x $LPADMIN ] ; then $LPADMIN -x Fax -E fi exit 0 %files %defattr(-,root,root) %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %dir %{_datadir}/%{name} %{_bindir}/%{name} %{_libdir}/%{name}/plugins # exclude pulseaudio %exclude %{_libdir}/%{name}/plugins/lib_audio_pulse.* # exclude ebook %exclude %{_libdir}/%{name}/plugins/lib_ab_ebook.* # exclude gdata %exclude %{_libdir}/%{name}/plugins/lib_ab_google.* # exclude kwallet4 %exclude %{_libdir}/%{name}/plugins/lib_pwd_kde4.* # exclude gnome keyring %exclude %{_libdir}/%{name}/plugins/lib_pwd_gnome.* # exclude fax %exclude %{_datadir}/ffgtk/%{name}-* %exclude %{_datadir}/ffgtk/install-fax.sh %{_datadir}/%{name} %attr(0755,root,root) %{_datadir}/%{name}/%{name}-cups %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_datadir}/icons/*/*/apps/* %exclude %{_datadir}/icons/ubuntu* %doc %{_mandir}/man1/%{name}.1.gz %doc AUTHORS COPYING ChangeLog README README.SUSE %files plugins-pulseaudio %defattr(-,root,root) %{_libdir}/%{name}/plugins/lib_audio_pulse.* %files plugins-ebook %defattr(-,root,root) %{_libdir}/%{name}/plugins/lib_ab_ebook.* %files plugins-gdata %defattr(-,root,root) %{_libdir}/%{name}/plugins/lib_ab_google.* %files plugins-kwallet4 %defattr(-,root,root) %{_libdir}/%{name}/plugins/lib_pwd_kde4.* %files plugins-gnome-keyring %defattr(-,root,root) %{_libdir}/%{name}/plugins/lib_pwd_gnome.* %files plugins-cups-fax %defattr(-,root,root) %dir /var/spool/%{name} #%%attr(0775,root,%%{name}) /var/spool/%%{name} %attr(0775,root,lp) /var/spool/%{name} %dir %{cups_lib_dir} %dir %{cups_lib_dir}/backend %ghost %{cups_lib_dir}/backend/%{name}-cups %{_datadir}/ffgtk/%{name}-* %{_datadir}/ffgtk/install-fax.sh %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor