kmusicmanage.spec (New)

Tomasz Kowalczyk kowalczt w ee.pw.edu.pl
Śro, 2 Mar 2005, 14:34:11 CET


Witam.
Zasugerowany odpowiedzią Pawła S. zrobiłem speca korzystającego z unsermake.
Wydaje mi się, że jest teraz do przyjęcia.

-- 
Pozdrawiam
Tomasz Kowalczyk
-------------- następna część ---------
# $Revision:$, $Date:$
Summary:	Audio files colection manager for KDE
Summary(pl):	Menadżer kolekcji plików muzycznych dla KDE
Name:		kmusicmanager
Version:	1.1
Release:	1
License:	GPL v2
Group:		Applications/Multimedia
Source0:	http://dl.sourceforge.net/kmusicmanager/%{name}-%{version}.tar.gz
# Source0-md5:	5ec68c4329cc43fb5ece62d01fa084d7
Source1:	http://ep09.pld-linux.org/~djurban/kde/kde-common-admin.tar.bz2
Patch0:		%{name}-make.patch
Patch1:		%{name}-desktop.patch
URL:		http://kmusicmanager.sourceforge.net
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	kdelibs-devel >= 9:3.2.0
BuildRequires:	rpmbuild(macros) >= 1.129
BuildRequires:	taglib-devel
BuildRequires:	unsermake >= 040805
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
KMusicManager main features are :
- manages your music collection of MP3, Ogg-Vorbis and FLAC files,
- monitors directories for new songs,
- you can edit the tags of your songs,
- create playlists, using drag and drop,
- you can choose what KMusicManager plays next
  by dragging and dropping songs into the play queue.

%description -l pl
Główne właściwości KMusicManager :
- zarządzanie kolekcjami plików MP3, Ogg-Vorbis i FLAC,
- monitorowanie katalogow z muzyką,
- edycja tagow ID3
- tworzenie i edycja playlist przez drag and drop.

%prep
#setup -q -n %{name}
%setup -q -a1
%patch0 -p1
%patch1 -p1

%build
cp -f /usr/share/automake/config.sub admin
export UNSERMAKE=/usr/share/unsermake/unsermake
%{__make} -f admin/Makefile.common cvs

%configure \
%if "%{_lib}" == "lib64"
	--enable-libsuffix=64 \
%endif
	--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
	--with-qt-libraries=%{_libdir} \
	--with-extra-includes=%{_includedir}/arts
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_desktopdir}

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT \
	kde_appsdir=%{_desktopdir} \
	kde_htmldir=%{_kdedocdir} \
	kde_libs_htmldir=%{_kdedocdir} \

%find_lang %{name} --with-kde

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%{_libdir}/*
%{_desktopdir}/*
%{_iconsdir}/*/*/apps/%{name}.png
%{_datadir}/apps/%{name}

%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: kmusicmanager-make.patch
Type: text/x-diff
Size: 2310 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20050302/c1962ba9/kmusicmanager-make.bin
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: kmusicmanager-desktop.patch
Type: text/x-diff
Size: 1170 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20050302/c1962ba9/kmusicmanager-desktop.bin


Więcej informacji o liście dyskusyjnej pld-devel-pl