LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File susewatcher-zypp.spec of Package susewatcher-zypp (Project YaST:tools)

#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild

Name:           susewatcher-zypp
Version:        0.1.1
Release:        1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
License:        BSD
Group:          System/Packages
Url:            http://www.opensuse.org/zypp
Source:         susewatcher-%{version}.tar.gz
Summary:        Applet to get notified of patches.
Requires:       zypp-checkpatches
BuildRequires:  cmake kdelibs3 kdelibs3-devel

%description
SUSEWatcher applet ported to zypp

Authors:
--------
 - Adrian Schroeter
 - Arvin Schnell
 - Others
 - Duncan Mac-Vicar <dmacvicar@suse.de>

%define prefix /opt/kde3

%prep
%setup -n susewatcher-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"
  export CXXFLAGS="$CFLAGS"
  mkdir build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=%prefix ../
  make

%install
  cd build
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
#%dir %{_docdir}/%{name}
#%doc %{_docdir}/%{name}/README
/opt/kde3/share/applications/kde/susewatcher.desktop
/opt/kde3/%_lib/libkdeinit_susewatcher.so
/opt/kde3/bin/susewatcher
/opt/kde3/share/icons/hicolor/48x48/apps/susewatcher.png
/opt/kde3/share/icons/hicolor/22x22/actions/green_ball.png
/opt/kde3/share/icons/hicolor/22x22/actions/red_ball.png
/opt/kde3/share/icons/hicolor/22x22/actions/important.png
/opt/kde3/share/icons/hicolor/22x22/actions/patch.png
/opt/kde3/share/icons/hicolor/22x22/actions/up_arrow.png
/opt/kde3/share/icons/hicolor/22x22/actions/info.png
/opt/kde3/share/icons/hicolor/22x22/actions/yellow_ball.png
/opt/kde3/share/icons/hicolor/22x22/actions/kroete.png
/opt/kde3/share/icons/hicolor/22x22/actions/exclamation.png

%changelog
* Thu Jun 8 2006 - dmacvicar@suse.de
- Initial package.