%global snapshot 20101127 Name: gmpc-fullscreeninfo Summary: Full screen information window for GMPC Version: 0.0.1 Release: 0.n0i.1%{?snapshot:.%{snapshot}git}%{?dist} License: GPLv2+ Group: Applications/Multimedia URL: http://gmpcwiki.sarine.nl/ %if %{?snapshot:1}0 Source0: %{name}-%{snapshot}.tar.bz2 Source99: %{name}-snapshot.sh %else Source0: http://download.sarine.nl/Programs/gmpc/%{version}/%{name}-%{version}.tar.gz %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gmpc-devel >= %{version} Requires: gmpc >= %{version} %description %{summary} %prep %if %{?snapshot:1}0 %setup -q -n %{name}-%{snapshot} %else %setup -q %endif %build %configure --disable-dependency-tracking --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %{_libdir}/gmpc/plugins/*.so %exclude %{_libdir}/gmpc/plugins/*.la %changelog * Sat Nov 27 2010 Marius FERARU - 0.0.1-0.n0i.1.20101127git - initial packaging from the current git snapshot