File growl-for-linux.spec of Package growl-for-linux
# vim: set sw=4 ts=4 et nu:
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Name: growl-for-linux
Version: 0.7.0
Release: 0
Summary: Growl Notification Protocol for Linux
Source: https://github.com/downloads/mattn/growl-for-linux/growl-for-linux-%{version}.tar.gz
Patch1: growl-for-linux-fix_libnotify_flags.patch
Patch2: growl-for-linux-fix_ldflags.patch
Patch3: growl-for-linux-fix_glib2_linking.patch
Patch4: growl-for-linux-aclocal_downgrade.patch
Source99: %{name}.rpmlintrc
URL: http://mattn.github.com/growl-for-linux/
Group: System/GUI/Other
License: BSD-2-Clause
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: openssl-devel
BuildRequires: curl-devel
BuildRequires: gtk2-devel
BuildRequires: sqlite3-devel
BuildRequires: dbus-1-glib-devel
BuildRequires: libnotify-devel
BuildRequires: libxml2-devel
BuildRequires: gcc make glibc-devel pkgconfig
BuildRequires: autoconf automake libtool
BuildRequires: update-desktop-files
BuildRequires: desktop-file-utils
Provides: gol = %{version}
%description
Growl For Linux is Linux-compatible of Growl. Growl is a notification system
for Mac OS X.
It supports the GNTP protocol (Growl Network Protocol). If you want to be show
icon in notification, you need to use GNTP protocol.
%prep
%setup -q
%patch1
%patch2
%patch3
%patch4
%build
autoreconf -v
%configure \
--disable-silent-rules
%__make %{?_smp_mflags}
%install
%makeinstall
%__rm \
"%{buildroot}%{_libdir}/growl-for-linux"/*/*.{a,la} \
"%{buildroot}%{_libdir}"/lib*.a
#"
%suse_update_desktop_file -r gol System Monitor
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README* TODO
%{_bindir}/gol
%dir %{_libdir}/growl-for-linux
%dir %{_libdir}/growl-for-linux/display
%dir %{_libdir}/growl-for-linux/subscribe
%{_libdir}/growl-for-linux/*/*.so
##{_libdir}/growl-for-linux/*/*.so.*
%{_datadir}/growl-for-linux
%{_datadir}/applications/gol.desktop