diff --git a/libnotify.spec b/libnotify.spec index e6f1da3..f5eb0a6 100644 --- a/libnotify.spec +++ b/libnotify.spec @@ -3,7 +3,7 @@ Summary: libnotify notification library Name: libnotify Version: 0.3.0 -Release: 2 +Release: 3 URL: http://www.galago-project.org/specs/notification/ Source0: %{name}-%{version}.tar.gz License: LGPL @@ -18,24 +18,35 @@ Requires: glib2 >= %{glib2_version} 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 +%configure +%{__make} %install -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT %makeinstall -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -rm -f $RPM_BUILD_ROOT%{_libdir}/*.a +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.a %clean -rm -rf %{buildroot} +%{__rm} -rf $RPM_BUILD_ROOT %post /sbin/ldconfig @@ -48,11 +59,18 @@ rm -rf %{buildroot} %doc COPYING ChangeLog NEWS %{_bindir}/notify-send -%{_includedir}/* %{_libdir}/lib*.so* + +%files devel +%defattr(-,root,root) +%{_includedir}/* %{_libdir}/pkgconfig/libnotify.pc + %changelog +* Wed Jan 11 2006 Christopher Aillon - 0.3.0-3 +- Let there be libnotify-devel... + * Tue Nov 15 2005 John (J5) Palmieri - 0.3.0-2 - Actual release of the 0.3.x series