> Moin,
> 
> Am Sat, 18 Sep 2010 13:50:48 +0400
> schrieb xandry <[email protected]>:
> >  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 <[email protected]>
- Initial build for OpenSuSE 11.3

_______________________________________________
Packman mailing list
[email protected]
http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Antwort per Email an