[packages/gtkwave] - Updated to 3.3.40.
kosmo
kosmo at pld-linux.org
Thu Oct 4 22:14:58 CEST 2012
commit 0573bcb19ce63b443b7094072631714ffbddc3a5
Author: Piotr Ziecik <kosmo at miechow.cim>
Date: Thu Oct 4 22:12:48 2012 +0200
- Updated to 3.3.40.
gtkwave-xml.patch | 10 ----------
gtkwave.spec | 46 ++++++++++++++++++++++++++++++----------------
2 files changed, 30 insertions(+), 26 deletions(-)
---
diff --git a/gtkwave.spec b/gtkwave.spec
index 7fc0902..4c72949 100644
--- a/gtkwave.spec
+++ b/gtkwave.spec
@@ -1,20 +1,23 @@
Summary: The GTKWave - electronic waveform viewer
Summary(pl.UTF-8): The GTKWave - przeglądarka przebiegów elektronicznych
Name: gtkwave
-Version: 2.0.0pre5
+Version: 3.3.40
Release: 1
License: GPL
Group: Applications/Printing
-Source0: ftp://ftp.cs.man.ac.uk/pub/amulet/gtkwave/2.0/%{name}-%{version}.tar.gz
-# Source0-md5: d1837e53b933643e0b6c6a6527022907
-Patch0: %{name}-xml.patch
-URL: http://www.cs.manchester.ac.uk/apt/projects/tools/gtkwave/
+Source0: http://gtkwave.sourceforge.net/%{name}-%{version}.tar.gz
+# Source0-md5: f7b4cd0d056084f6725173b7f939152c
+URL: http://gtkwave.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bzip2-devel
-BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: gtk+2-devel
+BuildRequires: judy-devel
BuildRequires: libtool
-BuildRequires: libxml2-devel >= 2.6.11
+BuildRequires: tcl-devel
+BuildRequires: tk-devel
+BuildRequires: xz-devel
+Requires(post,postun): shared-mime-info >= 0.14
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -25,15 +28,18 @@ The GTKWave jest przeglądraką przebiegów elektronicznych.
%prep
%setup -q
-%patch0 -p1
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I .
%{__automake}
%{__autoconf}
%configure \
- --disable-static
+ UPDATE_DESKTOP_DATABASE=/bin/true \
+ --enable-judy \
+ --with-tcl=/usr/lib \
+ --with-tk=/usr/lib
+
%{__make}
%install
@@ -48,12 +54,20 @@ rm -rf $RPM_BUILD_ROOT%{_includedir}
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_mime_database
+
+%postun
+%update_mime_database
+
%files
%defattr(644,root,root,755)
-%doc TODO README AUTHORS ChangeLog
+%doc ANALOG_README.TXT CHANGELOG.TXT SYSTEMVERILOG_README.TXT
%attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/gtkwave
-%attr(755,root,root) %{_libdir}/gtkwave/*.so*
-# .la are required
-%{_libdir}/gtkwave/*.la
-%{_datadir}/gtkwave
+%{_datadir}/%{name}
+%{_datadir}/mime/application/*.xml
+%{_datadir}/mime/packages/*.xml
+%{_desktopdir}/%{name}.desktop
+%{_iconsdir}/gnome/*/*/*.png
+%{_iconsdir}/*.png
+%{_mandir}/*/*
diff --git a/gtkwave-xml.patch b/gtkwave-xml.patch
deleted file mode 100644
index 0a35103..0000000
--- a/gtkwave-xml.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- gtkwave-2.0.0pre5/src/config/Makefile.am.orig 2006-03-02 19:05:11.000000000 +0100
-+++ gtkwave-2.0.0pre5/src/config/Makefile.am 2006-03-02 19:05:52.000000000 +0100
-@@ -1,6 +1,6 @@
- ## Process this file with automake to produce Makefile.in
-
--INCLUDES = @GTK_CFLAGS@ @XML_CFLAGS@ -I..
-+INCLUDES = @GTK_CFLAGS@ @XML_CPPFLAGS@ -I..
-
- noinst_LIBRARIES = libwaveconfig.a
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtkwave.git/commitdiff/0573bcb19ce63b443b7094072631714ffbddc3a5
More information about the pld-cvs-commit
mailing list