SPECS: Zim.spec - pl, some cleanups

qboosh qboosh at pld-linux.org
Thu May 24 22:37:25 CEST 2007


Author: qboosh                       Date: Thu May 24 20:37:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, some cleanups

---- Files affected:
SPECS:
   Zim.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/Zim.spec
diff -u SPECS/Zim.spec:1.1 SPECS/Zim.spec:1.2
--- SPECS/Zim.spec:1.1	Sun May 20 16:47:36 2007
+++ SPECS/Zim.spec	Thu May 24 22:37:20 2007
@@ -1,7 +1,5 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.perl
-%define		pdir	PDIR
-%define		pnam	PNAM
 Summary:	Desktop wiki & notekeeper
 Summary(pl.UTF-8):	Wiki na pulpicie i notatnik
 Name:		Zim
@@ -12,35 +10,36 @@
 Source0:	http://pardus-larus.student.utwente.nl/%7Epardus/downloads/Zim/Zim-%{version}.tar.gz
 # Source0-md5:	cfe31ce36602e1f6c203d1a3ef00498c
 URL:		http://www.pardus.nl/projects/zim/
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-BuildRequires:	perl
 BuildRequires:	perl-File-BaseDir
 BuildRequires:	perl-File-DesktopEntry
 BuildRequires:	perl-File-MimeInfo >= 0.12
 BuildRequires:	perl-Gtk2 >= 1.040
-# Can't find a package for this
-#%%BuildRequires:	perl(Gtk2::Spell)
+BuildRequires:	perl-Gtk2-Spell
 BuildRequires:	perl-Gtk2-TrayIcon
+BuildRequires:	perl-Module-Build
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	perl-Module-Build
-
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-#%define		_noautoreq	'perl(anything_fake_or_conditional)'
-
 %description
-Zim is a WYSIWYG text editor written in Gtk2-Perl which aims to bring
-the concept of a wiki to your desktop. Every page is saved as a text
-file with wiki markup. Pages can contain links to other pages, and are
-saved automatically. Creating a new page is as easy as linking to a
-non-existing page. Pages are ordered in a hierarchical structure that
-gives it the look and feel of an outliner. This tool is intended to
-keep track of TODO lists or to serve as a personal scratch book.
+Zim is a WYSIWYG text editor written using Gtk2-Perl which aims to
+bring the concept of a wiki to your desktop. Every page is saved as a
+text file with wiki markup. Pages can contain links to other pages,
+and are saved automatically. Creating a new page is as easy as linking
+to a non-existing page. Pages are ordered in a hierarchical structure
+that gives it the look and feel of an outliner. This tool is intended
+to keep track of TODO lists or to serve as a personal scratch book.
+
+%description -l pl.UTF-8
+Zim to edytor tekstu WYSIWYG napisany z użyciem biblioteki Gtk2-Perl,
+mający na celu przeniesienie idei wiki na pulpit. Każda strona jest
+zapisywana jako plik tekstowy ze znacznikami wiki. Strony mogą
+zawierać odnośniki do innych stron i są zapisywane automatycznie.
+Tworzenie nowej strony jest tak łatwe jak utworzenie odniesienia do
+nieistniejącej strony. Strony są uporządkowane w hierarchiczną
+strukturę zachowującą się jak szkicownik. To narzędzie jest
+przeznaczone do śledzenia list TODO albo własnych notatek.
 
 %prep
 %setup -q
@@ -50,7 +49,6 @@
 # We're not running on Win32.  Really :)
 rm ./lib/Zim/Win32.pm
 
-
 %build
 %{__perl} Build.PL \
 	installdirs=vendor
@@ -59,7 +57,9 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+./Build install \
+	destdir=$RPM_BUILD_ROOT \
+	create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 
 %{_fixperms} $RPM_BUILD_ROOT/*
@@ -70,13 +70,12 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes ExamplePlugin.pl
-%{perl_vendorlib}/*
-%{_mandir}/man[13]/*.[13]*
 %attr(755,root,root) %{_bindir}/*
+%{perl_vendorlib}/*
 %{_datadir}/zim
 %{_pixmapsdir}/*
 %{_desktopdir}/*
-
+%{_mandir}/man[13]/*.[13]*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -84,6 +83,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/05/24 20:37:20  qboosh
+- pl, some cleanups
+
 Revision 1.1  2007/05/20 14:47:36  czarny
 - new; stolen from FC
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/Zim.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list