# Note that this is NOT a relocatable package %define name @PACKAGE %define ver @VERSION@ %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define RELEASE 1 %define prefix /usr Summary: YAMT Yet Another MP3 Tool Name: %{name} Version: %{ver} Release: %{rel} Copyright: GPL Group: X11/Utilities Url: http://yamt.sourceforge.net Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-root Prefix: %{prefix} Packager: Daniel Serodio Requires: gtk+ >= 1.2 Requires: gnome-core >= 1.0.5 Requires: gnome-libs >= 1.0.5 %description YAMT is Yet Antother MP3 Tool which helps you to organize your mp3s. It's a GNOME program and allows you to edit the ID3 TAG of one mp3 file, change the tag of many files at once (mass tagging), exchange tags, set tags based on filenames, rename them based on their TAG, sort your music into subdirectories, unsort files from subdirs, create playlists and search for mp3s with a special tag. %prep %setup -q %build CFLAGS=$RPM_OPT_FLAGS LINGUAS="de hu fr ja" ./configure --prefix={%prefix} make %install rm -rf $RPM_BUILD_ROOT make "prefix=$RPM_BUILD_ROOT%{prefix}" install %clean rm -rf $RPM_BUILD_ROOT %files %prefix/bin/* %prefix/share/gnome/apps/Applications/* %prefix/share/locale/*/LC_MESSAGES/* %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO ABOUT-NLS