File yeahlaunch.spec of Package yeahlaunch

#
# spec file for package yeahlaunch (Version 0.2)
#
# Copyright 2009 Mario García H.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

Summary: A simple animated application launcher
Name: yeahlaunch
Version: 0.2
Release: 1
Source0: %{name}-%{version}.tar.gz
Source1: http://www.phrat.de/%{name}-%{version}.tar.gz
Vendor: %{vendor}
URL: http://www.phrat.de/yeahtools.html
License: GPLv2
Group: System/X11/Utilities
AutoReqProv: on
BuildRequires: xorg-x11-devel
BuildRoot: %{_builddir}/%{name}-%{version}-build

%description
A simple animated application launcher
for X11.

%prep
%setup -q

%build
gcc -Os %{name}.c -lX11 -o %{name}
strip %{name}
%debug_package

%install
%{__install} -d -m 0755 %{buildroot}%{_bindir}
%{__install} -d -m 0755 %{buildroot}%{_docdir}/%{name}
%{__install} -m 0755 %{name} %{buildroot}%{_bindir}
%{__install} -m 0644 README LICENSE %{buildroot}%{_docdir}/%{name}
#%suse_update_desktop_file -i %{name} ApplicationLauncher

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%attr(0755,root,root)%{_bindir}/%{name}
%doc README LICENSE

%changelog
* Mon Jun 22 2009 Mario García H. <code933k@gmail.com> - 0.2
- Initial package.
openSUSE Build Service is sponsored by