Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alazzurra:kstreamripper
kstreamripper
kstreamripper-0.7.1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kstreamripper-0.7.1.spec of Package kstreamripper
# norootforbuild # This file is generated by the script set-version.sh. # All changes you do to this file will be lost. # The value of the following "name" tag will be set by set-version.sh to "kstreamripper" for # stable releases and to "kstreamripper-unstable" for unstable releases. Name: kstreamripper Version: 0.7.1 %if 0%{?mandriva_version} Release: %mkrel 0 %else Release: 0 %endif # see http://fedoraproject.org/wiki/Packaging/LicensingGuidelines for details # see http://fedoraproject.org/wiki/Licensing for details # see http://en.opensuse.org/SUSE_Package_Conventions/RPM_Style#1.6._License_Tag for details License: GPLv2, v3 %if 0%{?mandriva_version} # see http://wiki.mandriva.com/en/Development/Packaging/Groups for details Group: Sound %else # see http://en.opensuse.org/SUSE_Package_Conventions/RPM_Groups for details Group: Productivity/Multimedia/Sound/Utilities %endif Summary: Recorder for Internet radios (based on Streamripper), formaly KRadioRipper Summary(de.UTF-8): Aufnahmeprogramm für Internetradios (basiert auf Streamripper), vormals KRadioRipper Summary(cz.UTF-8): Nahrávač internetových rádií (založený na Streamripperu), dříve KRadioRipper Summary(pt_BR.UTF-8): Gravador para rádios da internet (baseado no Streamripper), formalmente KRadioRipper URL: http://kstreamripper.sourceforge.net/ Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake >= 2.4 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: desktop-file-utils %if 0%{?fedora_version} %if 0%{?fedora_version} <= 12 %define withoutlibproxy 1 %endif %endif %if! 0%{?withoutlibproxy:1} # TODO or libproxy.so.0 BuildRequires: libproxy-devel >= 0.3.1 BuildRequires: libproxy >= 0.3.1 %if 0%{?opensuse_bs} BuildRequires: libproxy-webkit %endif # TODO or libproxy0-config-kde Requires: libproxy-kde >= 0.3.1 # Requiere this package not only for runtime, but also for build. # This way we make sure that a package of this name is available BuildRequires: libproxy-kde >= 0.3.1 %endif BuildRequires: kdelibs-devel BuildRequires: gcc-c++ %endif %if 0%{?mandriva_version} BuildRequires: kdelibs4-devel %if 0%{?mandriva_version} <= 201000 %define withoutlibproxy 1 %else # TODO or libproxy.so.0 BuildRequires: libproxy-devel >= 0.3.1 BuildRequires: libproxy >= 0.3.1 # TODO or libproxy0-config-kde Requires: libproxy-kde >= 0.3.1 # Requiere this package not only for runtime, but also for build. # This way we make sure that a package of this name is available BuildRequires: libproxy-kde >= 0.3.1 %endif # The following lines are because the build service needs to know how to satisfy # esound needed by lib64esound0: esound-daemon or pulseaudio-esound-compat... %if 0%{?opensuse_bs} BuildRequires: pulseaudio-esound-compat BuildRequires: kde4-l10n-en_GB BuildRequires: free-kde4-config BuildRequires: phonon-gstreamer BuildRequires: mandriva-theme-Free BuildRequires: mandriva-theme-Free-screensaver BuildRequires: wget %endif %endif %if 0%{?suse_version} BuildRequires: update-desktop-files %if 0%{?suse_version} < 1120 %define withoutlibproxy 1 %else BuildRequires: libproxy-devel >= 0.3.1 %if 0%{?suse_version} == 1120 BuildRequires: libproxy0 >= 0.3.1 %else BuildRequires: libproxy.so.1 >= 0.3.1 %endif Requires: libproxy-kde >= 0.3.1 # Requiere this package not only for runtime, but also for build. # This way we make sure that a package of this name is available BuildRequires: libproxy-kde >= 0.3.1 %endif BuildRequires: libkde4-devel # Alternative: The macro %%kde4_runtime_requires defines # not only a minimal version, but also a maximal version of KDE. Requires: kdebase4-runtime >= %_kde_platform_version # Requiere this package not only for runtime, but also for build. # This way we make sure that a package of this name is available BuildRequires: kdebase4-runtime >= %_kde_platform_version %endif # Fedora etc. doesn't support the tags "Recommends", "Suggests" and "Enhanches". %if 0%{?suse_version} || 0%{?mandriva_version} # Maybe you want to use "Requieres" or "Suggests" instead of "Recommends" if streamripper # is avaible in your repository? Recommends: streamripper >= 1.63 Enhances: streamripper %endif Provides: kradioripper = %{version} Obsoletes: kradioripper = %{version} # This following "Conflicts" tag will be removed by set-version.sh, # if it is a "kstreamripper" release (and not a "kstreamripper-unstable" release)... %description #<description> Start of description that is extracted for i18n KStreamRipper (formaly KRadioRipper) is a program for recording Internet radios and other streams which comes with a stream catalog. For streams that provide information about the song title, it can split the stream and create an own file for each track - with a corresponding file name and corresponding metadata. KStreamRipper is based on Streamripper and provides a well-arranged user interface for whose features. Like Streamripper, it accepts MP3, AAC and OGG streams from Shoutcast-servers and Icecast-servers. #</description> %description -l de.UTF-8 KStreamRipper (vormals KRadioRipper) ist ein Aufnahmeprogramm für Internetradios und andere Streams. KStreamRipper enthält auch ein Stream- Verzeichnis. Streams, die den Titel der Stücke bereitstellen, können automatisch geschnitten werden, sodass für jedes Stück eine eigene Datei erstellt wird - mit entsprechendem Dateinamen und entsprechenden Metadaten. KStreamRipper basiert auf Streamripper und bietet eine gut organisierte Oberfläche für dessen Funktionen. KStreamRipper akzeptiert, wie auch Streamripper, Mp3-, AAC- und Ogg-Streams von Shoutcast- und Icecast-Servern. %description -l cz.UTF-8 KStreamRipper (dříve KRadioRipper) je programem určeným pro nahrávání internetových rádií a dalších datových proudů, který přichází s přehledem datových proudů. U datových proudů, které poskytují údaje o názvu skladby, může provést rozdělení datového proudu a vytvořit pro každou písničku samostatný soubor s odpovídajícím souborovým názvem a shodnými metadaty. KStreamRipper je založen na programu Streamripper a poskytuje pro jeho funkce pěkně upravené uživatelské rozhraní. Stejně jako Streamripper přijímá datové proudy MP3, AAC a OGG ze serverů Shoutcast a Icecast. %description -l pt_BR.UTF-8 KStreamRipper é um programa para gravar rádios da Internet e outros streams que vem com um diretório stream. Para streams que fornecem informações sobre o título da canção, ele pode dividí-lo e criar um arquivo próprio para cada faixa - com um nome correspondente do arquivo e correspondentes metadados. KStreamRipper é baseado no Streamripper e cujas características, fornece uma interface de usuário bem disposta. Como Streamripper, ele aceita MP3, AAC e Streams OGG de servidores Shoutcast e servidores Icecast. # The following section _must_ be immediatly befor the prep section. # (see http://lists.opensuse.org/opensuse-packaging/2007-11/msg00000.html) # # To disable debug packages, we do: %define debug_package %{nil} %prep # q means quiet. n sets the directory: %setup -q -n kstreamripper %build %if 0%{?withoutlibproxy:1} %define cmake_parameters -DWITHOUT_LIBPROXY=YES %endif %cmake_kde4 %{?cmake_parameters} # %%make_jobs would be an alternative, but it works only on openSUSE. # I asume that there is no much difference. %__make %{?jobs:-j %jobs} %install %if 0%{?suse_version} %makeinstall %suse_update_desktop_file kstreamripper %endif %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} %makeinstall DESTDIR=%{buildroot} desktop-file-install --delete-original --vendor fedora --dir=%{buildroot}/%{_datadir}/appli\ cations/kde4 %{buildroot}/%{_datadir}/applications/kde4/kstreamripper.desktop %endif %if 0%{?mandriva_version} cd build %makeinstall DESTDIR=%{buildroot} # Mandriva uses Portlands XDGs) desktop-file-install which does nothing than a simple (and # incomplete) check. So we don't need it. # desktop-file-install --dir %%{buildroot}/%%{_datadir}/applications/kde4\ # %%{buildroot}/%%{_datadir}/applications/kde4/kstreamripper.desktop %endif # Using marcro of syntax "%%find_lang name [filelist]". Here, it searches for kstreamripper.mo files # and creates a list of these files with the respective %%doc and %%lang(LOCALE) marks. Because we # leave "filelist" blank, the filelist is written to "kstreamripper.lang". For details, see # http://en.opensuse.org/Packaging/SUSE_Package_Conventions/RPM_Macros#3.8._.25find_lang # So, finally "%%{_datadir}/locale/*/LC_MESSAGES/kstreamripper.mo" is no longer needed in the # "files" section. %find_lang kstreamripper %if 0%{?create-devel-doc-package} cd scripts ./remove-old-apidoc.sh ./make-apidoc.sh %endif # fdupes searches for duplicate files. It will use hard links instead; this way, the size of the # installed package is reduced. However, actually we don't need this and it is commented out. If # we want to use it, we would have to add "BuildRequires: fdupes" above. # %%fdupes $RPM_BUILD_ROOT %if 0%{?suse_version} %kde_post_install %endif %clean rm -rf "%{buildroot}" %if 0%{?mandriva_version} %post %{update_menus} %postun %{clean_menus} %endif %files -f %{?mandriva_version:build/}kstreamripper.lang # leave file permissions "as is", but change owner and group to "root"... %defattr(-,root,root) %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %{_datadir}/icons/hicolor/scalable/apps/kstreamripper.svgz %dir %{_datadir}/icons/hicolor/8x8 %dir %{_datadir}/icons/hicolor/16x16 %dir %{_datadir}/icons/hicolor/22x22 %dir %{_datadir}/icons/hicolor/32x32 %dir %{_datadir}/icons/hicolor/48x48 %dir %{_datadir}/icons/hicolor/64x64 %dir %{_datadir}/icons/hicolor/128x128 %dir %{_datadir}/icons/hicolor/256x256 %dir %{_datadir}/icons/hicolor/8x8/apps %dir %{_datadir}/icons/hicolor/16x16/apps %dir %{_datadir}/icons/hicolor/22x22/apps %dir %{_datadir}/icons/hicolor/32x32/apps %dir %{_datadir}/icons/hicolor/48x48/apps %dir %{_datadir}/icons/hicolor/64x64/apps %dir %{_datadir}/icons/hicolor/128x128/apps %dir %{_datadir}/icons/hicolor/256x256/apps %{_datadir}/icons/hicolor/*/apps/kstreamripper.png %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} %{_datadir}/applications/kde4/fedora-kstreamripper.desktop %else %{_datadir}/applications/kde4/kstreamripper.desktop %endif %{_bindir}/kstreamripper %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mandriva_version} %{_datadir}/config.kcfg/* %else %{_datadir}/kde4/config.kcfg/* %endif %doc ABOUT COPYING LICENSE LICENSE.GPL2 LICENSE.GPL3 NEWS WARRANTY %if 0%{?mandriva_version} %dir %{_datadir}/apps/kstreamripper %{_datadir}/apps/kstreamripper/* %else %dir %{_datadir}/kde4/apps/kstreamripper %{_datadir}/kde4/apps/kstreamripper/* %endif %changelog * Sat May 08 2010 0.7.1 - remove devel-doc packages * Wed Apr 21 2010 0.6.20 - create also devel-doc packages * Sun Mar 14 2010 Lukas Sommer 0.6.15 - providing Mandriva builds by disabling libproxy support up to 2010.0 - call %%update_menus and %%clean_menus for Mandriva * Thu Sep 30 2009 0.6 - using %%cmake_kde4 for Mandriva also - initial support for libproxy (excluded for current distributions) - better adaption for openSUSE builds - qualifying the .mo files respectively - adding ABOUT file - new, more detailed description - reducing maximal line size to 100 characters - trailing whitespace removed * Thu Mar 26 2009 0.4.82 - localizations added (czech, brazilian portuguese, german) * Thu Jan 20 2009 0.4.50 - removed workarounds for Mandriva bugs in openSUSE build service * Thu Dec 23 2008 0.4.28 - disabling debug packages * Wed Nov 26 2008 0.4.8 - support for localization - installing the hole _datadir/kde4/apps/kstreamripper/* instead of single files * Fri Nov 14 2008 0.4.7 - recommanding streamripper at least in versio 1.63 * Thu Nov 11 2008 0.4.4 - revolving ambigiously dependency for Mandriva explicitly when using openSUSE build service * Wed Oct 08 2008 0.4.2 - Integrated Mandriva support. Thanks to Bock & Busse System GbR: http://www.randosweb.de * Sun Sep 14 2008 0.3.0-1 - streamripper no longer requiered but only recommended * Sat Sep 13 2008 0.2.1-1 - ported to openSUSE build service - support for Fedora 9 * Sat May 24 2008 Detlef Reichelt <detlef at links2linux de> 0.2.1-0.pm.1 - initial build for packman
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