rpms/metamonitor/devel metamonitor-symlink-relative.patch, NONE, 1.1 metamonitor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hugo Cisneiros (eitch) fedora-extras-commits at redhat.com
Sat Jul 22 21:13:39 UTC 2006


Author: eitch

Update of /cvs/extras/rpms/metamonitor/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22974/devel

Modified Files:
	.cvsignore sources 
Added Files:
	metamonitor-symlink-relative.patch metamonitor.spec 
Log Message:
auto-import metamonitor-0.4.5-2 on branch devel from metamonitor-0.4.5-2.src.rpm

metamonitor-symlink-relative.patch:

--- NEW FILE metamonitor-symlink-relative.patch ---
--- doc/en/Makefile.in.orig	2006-06-08 21:22:44.000000000 -0300
+++ doc/en/Makefile.in	2006-06-08 21:26:17.000000000 -0300
@@ -427,7 +427,7 @@
 	$(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/metamonitor/; \
 	fi
 	-rm -f $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/metamonitor/common
-	$(LN_S) $(kde_libs_htmldir)/$(KDE_LANG)/common $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/metamonitor/common
+	$(LN_S) ../../$(KDE_LANG)/common $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/metamonitor/common
 
 uninstall-docs:
 	-rm -rf $(kde_htmldir)/$(KDE_LANG)/metamonitor


--- NEW FILE metamonitor.spec ---
Name:           metamonitor
Version:        0.4.5
Release:        2%{?dist}
Summary:        A Simple program that watches log files and popup its changes

Group:          Applications/System
License:        GPL
URL:            http://metamonitor.sourceforge.net/
Source0:	http://easynews.dl.sourceforge.net/sourceforge/metamonitor/%{name}-%{version}.tar.bz2
Patch0:         metamonitor-symlink-relative.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  kdelibs-devel, desktop-file-utils, gettext, libxml2

%description
metamonitor is a simple program written for KDE, which watches the syslog's
or metalog's log file and pops up the window whenever the new message comes.
You can specify the file to watch and a regular expression for parsing the
log line, so you can watch other than log files too.


%prep
%setup -q
%patch0 -p0


%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
%configure --disable-rpath --disable-debug
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
desktop-file-install --vendor fedora                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
        --add-category X-Fedora                                 \
        --add-category Application                              \
        --add-category Utility                                  \
        --add-category KDE                                      \
        --add-category Qt                                       \
        --delete-original                                       \
        ${RPM_BUILD_ROOT}%{_datadir}/applnk/Utilities/metamonitor.desktop
%find_lang %{name}


%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x ${_bindir}/gtk-update-icon-cache ] ; then
        ${_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x ${_bindir}/gtk-update-icon-cache ] ; then
        ${_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi


%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%doc %{_docdir}/HTML/*/metamonitor/*
%{_bindir}/metamonitor
%{_datadir}/applications/fedora-metamonitor.desktop
%{_datadir}/apps/metamonitor/themes/*
%{_datadir}/icons/hicolor/*/apps/metamonitor.png

%changelog
* Thu Jun  8 2006 Hugo Cisneiros <hugo at devin.com.br> 0.4.5-2
- Fixed description field size
- Applied patch (0) to modify a symlink to be relative
- Removed qt-devel and arts-devel BR - provided by kdelibs

* Sat May 20 2006 Hugo Cisneiros <hugo at devin.com.br> 0.4.5-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/metamonitor/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Jul 2006 21:12:21 -0000	1.1
+++ .cvsignore	22 Jul 2006 21:13:39 -0000	1.2
@@ -0,0 +1 @@
+metamonitor-0.4.5.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/metamonitor/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Jul 2006 21:12:21 -0000	1.1
+++ sources	22 Jul 2006 21:13:39 -0000	1.2
@@ -0,0 +1 @@
+815a7ea049ffa7e77a0eb4316dae5d04  metamonitor-0.4.5.tar.bz2




More information about the fedora-extras-commits mailing list