Patch by Richard Hughes to fix make distcheck, and to provide a Fedora Core 4 RPM spec file.

This commit is contained in:
Christian Hammond 2005-07-12 19:29:55 +00:00
parent 711ba22be4
commit edccbd1f40
4 changed files with 63 additions and 2 deletions

View File

@ -1,3 +1,11 @@
Tue Jul 12 12:28:16 PDT 2005 Christian Hammond <chipx86@chipx86.com>
* tests/Makefile.am:
* tools/Makefile.am:
* libnotify.spec.in:
- Patch by Richard Hughes to fix make distcheck, and to provide a
Fedora Core 4 RPM spec file.
Sun Jul 10 16:46:57 PDT 2005 Christian Hammond <chipx86@chipx86.com>
* tests/test-replace.c:

View File

@ -0,0 +1,53 @@
Summary: Desktop notifications library
Name: libnotify
Version: @VERSION@
Release: 1%{?dist}
License: GPL
Group: Applications/System
Source: http://www.galago.info/files/releases/source/libnotify-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://svn.galago.info/trunk/libnotify
BuildPrereq: dbus-devel >= 0.30
Requires: dbus >= 0.30
%description
A library that sends desktop notifications to a notification daemon, as
defined in the Desktop Notifications spec. These notifications can be
used to inform the user about an event or display some form of
information without getting in the user's way.
%prep
%setup -q
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/*
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_libdir}/lib*.so.*
%{_libdir}/pkgconfig/*
%{_includedir}/*
%changelog
* Mon Jul 12 2005 Richard Hughes <richard@hughsie.com> 0.0.1-1
- initial packaging of 0.0.1

View File

@ -48,4 +48,4 @@ test_xy_LDADD = $(common_ldflags)
test_xy_stress_LDADD = $(common_ldflags)
INCLUDES = $(PACKAGE_CFLAGS) $(GDK_CFLAGS)
INCLUDES = $(PACKAGE_CFLAGS) $(GDK_CFLAGS) -I$(top_srcdir)

View File

@ -8,4 +8,4 @@ common_ldflags = \
notify_send_SOURCES = notify-send.c
notify_send_LDADD = $(common_ldflags)
INCLUDES = $(PACKAGE_CFLAGS)
INCLUDES = $(PACKAGE_CFLAGS) -I$(top_srcdir)