[packman] new package request

xandry avm-xandry at yandex.ru
Sat Sep 18 12:57:41 CEST 2010


> Moin,
> 
> Am Sat, 18 Sep 2010 13:50:48 +0400
> schrieb xandry <avm-xandry at yandex.ru>:
> >  Hi all. I have collected in rpm Qsmmp and it would be desirable to
> >  have it in packman. What for this purpose it is necessary?
> please mail your spec file.
> 
> Detlef
>  

Summary: Audio player based on Qmmp
Name: qsmmp
Version: 20100904
Release: 1
License: GPLv2
Group: Productivity/Multimedia/Sound/Players
Url: http://gitorious.org/qsmmp
Source0: %name.tar.bz2
Source1: %name.desktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ libqt4-devel qmmp-devel
Requires: qmmp
%debug_package

%description
Qsmmp is a audio player based on Qmmp
with amarok-like UI

%prep
%setup -q -n %name

%build
qmake "QMAKE_CFLAGS+=%optflags" "QMAKE_CXXFLAGS+=%optflags" %name.pro

make %{?_smp_mflags}

%install
install -Dp -m 0755 %name %{buildroot}/%{_bindir}/%name
install -Dp -m 0644 %SOURCE1 %{buildroot}/%{_desktopdir}/%name.desktop

%files
%defattr(-,root,root)
%doc README
%{_bindir}/*
%{_desktopdir}/*

%changelog
* Sat Sep 4 2010 Alexander Mitynin <avm-xandry at yandex.ru>
- Initial build for OpenSuSE 11.3




More information about the Packman mailing list