Author: czarny Date: Sun May 20 14:47:41 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new; stolen from FC
---- Files affected: SPECS: Zim.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/Zim.spec diff -u /dev/null SPECS/Zim.spec:1.1 --- /dev/null Sun May 20 16:47:41 2007 +++ SPECS/Zim.spec Sun May 20 16:47:36 2007 @@ -0,0 +1,89 @@ +# $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 +Version: 0.19 +Release: 0.1 +License: GPL or Artistic +Group: X11/Applications/Editors +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-TrayIcon +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. + +%prep +%setup -q +chmod -x share/zim/dates.list share/zim/plugins/* +sed -i 's/\r//' share/zim/plugins/Subversion.pl + +# We're not running on Win32. Really :) +rm ./lib/Zim/Win32.pm + + +%build +%{__perl} Build.PL \ + installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./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/* + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes ExamplePlugin.pl +%{perl_vendorlib}/* +%{_mandir}/man[13]/*.[13]* +%attr(755,root,root) %{_bindir}/* +%{_datadir}/zim +%{_pixmapsdir}/* +%{_desktopdir}/* + + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/05/20 14:47:36 czarny +- new; stolen from FC + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
