LOG Spec cleanup

This commit is contained in:
Andrey Bondrov 2014-03-07 15:09:56 +11:00
parent 4c04fadfae
commit 9abf6753d6

View file

@ -31,10 +31,8 @@
# $ bzr log -r-1 --line doc/ # $ bzr log -r-1 --line doc/
# 216: Andrey Fedorushkov 2011-06-02 update russian GUI # 216: Andrey Fedorushkov 2011-06-02 update russian GUI
%define name kicad
%define date 20120119 %define date 20120119
%define revision 3256 %define revision 3256
%define version %{date}.bzr%{revision}
%define docname kicad-doc %define docname kicad-doc
%define docdate 20111221 %define docdate 20111221
@ -46,10 +44,10 @@
%define librevision 114 %define librevision 114
%define libversion %{libdate}.bzr%{librevision} %define libversion %{libdate}.bzr%{librevision}
Name: %{name}
Summary: An open source software for the creation of electronic schematic diagrams Summary: An open source software for the creation of electronic schematic diagrams
Version: %{version} Name: kicad
Release: 1 Version: %{date}.bzr%{revision}
Release: 3
License: GPLv2+ License: GPLv2+
Group: Sciences/Computer science Group: Sciences/Computer science
Url: http://www.lis.inpg.fr/realise_au_lis/kicad/ Url: http://www.lis.inpg.fr/realise_au_lis/kicad/
@ -70,293 +68,387 @@ Patch24: %{name}-2012.01.19-cvpcb-preview.rev3303.patch
Patch25: %{name}-2012.01.19-pcb-calculation.rev3328.patch Patch25: %{name}-2012.01.19-pcb-calculation.rev3328.patch
Patch26: %{name}-2012.01.19-ps-plotting-width-correction.rev3342.patch Patch26: %{name}-2012.01.19-ps-plotting-width-correction.rev3342.patch
BuildRequires: wxgtku-devel
BuildRequires: mesa-common-devel
BuildRequires: imagemagick
BuildRequires: boost-devel
BuildRequires: cmake BuildRequires: cmake
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Requires: %{libname} = %{libversion}-%{release} BuildRequires: imagemagick
Requires: %{docname} = %{docversion}-%{release} BuildRequires: boost-devel
BuildRequires: wxgtku-devel
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
Requires: %{libname} = %{libversion}
Requires: %{docname} = %{docversion}
Suggests: %{name}-locale Suggests: %{name}-locale
%description %description
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad is a set of four softwares and a project manager: Kicad is a set of four softwares and a project manager:
Eeschema : Schematic entry. Eeschema : Schematic entry.
Pcbnew : Board editor. Pcbnew : Board editor.
Gerbview : GERBER viewer (photoplotter documents). Gerbview : GERBER viewer (photoplotter documents).
Cvpcb : footprint selector for components used in the circuit design. Cvpcb : footprint selector for components used in the circuit design.
Kicad: project manager. Kicad: project manager.
%files
%{_bindir}/*
%{_prefix}/lib/%{name}/plugins/netlist_form_pads-pcb.xsl
%{_iconsdir}/*/*/*
%{_iconsdir}/%{name}.png
%{_liconsdir}/%{name}.png
%{_miconsdir}/%{name}.png
%{_datadir}/%{name}/demos/
%{_datadir}/%{name}/template/
%{_datadir}/applications
%{_datadir}/mime/packages/kicad.xml
%{_datadir}/mimelnk/application/x-kicad-project.desktop
%{_datadir}/mimelnk/application/x-kicad-schematic.desktop
#----------------------------------------------------------------------------
%package doc %package doc
Summary: Documentation for kicad (creation of electronic schematic diagrams) Summary: Documentation for kicad (creation of electronic schematic diagrams)
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
BuildArch: noarch BuildArch: noarch
%description doc %description doc
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-doc is the documentation for kicad. Kicad-doc is the documentation for kicad.
%files doc
%doc %{_datadir}/doc/%{name}
#----------------------------------------------------------------------------
%package locales-ca %package locales-ca
Summary: Catalan Kicad locales Summary: Catalan Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-ca %description locales-ca
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Catalan locales for kicad. Kicad-locales provides Catalan locales for kicad.
%files locales-ca
%{_datadir}/%{name}/internat/ca/
#----------------------------------------------------------------------------
%package locales-cs %package locales-cs
Summary: Czech Kicad locales Summary: Czech Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-cs %description locales-cs
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Czech locales for kicad. Kicad-locales provides Czech locales for kicad.
%files locales-cs
%{_datadir}/%{name}/internat/cs/
#----------------------------------------------------------------------------
%package locales-de %package locales-de
Summary: German Kicad locales Summary: German Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-de %description locales-de
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides German locales for kicad. Kicad-locales provides German locales for kicad.
%files locales-de
%{_datadir}/%{name}/internat/de/
#----------------------------------------------------------------------------
%package locales-es %package locales-es
Summary: Spanish Kicad locales Summary: Spanish Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-es %description locales-es
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Spanish locales for kicad. Kicad-locales provides Spanish locales for kicad.
%files locales-es
%{_datadir}/%{name}/internat/es/
#----------------------------------------------------------------------------
%package locales-fi %package locales-fi
Summary: Finnish Kicad locales Summary: Finnish Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-fi %description locales-fi
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Finnish locales for kicad. Kicad-locales provides Finnish locales for kicad.
%files locales-fi
%{_datadir}/%{name}/internat/fi/
#----------------------------------------------------------------------------
%package locales-fr %package locales-fr
Summary: French Kicad locales Summary: French Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-fr %description locales-fr
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides French locales for kicad. Kicad-locales provides French locales for kicad.
%files locales-fr
%{_datadir}/%{name}/internat/fr/
#----------------------------------------------------------------------------
%package locales-hu %package locales-hu
Summary: Hungarian Kicad locales Summary: Hungarian Kicad locales
Version: %{docversion} Version: %{docversion}
Release: %{release} Release: %{release}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-hu %description locales-hu
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Hungarian locales for kicad. Kicad-locales provides Hungarian locales for kicad.
%files locales-hu
%{_datadir}/%{name}/internat/hu/
#----------------------------------------------------------------------------
%package locales-it %package locales-it
Summary: Italian Kicad locales Summary: Italian Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-it %description locales-it
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Italian locales for kicad. Kicad-locales provides Italian locales for kicad.
%files locales-it
%{_datadir}/%{name}/internat/it/
#----------------------------------------------------------------------------
%package locales-ja %package locales-ja
Summary: Japanese Kicad locales Summary: Japanese Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-ja %description locales-ja
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Japanese locales for kicad. Kicad-locales provides Japanese locales for kicad.
%files locales-ja
%{_datadir}/%{name}/internat/ja/
#----------------------------------------------------------------------------
%package locales-ko %package locales-ko
Summary: Korean Kicad locales Summary: Korean Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-ko %description locales-ko
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Korean locales for kicad. Kicad-locales provides Korean locales for kicad.
%files locales-ko
%{_datadir}/%{name}/internat/ko/
#----------------------------------------------------------------------------
%package locales-nl %package locales-nl
Summary: Dutch Kicad locales Summary: Dutch Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-nl %description locales-nl
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Dutch locales for kicad. Kicad-locales provides Dutch locales for kicad.
%files locales-nl
%{_datadir}/%{name}/internat/nl/
#----------------------------------------------------------------------------
%package locales-pl %package locales-pl
Summary: Polish Kicad locales Summary: Polish Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-pl %description locales-pl
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Polish locales for kicad. Kicad-locales provides Polish locales for kicad.
%files locales-pl
%{_datadir}/%{name}/internat/pl/
#----------------------------------------------------------------------------
%package locales-pt %package locales-pt
Summary: Portuguese Kicad locales Summary: Portuguese Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-pt %description locales-pt
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Portuguese locales for kicad. Kicad-locales provides Portuguese locales for kicad.
%files locales-pt
%{_datadir}/%{name}/internat/pt/
#----------------------------------------------------------------------------
%package locales-ru %package locales-ru
Summary: Russian Kicad locales Summary: Russian Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-ru %description locales-ru
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Russian locales for kicad. Kicad-locales provides Russian locales for kicad.
%files locales-ru
%{_datadir}/%{name}/internat/ru/
#----------------------------------------------------------------------------
%package locales-sl %package locales-sl
Summary: Slovenian Kicad locales Summary: Slovenian Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-sl %description locales-sl
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Slovenian locales for kicad. Kicad-locales provides Slovenian locales for kicad.
%files locales-sl
%{_datadir}/%{name}/internat/sl
#----------------------------------------------------------------------------
%package locales-sv %package locales-sv
Summary: Salvadoran Kicad locales Summary: Salvadoran Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-sv %description locales-sv
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Salvadoran locales for kicad. Kicad-locales provides Salvadoran locales for kicad.
%files locales-sv
%{_datadir}/%{name}/internat/sv/
#----------------------------------------------------------------------------
%package locales-zh-cn %package locales-zh-cn
Summary: Chinese Kicad locales Summary: Chinese Kicad locales
Version: %{docversion} Version: %{docversion}
License: GPL
Requires: %{name} Requires: %{name}
Provides: %{name}-locale Provides: %{name}-locale
BuildArch: noarch BuildArch: noarch
%description locales-zh-cn %description locales-zh-cn
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-locales provides Chinese locales for kicad. Kicad-locales provides Chinese locales for kicad.
%files locales-zh-cn
%{_datadir}/%{name}/internat/zh_CN/
#----------------------------------------------------------------------------
%package library %package library
Summary: Library for kicad (creation of electronic schematic diagrams) Summary: Library for kicad (creation of electronic schematic diagrams)
Version: %{libversion} Version: %{libversion}
License: GPL
Requires: %{name} Requires: %{name}
BuildArch: noarch BuildArch: noarch
%description library %description library
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.
Kicad-library is a set of library needed by kicad. Kicad-library is a set of library needed by kicad.
%files library
%{_datadir}/%{name}/library
%{_datadir}/%{name}/modules
#----------------------------------------------------------------------------
%prep %prep
%setup -q -T -b 0 -n %{name} %setup -q -T -b 0 -n %{name}
%setup -q -T -b 1 -n %{docname} %setup -q -T -b 1 -n %{docname}
@ -435,180 +527,3 @@ pushd %{name}
convert -resize 48x48 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{buildroot}%{_liconsdir}/%{name}.png convert -resize 48x48 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{buildroot}%{_liconsdir}/%{name}.png
popd popd
%files
%{_bindir}/*
%{_prefix}/lib/%{name}/plugins/netlist_form_pads-pcb.xsl
%{_iconsdir}/*/*/*
%{_iconsdir}/%{name}.png
%{_liconsdir}/%{name}.png
%{_miconsdir}/%{name}.png
%{_datadir}/%{name}/demos/
%{_datadir}/%{name}/template/
%{_datadir}/applications
%{_datadir}/mime/packages/kicad.xml
%{_datadir}/mimelnk/application/x-kicad-project.desktop
%{_datadir}/mimelnk/application/x-kicad-schematic.desktop
%files doc
%doc %{_datadir}/doc/%{name}
%files locales-ca
%{_datadir}/%{name}/internat/ca/
%files locales-cs
%{_datadir}/%{name}/internat/cs/
%files locales-de
%{_datadir}/%{name}/internat/de/
%files locales-es
%{_datadir}/%{name}/internat/es/
%files locales-fi
%{_datadir}/%{name}/internat/fi/
%files locales-fr
%{_datadir}/%{name}/internat/fr/
%files locales-hu
%{_datadir}/%{name}/internat/hu/
%files locales-it
%{_datadir}/%{name}/internat/it/
%files locales-ja
%{_datadir}/%{name}/internat/ja/
%files locales-ko
%{_datadir}/%{name}/internat/ko/
%files locales-nl
%{_datadir}/%{name}/internat/nl/
%files locales-pl
%{_datadir}/%{name}/internat/pl/
%files locales-pt
%{_datadir}/%{name}/internat/pt/
%files locales-ru
%{_datadir}/%{name}/internat/ru/
%files locales-sl
%{_datadir}/%{name}/internat/sl
%files locales-sv
%{_datadir}/%{name}/internat/sv/
%files locales-zh-cn
%{_datadir}/%{name}/internat/zh_CN/
%files library
%{_datadir}/%{name}/library
%{_datadir}/%{name}/modules
%changelog
* Mon Jan 16 2012 Andrey Bondrov <abondrov@mandriva.org> 20111228.bzr3254-1mdv2011.0
+ Revision: 761801
- New revisions: kicad 3254, library 112, doc 303. Build against utf8 wxGTK2.8
* Sun Jun 05 2011 Alexandre Lissy <alissy@mandriva.com> 20110525.bzr3009-6
+ Revision: 682787
- Only one %%mkrel
- Split kicad-locales into several package, each providing kicad-locales-X and kicad-locale
- Adding Suggests from kicad to kicad-locale
* Sun Jun 05 2011 Alexandre Lissy <alissy@mandriva.com> 20110525.bzr3009-5
+ Revision: 682786
- Unifying versions number
- Changing requires
- Adding missing License
- Release bump, package eaten by build system :(
- Updating release ...
- Fix bad version number for kicad-locales
* Fri Jun 03 2011 Alexandre Lissy <alissy@mandriva.com> 20110525.bzr3009-1
+ Revision: 682668
- Fixing typo in versions definitions
- Unification of all kicad sources packages
- Updating kicad, kicad-doc and kicad-library to latest (stable) bazaar revsion
- Adding new kicad-locales package
- Setting noarch for kicad-doc, kicad-library and kicad-locales
- Updating Kicad to latest release
* Mon Dec 06 2010 Oden Eriksson <oeriksson@mandriva.com> 20100314-2mdv2011.0
+ Revision: 612604
- the mass rebuild of 2010.1 packages
* Wed Apr 14 2010 Funda Wang <fwang@mandriva.org> 20100314-1mdv2010.1
+ Revision: 534645
- clean old switches
+ trem <trem@mandriva.org>
- remove use of iconscaldir
- update to 20100314
* Wed Jul 15 2009 trem <trem@mandriva.org> 20090216-1mdv2010.0
+ Revision: 396494
- update to 2009-02-16
- add lot of patches to fix printf format
+ Oden Eriksson <oeriksson@mandriva.com>
- lowercase ImageMagick
* Tue Aug 26 2008 trem <trem@mandriva.org> 20080715-4mdv2009.0
+ Revision: 276407
- new mdvrelease
- replace kicad-20080715-fix-desktop.patch by fix_desktop.patch
* Tue Aug 26 2008 Funda Wang <fwang@mandriva.org> 20080715-3mdv2009.0
+ Revision: 276396
- drop our own desktop file
* Tue Aug 26 2008 Funda Wang <fwang@mandriva.org> 20080715-2mdv2009.0
+ Revision: 276135
- fix license
- fix desktop file
* Thu Aug 21 2008 trem <trem@mandriva.org> 20080715-1mdv2009.0
+ Revision: 274944
- update to 20080715
+ Thierry Vignaud <tv@mandriva.org>
- rebuild
- rebuild
- drop old menu
- kill re-definition of %%buildroot on Pixel's request
- import kicad
+ Pixel <pixel@mandriva.com>
- rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas
+ Olivier Blin <blino@mandriva.org>
- restore BuildRoot
* Tue Aug 1 2006 Couriousous <couriousous@mandriva.org> 20060626-1mdv2007.0
- XDG
- 20060626
* Tue Apr 18 2006 Nicolas Lécureuil <neoclust@mandriva.org> 20060321-2mdk
- Fix BuildRequires
- use mkrel
* Mon Apr 17 2006 Couriousous <couriousous@mandriva.org> 20060321-1mdk
- 20060321
* Fri Sep 9 2005 Couriousous <couriousous@mandriva.org> 20050906-1mdk
- 20050906
* Tue Jul 26 2005 Couriousous <couriousous@mandriva.org> 20050725-1mdk
- 20050725
- Kicad is now FHS complient
* Sun Jul 17 2005 Couriousous <couriousous@mandriva.org> 20050704-1mdk
- First Mandriva release
- Patch for gcc4
- Patch for amd64