libnotify/libnotify.spec
2006-01-12 04:46:30 +00:00

82 lines
1.6 KiB
RPMSpec

%define gtk2_version 2.4.0
Summary: libnotify notification library
Name: libnotify
Version: 0.3.0
Release: 3
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.
%package devel
Summary: Files for development using %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel >= %{glib2_version}
%description devel
This package contains the headers and pkg-config file for
development of programs using %{name}.
%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 $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS
%{_bindir}/notify-send
%{_libdir}/lib*.so*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/pkgconfig/libnotify.pc
%changelog
* Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-3
- Let there be libnotify-devel...
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-2
- Actual release of the 0.3.x series
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-1
- Bump version to not conflict with older libnotify libraries
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1
- inital build