58 lines
986 B
RPMSpec
58 lines
986 B
RPMSpec
|
%define gtk2_version 2.4.0
|
||
|
|
||
|
Summary: libnotify notification library
|
||
|
Name: libnotify
|
||
|
Version: 0.0.2
|
||
|
Release: 1
|
||
|
URL: http://www.galago-project.org/specs/notification/
|
||
|
Source0: %{name}-%{version}.tar.gz
|
||
|
License: LGPL
|
||
|
Group: System Environment/Libraries
|
||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
BuildPreReq: libtool
|
||
|
BuildRequires: glib2-devel >= %{glib2_version}
|
||
|
Requires: glib2 >= %{glib2_version}
|
||
|
|
||
|
%description
|
||
|
|
||
|
libnotify is an implementation of the freedesktop.org desktop
|
||
|
notification specification.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
|
||
|
%configure
|
||
|
make
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%makeinstall
|
||
|
|
||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%post
|
||
|
/sbin/ldconfig
|
||
|
|
||
|
%postun
|
||
|
/sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc COPYING ChangeLog NEWS
|
||
|
|
||
|
%{_bindir}/notify-send
|
||
|
%{_includedir}/*
|
||
|
%{_libdir}/lib*.so*
|
||
|
%{_libdir}/pkgconfig/libnotify.pc
|
||
|
|
||
|
%changelog
|
||
|
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1
|
||
|
- inital build
|