rpms/pinot/devel libtextcatfix.patch, NONE, 1.1 pinot.spec, NONE, 1.1 remove_shebang.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Adel Gadllah (drago01) fedora-extras-commits at redhat.com
Tue Aug 14 07:33:00 UTC 2007


Author: drago01

Update of /cvs/pkgs/rpms/pinot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2015/devel

Modified Files:
	.cvsignore sources 
Added Files:
	libtextcatfix.patch pinot.spec remove_shebang.patch 
Log Message:


Initial Import


libtextcatfix.patch:

--- NEW FILE libtextcatfix.patch ---
diff -upNr pinot-0.75.orign/configure pinot-0.75/configure
--- pinot-0.75.orign/configure	2007-07-18 16:50:11.000000000 +0200
+++ pinot-0.75/configure	2007-08-08 12:08:11.000000000 +0200
@@ -24413,7 +24413,7 @@ done
 
 
 
-for ac_header in textcat.h
+for ac_header in libtextcat/textcat.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -24554,8 +24554,8 @@ if test `eval echo '${'$as_ac_Header'}'`
 _ACEOF
 
 else
-  { { echo "$as_me:$LINENO: error: Can't find textcat.h." >&5
-echo "$as_me: error: Can't find textcat.h." >&2;}
+  { { echo "$as_me:$LINENO: error: Can't find libtextcat/textcat.h." >&5
+echo "$as_me: error: Can't find libtextcat/textcat.h." >&2;}
    { (exit 1); exit 1; }; }
 fi
 
diff -upNr pinot-0.75.orign/Index/LanguageDetector.cpp pinot-0.75/Index/LanguageDetector.cpp
--- pinot-0.75.orign/Index/LanguageDetector.cpp	2007-07-07 04:51:46.000000000 +0200
+++ pinot-0.75/Index/LanguageDetector.cpp	2007-08-08 12:06:42.000000000 +0200
@@ -23,7 +23,7 @@
 
 extern "C"
 {
-#include <textcat.h>
+#include <libtextcat/textcat.h>
 }
 
 #include "StringManip.h"


--- NEW FILE pinot.spec ---
Name:  pinot
Version: 0.75        
Release: 6%{?dist}
Summary: Personal search and metasearch for the Desktop      

Group: User Interface/Desktops        
License: GPLv2+       
URL: http://pinot.berlios.de/            
Source0: http://download2.berlios.de/pinot/%{name}-%{version}.tar.gz  
Patch0: libtextcatfix.patch
Patch1: remove_shebang.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: sqlite-devel >= 3.3.1
BuildRequires: xapian-core-devel >= 1.0.2
BuildRequires: libtextcat-devel >= 2.2
BuildRequires: taglib-devel >= 1.4
BuildRequires: curl-devel >= 7.13
BuildRequires: gmime-devel >= 2.1
BuildRequires: boost-devel >= 1.32
BuildRequires: gtkmm24-devel
BuildRequires: libxml++-devel
BuildRequires: dbus-glib-devel
BuildRequires: gettext-devel
BuildRequires: desktop-file-utils
BuildRequires: shared-mime-info

Requires: shared-mime-info
Requires: unzip
Requires: antiword
Requires: unrtf
Requires: poppler-utils

%description
Pinot is a D-Bus service that crawls, indexes your documents and monitors them
for changes, as well as a GTK-based user interface that enables to query
the index built by the service and your favourite Web engines, and display and
analyze the results


%package deskbar
Summary: Pinot plugin for DeskbarApplet
Group: Applications/Internet
Requires: %{name} = %{version}
Requires: deskbar-applet

%description deskbar
The included plugin enables Deskbar to search documents indexed by Pinot


%prep
%setup -q
%patch0 -p1 -b .libtextcat
%patch1 -p1 -b .remove_shebang


%build
%configure


make

%install
rm -rf $RPM_BUILD_ROOT
#fix broken permissons
chmod -x UI/GTK2/src/*
chmod -x Search/*.cpp
chmod -x Search/*.h
chmod -x Search/xesam/*
chmod -x Index/*.cpp
chmod -x Index/*.h
chmod -x SQL/*.cpp
chmod -x Tokenize/*.cpp
chmod -x Tokenize/*.h
chmod -x Tokenize/filters/*
chmod -x Utils/*.cpp
chmod -x Utils/*.h
chmod -x NEWS README

make install DESTDIR=$RPM_BUILD_ROOT

desktop-file-install --vendor fedora       \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --delete-original \
  $RPM_BUILD_ROOT%{_datadir}/applications/pinot.desktop

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%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

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/pinot
%{_bindir}/pinot-dbus-daemon
%{_bindir}/pinot-index
%{_bindir}/pinot-search
%{_datadir}/pinot/
%{_libdir}/pinot/
%{_datadir}/dbus-1/services/de.berlios.Pinot.service
%{_sysconfdir}/xdg/autostart/*.desktop
%{_datadir}/applications/fedora-pinot.desktop
%{_mandir}/man1/pinot.*
%{_mandir}/man1/pinot-dbus-daemon.*
%{_mandir}/man1/pinot-index.*
%{_mandir}/man1/pinot-search.*
%{_datadir}/icons/hicolor/48x48/apps/pinot.png
%{_datadir}/icons/hicolor/32x32/apps/pinot.png
%{_datadir}/icons/hicolor/24x24/apps/pinot.png
%{_datadir}/icons/hicolor/22x22/apps/pinot.png
%{_datadir}/icons/hicolor/16x16/apps/pinot.png
%config(noreplace) %{_sysconfdir}/pinot/
%doc AUTHORS ChangeLog COPYING NEWS README TODO

%files deskbar
%defattr(-,root,root,-)
%{_libdir}/deskbar-applet/handlers/pinot-*

%changelog

* Mon Aug 13 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.75-6
- Small cleanups

* Mon Aug 13 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.75-5
- Fix files section

* Mon Aug 13 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.75-4
- Adress review comments from RH #251317

* Sat Aug 11 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.75-3
- Fix BuildRequires

* Sat Aug 11 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.75-2
- Fix BuildRequires

* Wed Aug 08 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.75-1
- Inital build

remove_shebang.patch:

--- NEW FILE remove_shebang.patch ---
diff -upNr pinot-0.75.orign/scripts/python/pinot-live.py pinot-0.75/scripts/python/pinot-live.py
--- pinot-0.75.orign/scripts/python/pinot-live.py	2007-03-21 18:16:04.000000000 +0100
+++ pinot-0.75/scripts/python/pinot-live.py	2007-08-13 10:52:25.000000000 +0200
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Copyright 2005-2007 Fabrice Colin
 #


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pinot/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Aug 2007 20:00:22 -0000	1.1
+++ .cvsignore	14 Aug 2007 07:32:27 -0000	1.2
@@ -0,0 +1 @@
+pinot-0.75.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pinot/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Aug 2007 20:00:22 -0000	1.1
+++ sources	14 Aug 2007 07:32:27 -0000	1.2
@@ -0,0 +1 @@
+14f1f1312920c279ffe0d7945e0a64b8  pinot-0.75.tar.gz




More information about the fedora-extras-commits mailing list