rpms/picviz/devel picviz-0.2.3-pkgconfig-path.patch, NONE, 1.1 picviz.desktop, NONE, 1.1 picviz.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tomas Heinrich (theinric) fedora-extras-commits at redhat.com
Thu Aug 14 12:12:01 UTC 2008


Author: theinric

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

Modified Files:
	.cvsignore sources 
Added Files:
	picviz-0.2.3-pkgconfig-path.patch picviz.desktop picviz.spec 
Log Message:
Initial build.


picviz-0.2.3-pkgconfig-path.patch:

--- NEW FILE picviz-0.2.3-pkgconfig-path.patch ---
diff -up picviz-0.2.3/src/libpicviz/picviz.pc.cmake.orig picviz-0.2.3/src/libpicviz/picviz.pc.cmake
--- picviz-0.2.3/src/libpicviz/picviz.pc.cmake.orig	2008-08-13 10:19:27.000000000 +0200
+++ picviz-0.2.3/src/libpicviz/picviz.pc.cmake	2008-08-13 14:05:43.000000000 +0200
@@ -3,6 +3,6 @@ prefix=@CMAKE_INSTALL_PREFIX@
 Name: Picviz
 Description: Parallel Coordinates Plot Library
 Version: 0.1
-Libs: -L at CMAKE_INSTALL_PREFIX@/lib -lpicviz
+Libs: -L at LIB_INSTALL_DIR@ -lpicviz
 Cflags: -I at CMAKE_INSTALL_PREFIX@/include/picviz
 


--- NEW FILE picviz.desktop ---
[Desktop Entry]
Version=1.0
Type=Application
Name=Picviz-gui
Categories=Graphics;
Comment=Graphical frontend for picviz
TryExec=picviz-gui
Exec=picviz-gui %f


--- NEW FILE picviz.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name: picviz
Version: 0.2.3
Release: 1%{?dist}
Summary: Parallel coordinates plotter

License: GPLv3+
Group: Applications/Engineering
URL: http://www.wallinfire.net/picviz
Source0: http://www.wallinfire.net/picviz/attachment/wiki/ReleasesDownload/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Patch0: picviz-0.2.3-pkgconfig-path.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: cmake
BuildRequires: bison
BuildRequires: flex
BuildRequires: python-devel
BuildRequires: pkgconfig
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

%package devel
Summary: Picviz development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig

%package gui
Summary: Graphical frontend for picviz
Group: Applications/Engineering
BuildRequires: desktop-file-utils
Requires: %{name} = %{version}-%{release}
Requires: PyQt4

%package plugin-plplot
Summary: Plplot plugin for picviz
Group: Applications/Engineering
BuildRequires: plplot-devel
BuildRequires: libtool-ltdl-devel
Requires: %{name} = %{version}-%{release}
Requires: plplot-libs

%description
Picviz is a parallel coordinates plotter which enables easy scripting
from various input (tcpdump, syslog, iptables logs, apache logs,
etc..) to visualize your data and discover interesting results
quickly.

Its primary goal is to graph data in order to be able to quickly
analyze problems and find correlations among variables. With security
analysis in mind, the program has been designed to be very flexible,
able to graph millions of events.

The language is designed to be close to the graphviz graph description
language.

%description devel
Header files for libpicviz.

%description gui
Graphical frontend for picviz.

%description plugin-plplot
Plugin for generating output using the plplot library.

%prep
%setup -q
%patch0 -p1 -b .pkgconfig-path

%build
mkdir -p build
pushd build
%cmake -DCMAKE_SKIP_RPATH:BOOL=ON ..
make %{?_smp_mflags}
popd

pushd src/libpicviz/bindings/python
python ./setup.py build
popd

pushd src/frontend
python ./setup.py build
popd

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

pushd src/libpicviz/bindings/python
python ./setup.py install --root=%{buildroot} --install-lib=%{python_sitearch}
popd
chmod 755 %{buildroot}/%{python_sitearch}/picviz.so

pushd src/frontend
python ./setup.py install --root=%{buildroot} --install-lib=%{python_sitearch}
popd

install -d -m 755 %{buildroot}/%{_datadir}/%{name}
install -p -m 755 tools/* %{buildroot}/%{_datadir}/%{name}

desktop-file-install --vendor="fedora" --dir=%{buildroot}/%{_datadir}/applications %{SOURCE1}

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING README doc/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_libdir}/*.so.*
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*.so
%exclude %{_libdir}/%{name}/libpicvizoutplplot.so
%{python_sitearch}/picviz.so
%{python_sitearch}/Picviz*.egg-info
%{_bindir}/pcv

%files devel
%defattr(-,root,root,-)
%{_libdir}/libpicviz.so
%{_libdir}/pkgconfig/picviz.pc
%{_includedir}/*

%files gui
%defattr(-,root,root,-)
%dir %{python_sitearch}/PicvizGui
%{python_sitearch}/PicvizGui/*
%{python_sitearch}/picviz_gui*.egg-info
%{_bindir}/picviz-gui
%{_datadir}/applications/fedora-%{name}.desktop

%files plugin-plplot
%defattr(-,root,root,-)
%{_libdir}/%{name}/libpicvizoutplplot.so

%changelog
* Thu Aug  7 2008 Tomas Heinrich <theinric at redhat.com> 0.2.3-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/picviz/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Aug 2008 17:25:38 -0000	1.1
+++ .cvsignore	14 Aug 2008 12:11:31 -0000	1.2
@@ -0,0 +1 @@
+picviz-0.2.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/picviz/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Aug 2008 17:25:38 -0000	1.1
+++ sources	14 Aug 2008 12:11:31 -0000	1.2
@@ -0,0 +1 @@
+f9cec855771f6129ebe2baf8debf6165  picviz-0.2.3.tar.gz




More information about the fedora-extras-commits mailing list