Z nudów naklepałem taki oto spec. Programik w sumie taki sobie, ale ma możliwość edycji tagów ID3 i odsłuchu ... wiec sie może przydać. Teraz kwestia merytoryczna. Niewiedziałem dokładnie co zrobić z plikiem .desktop, ale chyba mniejwięcej wyszło dobrze. Czekam na sugestie i wrzucenie do cvs.
-- Pozdrawiam tyson <[EMAIL PROTECTED]>
# $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 Patch0: %{name}.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 %patch0 -p1 %build cp -f /usr/share/automake/config.sub admin #export PATH=/usr/share/unsermake:$PATH %{__perl} -pi -e 's/(automake\*1\.6\.\* \| automake\*1\.7\*)/automake*1.[6-9]*/' admin/cvs.sh %{__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_htmldir=%{_kdedocdir} \ kde_libs_htmldir=%{_kdedocdir} \ kde_appsdir=%{_desktopdir} \ %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 <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log:$
diff -urN kmusicmanager-orig/src/kmusicmanager.desktop kmusicmanager-1.1/src/kmusicmanager.desktop --- kmusicmanager-orig/src/kmusicmanager.desktop 2004-09-13 19:11:05.000000000 +0200 +++ kmusicmanager-1.1/src/kmusicmanager.desktop 2005-02-28 19:20:49.881533448 +0100 @@ -1,8 +1,10 @@ [Desktop Entry] Encoding=UTF-8 Name=KMusicManager -Name[xx]=xxKMusicManagerxx +Name[pl]=KMusicManager Exec=kmusicmanager Icon=kmusicmanager Type=Application Comment=A KDE music collection management app +Comment[pl]=MenadĹźer muzycznych kolekcji pod KDE +Contents=Qt;KDE;Audio diff -urN kmusicmanager-orig/src/Makefile.am kmusicmanager-1.1/src/Makefile.am --- kmusicmanager-orig/src/Makefile.am 2004-12-18 13:48:07.000000000 +0100 +++ kmusicmanager-1.1/src/Makefile.am 2005-02-28 19:21:21.245765360 +0100 @@ -12,7 +12,7 @@ $(LIB_KDEUI) # this is where the desktop file will go -shelldesktopdir = $(kde_appsdir)/Multimedia +shelldesktopdir = $(kde_appsdir)/kde shelldesktop_DATA = kmusicmanager.desktop # this is where the shell's XML-GUI resource file goes
_______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
