# TODO: symlink to the Thunderbird extension directory # These come from install.rdf %global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} %global mozvoikko_ext_id \{b676e3ff-cda7-4e0c-b2b8-74e4bb40a67a\} Name: mozvoikko Version: 2.0 Release: 0.1.rc1%{?dist} Summary: Finnish Voikko spell-checker extension for Mozilla programs Group: Applications/Internet License: GPLv2+ URL: http://voikko.sourceforge.net # Usual format of test release URLs Source0: http://www.puimula.org/htp/testing/%{name}-%{version}rc1.tar.gz # Usual format of stable release URLs #Source0: http://downloads.sourceforge.net/voikko/%{name}-%{version}.tar.gz BuildArch: noarch Requires: mozilla-filesystem # Require the spell-checking library Requires: libvoikko %description This is mozvoikko, an extension for Mozilla programs for using the Finnish spell-checker Voikko. %prep %setup -q %install rm -rf $RPM_BUILD_ROOT install -dm 755 \ $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}/%{mozvoikko_ext_id}/components install -pm 644 components/MozVoikko2.js \ $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}/%{mozvoikko_ext_id}/components/MozVoikko2.js install -pm 644 chrome.manifest \ $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}/%{mozvoikko_ext_id}/chrome.manifest install -pm 644 install.rdf \ $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}/%{mozvoikko_ext_id}/install.rdf %files %defattr(-,root,root,-) %doc ChangeLog COPYING README %{_datadir}/mozilla/extensions/%{firefox_app_id}/%{mozvoikko_ext_id} %changelog * Mon Oct 03 2011 Ville-Pekka Vainio - 2.0-0.1.rc1 - Package JavaScript version of the extension * Mon Oct 03 2011 Jan Horak - 1.9.0-9 - Rebuild against newer gecko * Tue Sep 27 2011 Jan Horak - 1.9.0-8 - Rebuild against newer gecko * Tue Sep 06 2011 Jan Horak - 1.9.0-7 - Rebuild against newer gecko * Wed Aug 17 2011 Jan Horak - 1.9.0-6 - Rebuild against newer gecko * Wed Jun 22 2011 Jan Horak - 1.9.0-5 - Rebuild against newer gecko * Tue Feb 08 2011 Fedora Release Engineering - 1.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 14 2010 Ville-Pekka Vainio - 1.9.0-3 - Upstream finally released a 1.9.0 tarball, switch to it - Drop integrated (with improvements) SYSTEM_LIBVOIKKO patch * Thu Dec 09 2010 Ville-Pekka Vainio - 1.9.0-2 - Add a patch to fix compilation of mozVoikkoUtils.cpp when SYSTEM_LIBVOIKKO is defined - Remove the xpidl call, nsIMozvoikkoHelper.h is not needed after applying the patch * Wed Dec 08 2010 Ville-Pekka Vainio - 1.9.0-1 - Update to 1.9.0 to fix FTBFS bug #660944 - Add a patch from the upstream mailing list to fix xulrunner includes and linking - Generate the nsIMozvoikkoHelper.h file with xpidl - Remove unneeded BuildRoot and the clean section * Wed Jun 23 2010 Jan Horak - 1.0-11 - Rebuild against newer gecko * Mon Apr 12 2010 Martin Stransky - 1.0-10 - Updated gecko dependency * Sat Apr 03 2010 Ville-Pekka Vainio - 1.0-9 - Rebuild against newer gecko * Tue Mar 23 2010 Jan Horak - 1.0-8 - Rebuild against newer gecko * Wed Nov 25 2009 Ville-Pekka Vainio - 1.0-7 - Rebuild against newer gecko * Thu Nov 05 2009 Jan Horak - 1.0-6 - Rebuild against newer gecko * Tue Oct 27 2009 Jan Horak - 1.0-5 - Rebuild against newer gecko * Tue Sep 15 2009 Ville-Pekka Vainio - 1.0-4 - Drop Requires for libmalaga, the current version of libvoikko in Fedora Rawhide doesn't depend on libmalaga anymore * Fri Sep 11 2009 Jan Horak - 1.0-3 - Rebuild against newer gecko * Sun Sep 06 2009 Ville-Pekka Vainio - 1.0-2 - Use global instead of define, except in gecko_ver as that might be used in the xulrunner rebuild scripts. * Mon Aug 10 2009 Ville-Pekka Vainio - 1.0-1 - Update to 1.0. - Use "official" upstream source, the RC sources have been removed. - This is mostly a cosmetic change, no code was changed, only the XML file defining the extension version. * Thu Aug 06 2009 Jan Horak - 0.9.7-0.8.rc1 - Rebuild against newer gecko * Tue Aug 04 2009 Jan Horak - 0.9.7-0.7.rc1 - Rebuild against newer gecko * Sat Jul 25 2009 Fedora Release Engineering - 0.9.7-0.6.rc1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Jul 19 2009 Ville-Pekka Vainio - 0.9.7-0.5.rc1 - Rebuild against newer gecko - Bump Release to fix upgrade path * Mon Apr 27 2009 Christopher Aillon - 0.9.7-0.3.rc1 - Rebuild against newer gecko * Wed Feb 25 2009 Fedora Release Engineering - 0.9.7-0.2.rc1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 20 2009 Ville-Pekka Vainio - 0.9.7-0.1.rc1 - New RC - The unstable nsIXULRuntime interface is not used anymore * Tue Feb 17 2009 Ville-Pekka Vainio - 0.9.6-0.1.rc2 - New RC - All patches applied upstream, some documentation updates * Tue Jan 27 2009 Ville-Pekka Vainio - 0.9.5-6 - Add a series of patches developed together with upstream and the Ubuntu/Debian maintainer: - Uses pkg-config --cflags and --libs, no rpath anymore - Cleans up some unneeded cruft from Makefile.xulrunner - Uses -Wl,--as-needed to reduce shared library dependencies - Some discussion about pkg-config and rpath in Launchpad #297169 * Fri Dec 26 2008 Ville-Pekka Vainio - 0.9.5-5 - Rebuild against gecko 1.9.1 - Bump Release so that it's at least as high as in F10 and F9 * Mon Sep 29 2008 Ville-Pekka Vainio - 0.9.5-3 - Rebuild against newer gecko * Sat Aug 30 2008 Ville-Pekka Vainio - 0.9.5-2 - Fix the xulrunner requires: - Add define gecko_ver 1.9.0.1 - Add Requires: gecko-libs = gecko_ver - Add BuildRequires: gecko-devel-unstable = gecko_ver - Remove all actual xulrunner requires - Redo the Makefile.xulrunner includes patch, we only need the stable and unstable header dirs in Fedora * Thu Jul 24 2008 Ville-Pekka Vainio - 0.9.5-1 - Bump Release for initial Fedora build * Fri Jul 18 2008 Ville-Pekka Vainio - 0.9.5-0.2 - Add patch to remove xulrunner unstable include from Makefile.xulrunner and only BuildRequire xulrunner-devel, not xulrunner-devel-unstable - Change Group to Applications/Internet - Add dependency to the sonames libvoikko.so.1 and libmalaga.so.7 * Mon Jun 24 2008 Ville-Pekka Vainio - 0.9.5-0.1 - New upstream release * Mon May 31 2008 Ville-Pekka Vainio - 0.9.4.1.3-0.1 - New upstream release, the Makefile.xulrunner path patch is no longer needed * Mon May 26 2008 Ville-Pekka Vainio - 0.9.4.1.2-0.1 - New upstream release, Makefile.xulrunner paths are no longer hardcoded, VOIKKO_INCLUDES is dropped completely - Path patch updated, most notably include directories, even though the build worked even before for some reason * Mon May 26 2008 Ville-Pekka Vainio - 0.9.4.1.1-0.3 - Change name to mozvoikko to reflect the possibility of this package later supporting Thunderbird and Seamonkey as well - Change summary and description accordingly - Add firefox to Requires, because currently it's the only program which can use mozvoikko - Drop BR xulrunner-devel, the -unstable package is enough to require for now * Sat May 24 2008 Ville-Pekka Vainio - 0.9.4.1.1-0.1 - New upstream release - Use the new extension-files and install-unpacked make targets - Path patch edited accordingly * Fri May 23 2008 Ville-Pekka Vainio - 0.9.4.1-0.1 - Initial package