Browse Source

2014-10-29 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* gd: fixed spec
	* geda-gaf: updated
	* libqalculate, libstroke: rebuilt
	


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9042 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 years ago
parent
commit
2a7c642f75

+ 12 - 8
g/gd/gd-vl.spec

@@ -5,11 +5,11 @@ Summary: A graphics library for drawing .png files.
 Summary(ja): PNGイメージファイルを描写するためのグラフィックライブラリ
 Name: gd
 Version: 2.1.0
-Release: 2%{_dist_release}
+Release: 3%{_dist_release}
 Source0: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-%{version}.tar.xz
-Patch0:        gd-2.1.0-multilib.patch
-Patch1:        gd-fixautoconf.patch
-Patch100:      gd-2.1.0-fonts-vine.patch
+Patch0: gd-2.1.0-multilib.patch
+Patch1: gd-fixautoconf.patch
+Patch100: gd-2.1.0-fonts-vine.patch
 License: BSD-style
 URL: http://www.libgd.org/
 Group: System Environment/Libraries
@@ -61,7 +61,8 @@ Gdをインストールしてください。gdをインストールした場合
 Summary: Utility programs that use libgd.
 Summary(ja): libgd を用いたユーティリティプログラム
 Group: Applications/Graphics
-Requires: gd = %{version}, perl
+Requires: gd = %{version}
+Requires: perl
 
 %description progs
 These are utility programs supplied with gd, the .png graphics library.
@@ -74,10 +75,10 @@ If you install these, you must install gd.
 
 %package devel
 Summary: The development libraries and header files for gd.
-Summary(ja): gd用の開発ライブラリとヘッダファイル
+Summary(ja): Gd用の開発ライブラリとヘッダファイル
 Group: Development/Libraries
 Requires: gd = %{version}
-Requires: freetype-devel
+Requires: freetype2-devel
 Requires: fontconfig-devel
 Requires: libjpeg-turbo-devel
 Requires: libpng-devel
@@ -122,7 +123,7 @@ package.
 %package -n compat32-%{name}-devel
 Summary: The development libraries and header files for gd.
 Group: Development/Libraries
-Requires: compat32-freetype-devel
+Requires: compat32-freetype2-devel
 Requires: compat32-fontconfig-devel
 Requires: compat32-libjpeg-turbo-devel
 Requires: compat32-libpng-devel
@@ -224,6 +225,9 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
 %endif
 
 %changelog
+* Wed Oct 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1.0-3
+- BR: freetype2-devel instead of freetype-devel on devel package
+
 * Mon Jun 23 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-2
 - fixed version in gd.h.
 - added fontconfig and tiff support.

+ 80 - 42
g/geda-gaf/geda-gaf-vl.spec

@@ -1,28 +1,33 @@
-%define         snap   20100214
+%define         snap   20130925
 
 Name:           geda-gaf
-Version:        1.6.1
-Release:        2%{?_dist_release}
+Version:        1.8.2
+Release:        1%{?_dist_release}
 Summary:        Design Automation toolkit for electronic design
+Summary(ja):    電子回路の設計自動化ツール集
 
 Group:          Applications/Engineering
 License:        GPLv2
-URL:            http://www.geda.seul.org
-Source0:        http://geda.seul.org/devel/v1.6/%{version}/%{name}-%{version}.tar.gz
+URL:            http://www.geda-project.org/
+Source0:        http://ftp.geda-project.org/geda-gaf/stable/v1.8/1.8.2/%{name}-%{version}.tar.gz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  desktop-file-utils
-BuildRequires:  gettext-devel
+BuildRequires:  flex
 BuildRequires:  gawk
-BuildRequires:  intltool
+BuildRequires:  gettext-devel
 BuildRequires:  gd-devel
-BuildRequires:  libtool-ltdl-devel
-BuildRequires:  shared-mime-info
+BuildRequires:  groff
 BuildRequires:  gtk2-devel
 BuildRequires:  guile-devel
-BuildRequires:  transfig
+BuildRequires:  intltool
 BuildRequires:  libstroke-devel
+BuildRequires:  libtool-ltdl-devel
 BuildRequires:  perl
+BuildRequires:  shared-mime-info
+BuildRequires:  texinfo
+BuildRequires:  texlive
+BuildRequires:  transfig
 
 Requires:       geda-docs      = %{version}-%{release}
 Requires:       geda-gattrib   = %{version}-%{release}
@@ -47,6 +52,7 @@ printed circuit board (PCB) layout.
 
 %package      -n  libgeda
 Summary:          Libraries for the gEDA project
+Summary(ja):      gEDA プロジェクトの共用ライブラリ
 Group:            System Environment/Libraries
 
 %description  -n  libgeda
@@ -55,6 +61,7 @@ This package contains libgeda, the library needed by gEDA applications.
 
 %package      -n  libgeda-devel
 Summary:          Development files for the libgeda library
+Summary(ja):      libgeda の開発用ファイル
 Group:            Development/Libraries
 Requires:         libgeda = %{version}-%{release}
 Requires:         gtk2-devel
@@ -67,8 +74,9 @@ Development files for libgeda library
 
 %package      -n  geda-symbols
 Summary:          Electronic symbols for gEDA
+Summary(ja):      gEDA 電気用図記号
 Group:            Applications/Engineering
-#BuildArch:        noarch
+BuildArch:        noarch
 
 %description  -n  geda-symbols
 This package contains a bunch of symbols of electronic devices
@@ -77,8 +85,9 @@ used by gschem, the gEDA project schematic editor.
 
 %package      -n  geda-docs
 Summary:          Documentation and Examples for gEDA
+Summary(ja):      gEDA ドキュメント及びサンプル
 Group:            Applications/Documentation
-#BuildArch:        noarch
+BuildArch:        noarch
 Requires:         geda-symbols
 Provides:         geda-examples     = %{version}-%{release}
 Obsoletes:        geda-examples     < 20090830-2
@@ -89,6 +98,7 @@ This package contains documentation and examples for the gEDA project.
 
 %package      -n  geda-gattrib
 Summary:          Attribute editor for gEDA
+Summary(ja):      gEDA 属性エディタ
 Group:            Applications/Engineering
 Requires:         geda-symbols
 
@@ -122,6 +132,7 @@ and others.
 
 %package      -n  geda-gschem
 Summary:          Electronics schematics editor
+Summary(ja):      電子回路エディタ
 Group:            Applications/Engineering
 Requires(pre):    libgeda = %{version}-%{release}
 Requires:         geda-symbols
@@ -146,13 +157,15 @@ Summary:          Several utilities for the gEDA project
 Group:            Applications/Engineering
 Requires:         geda-symbols
 
-
 %description  -n  geda-utils
 Several utilities for the gEDA project.
 
 
 %prep
 %setup -q
+# Implicit DSO linking
+# undefined reference to symbol 'atan2@@GLIBC_2.0'
+sed -i "s|(gschem_LINK) \$(gschem_OBJECTS)|(gschem_LINK) -lm \$(gschem_OBJECTS)|" gschem/src/Makefile.in
 
 # rpmlint UTF-8
 for f in symbols/{AUTHORS,ChangeLog-1.0} gschem/ChangeLog; do
@@ -167,8 +180,7 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
 %endif
 
 %build
-
-%configure --disable-static
+%configure --enable-silent-rules --disable-static
 make %{?_smp_mflags}
 
 
@@ -176,7 +188,6 @@ make %{?_smp_mflags}
 %{__rm} -rf %{buildroot}
 make INSTALL="%{_bindir}/install -p" install DESTDIR=%{buildroot}
 
-
 desktop-file-install --vendor "" \
     --dir %{buildroot}%{_datadir}/applications \
     --delete-original                          \
@@ -190,16 +201,9 @@ desktop-file-install --vendor "" \
 
 
 # locale's
-for i in libgeda38 geda-gattrib geda-gschem ; do
-    if [ -d %{buildroot}%{_datadir}/locale/ ]; then
-        for lang_dir in %{buildroot}%{_datadir}/locale/* ; do
-            lang=$(basename $lang_dir)
-            if [ -e %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/$i.mo ] ; then
-                echo "%lang($lang) %{_datadir}/locale/$lang/LC_MESSAGES/$i.mo" >> $i.lang
-            fi
-        done
-    fi
-done
+%find_lang libgeda42
+%find_lang geda-gattrib
+%find_lang geda-gschem
 
 install -d %{buildroot}%{_docdir}/%{name}/{examples,gnetlist,gsymcheck,utils}
 
@@ -221,6 +225,8 @@ install -pm 644 gschem/examples/README.* %{buildroot}%{_docdir}/%{name}/examples
 %{__cp} -pr utils/examples %{buildroot}%{_docdir}/%{name}/utils
 
 find %{buildroot}%{_docdir} -name 'Makefile*' -exec rm -f '{}' \;
+%{__rm} -f %{buildroot}%{_datadir}/mime/version
+%{__rm} -f %{buildroot}%{_datadir}/info/dir
 
 
 %post -n geda-symbols
@@ -287,7 +293,7 @@ make distcheck
 %defattr(-,root,root,-)
 %doc ABOUT-NLS AUTHORS ChangeLog COPYING README NEWS
 
-%files -n libgeda -f libgeda38.lang
+%files -n libgeda -f libgeda42.lang
 %defattr(-,root,root,-)
 %doc libgeda/{HACKING,ChangeLog*,BUGS,TODO}
 %dir %{_datadir}/gEDA/
@@ -297,6 +303,7 @@ make distcheck
 %{_datadir}/gEDA/scheme/geda.scm
 %{_datadir}/gEDA/system-gafrc
 %{_datadir}/mime/packages/libgeda.xml
+%{_infodir}/geda-scheme.info.gz
 
 
 %files -n libgeda-devel
@@ -337,6 +344,7 @@ make distcheck
 %{_datadir}/gEDA/gattrib-menus.xml
 %{_datadir}/applications/geda-gattrib.desktop
 %{_datadir}/icons/hicolor/*/apps/geda-gattrib.*
+%{_mandir}/man1/gattrib.1.gz
 
 
 %files -n geda-gnetlist
@@ -344,37 +352,48 @@ make distcheck
 %doc gnetlist/{BUGS,ChangeLog*,TODO}
 %doc %{_docdir}/%{name}/gnetlist
 %{_bindir}/gnetlist
-%{_bindir}/mk_verilog_syms
-%{_bindir}/sch2eaglepos.sh
+#{_bindir}/mk_verilog_syms
+#{_bindir}/sch2eaglepos.sh
 %{_bindir}/sw2asc
 %{_datadir}/gEDA/scheme/gnet*.scm
 %{_datadir}/gEDA/system-gnetlistrc
-%{_mandir}/man1/gnetlist.*
+%{_mandir}/man1/gnetlist.1.gz
+%{_mandir}/man1/sw2asc.1.gz
 
 
 %files -n geda-gschem -f geda-gschem.lang
 %defattr(-,root,root,-)
 %doc gschem/{BUGS,ChangeLog*,TODO}
 %{_bindir}/gschem
-%{_bindir}/gschemdoc
+#{_bindir}/gschemdoc
+%{_datadir}/gEDA/bitmap/gschem-*
+%{_datadir}/gEDA/gschem-colormap-bw
 %{_datadir}/gEDA/scheme/auto-place-attribs.scm
-%{_datadir}/gEDA/scheme/default-attrib-positions.scm
-%{_datadir}/gEDA/scheme/image.scm
-%{_datadir}/gEDA/scheme/pcb.scm
-%{_datadir}/gEDA/scheme/print.scm
 %{_datadir}/gEDA/scheme/auto-uref.scm
+%{_datadir}/gEDA/scheme/color-map.scm
+%{_datadir}/gEDA/scheme/default-attrib-positions.scm
 %{_datadir}/gEDA/scheme/generate_netlist.scm
 %{_datadir}/gEDA/scheme/gschem.scm
+%{_datadir}/gEDA/scheme/image.scm
 %{_datadir}/gEDA/scheme/list-keys.scm
+%{_datadir}/gEDA/scheme/pcb.scm
+%{_datadir}/gEDA/scheme/print.scm
 %{_datadir}/gEDA/scheme/print-NB-attribs.scm
-%{_datadir}/gEDA/bitmap/gschem-*
+%{_datadir}/gEDA/scheme/geda/core/gettext.scm
+%{_datadir}/gEDA/scheme/geda/os.scm
+%{_datadir}/gEDA/scheme/geda/attrib.scm
+%{_datadir}/gEDA/scheme/geda/deprecated.scm
+%{_datadir}/gEDA/scheme/geda/object.scm
+%{_datadir}/gEDA/scheme/geda/page.scm
+%{_datadir}/gEDA/scheme/gnetlist/backend-getopt.scm
+%{_datadir}/gEDA/scheme/gschem
+%{_datadir}/gEDA/scheme/partslist-common.scm
 %{_datadir}/gEDA/system-gschemrc
 %{_datadir}/gEDA/gschem-gtkrc
 %{_datadir}/gEDA/gschem-colormap-darkbg
 %{_datadir}/gEDA/gschem-colormap-lightbg
 %{_datadir}/gEDA/print-colormap-darkbg
 %{_datadir}/gEDA/print-colormap-lightbg
-%{_datadir}/gEDA/scheme/color-map.scm
 %{_datadir}/mime/application/x-geda-schematic.xml
 %{_datadir}/applications/geda-gschem.desktop
 %{_mandir}/man1/gschem.*
@@ -403,8 +422,8 @@ make distcheck
 %{_bindir}/convert_sym
 %{_bindir}/sarlacc_schem
 %{_bindir}/sarlacc_sym
-%{_bindir}/gschupdate
-%{_bindir}/gsymfix.pl
+%{_bindir}/gsymfix
+%{_bindir}/schdiff
 %{_bindir}/pcb_backannotate
 %{_bindir}/gschlas
 %{_bindir}/olib
@@ -412,15 +431,34 @@ make distcheck
 %{_bindir}/gsch2pcb
 %{_bindir}/pads_backannotate
 %{_bindir}/tragesym
-%{_bindir}/gsymupdate
 %{_bindir}/gxyrs
-%{_bindir}/gnet_hier_verilog.sh
 %{_datadir}/gEDA/system-gschlasrc
-%{_mandir}/man1/grenum.1.gz
 %{_datadir}/gEDA/perl/lib/gxyrs.pm
+%{_mandir}/man1/convert_sym.1.gz
+%{_mandir}/man1/garchive.1.gz
+%{_mandir}/man1/gmk_sym.1.gz
+%{_mandir}/man1/grenum.1.gz
+%{_mandir}/man1/gsch2pcb.1.gz
+%{_mandir}/man1/gschlas.1.gz
+%{_mandir}/man1/gsymfix.1.gz
+%{_mandir}/man1/gxyrs.1.gz
+%{_mandir}/man1/pads_backannotate.1.gz
+%{_mandir}/man1/pcb_backannotate.1.gz
+%{_mandir}/man1/olib.1.gz
+%{_mandir}/man1/refdes_renum.1.gz
+%{_mandir}/man1/tragesym.1.gz
+%{_mandir}/man1/sarlacc_schem.1.gz
+%{_mandir}/man1/sarlacc_sym.1.gz
+%{_mandir}/man1/schdiff.1.gz
+%{_mandir}/man1/smash_megafile.1.gz
 
 
 %changelog
+* Wed Oct 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.8.2-1
+- updated to 1.8.2
+- added BR: texinfo, texlive
+- updated URL
+
 * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 1.6.1-2
 - rebuilt with rpm-4.8.1 for pkg-config
 

+ 25 - 15
lib/libq/libqalculate/libqalculate-vl.spec

@@ -1,13 +1,15 @@
 Summary:	Multi-purpose calculator library
+Summary(ja):	多目的電卓ライブラリ
 Name:		libqalculate
 Version:	0.9.7
-Release:	1%{?_dist_release}
+Release:	3%{?_dist_release}
 
-Group:		System Environment/Libraries
 License:	GPLv2+
+Group:		System Environment/Libraries
 URL:		http://qalculate.sourceforge.net/
 
-Source0:	http://dl.sf.net/sourceforge/qalculate/%{name}-%{version}.tar.gz
+Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch1:		libqalculate-0.9.7-pkgconfig_private.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildRequires:  cln-devel
@@ -15,8 +17,8 @@ BuildRequires:	glib2-devel
 BuildRequires:	libxml2-devel
 BuildRequires:  ncurses-devel
 BuildRequires:	readline-devel
-BuildRequires:	perl-XML-Parser gettext
-#BuildRequires:	intltool, libtool, automake, autoconf
+BuildRequires:	perl-XML-Parser
+BuildRequires:  gettext
 
 %description
 This library underpins the Qalculate! multi-purpose desktop calculator for
@@ -24,11 +26,13 @@ GNU/Linux
 
 %package	devel
 Summary:	Development tools for the Qalculate calculator library
+Summary(ja):	Qalculate 電卓ライブラリの開発用ファイル
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:       cln-devel
 Requires:	glib2-devel
 Requires:       libxml2-devel
+Requires:       pkgconfig
 
 %description	devel
 The libqalculate-devel package contains the header files needed for development
@@ -36,7 +40,8 @@ with libqalculate.
 
 %package -n	qalculate
 Summary:	Multi-purpose calculator, text mode interface
-Group:		Applications/Accessories
+Summary(ja):	テキストインターフェースの多目的電卓
+Group:		Applications/Engineering
 Requires:	%{name} = %{version}-%{release}
 
 %description -n	qalculate
@@ -48,15 +53,7 @@ frontends are provided by qalculate-gtk and qalculate-kde packages resp.
 
 %prep
 %setup -q
-#patch1 -p0 -b .cln
-#patch2 -p1 -b .pkgconfig_private
-
-#intltoolize --copy --force --automake
-#libtoolize --force --copy
-#aclocal
-#autoheader
-#automake
-#autoconf
+%patch1 -p1 -b .pkgconfig_private
 
 %build
 %configure --disable-static
@@ -70,6 +67,10 @@ make DESTDIR=%{buildroot} install
 %find_lang %{name}
 rm -f %{buildroot}/%{_libdir}/*.la
 
+rm -rf docs_to_include
+mkdir -p docs_to_include
+mv %{buildroot}%{_docdir}/%{name}-%{version}/reference docs_to_include
+
 %clean
 rm -rf %{buildroot}
 
@@ -85,6 +86,7 @@ rm -rf %{buildroot}
 
 %files devel
 %defattr(-,root,root,-)
+%doc COPYING docs_to_include/*
 %{_libdir}/libqalculate.so
 %{_libdir}/pkgconfig/libqalculate.pc
 %{_includedir}/libqalculate/
@@ -94,6 +96,14 @@ rm -rf %{buildroot}
 %{_bindir}/qalc
 
 %changelog
+* Wed Oct 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.9.7-3
+- added Japanese summary
+- added Patch1 from fc
+- moved API documents to devel package
+
+* Mon May 21 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.7-2
+- rebuild with rpm-4.8.1-3
+
 * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.7-1
 - new upstream release
 - built with rpm-4.8.1

+ 16 - 18
lib/libs/libstroke/libstroke-vl.spec

@@ -1,29 +1,28 @@
 Name:              libstroke
 Version:           0.5.1
-Release:           24%{?_dist_release}
-
+Release:           25%{?_dist_release}
 Summary:           A stroke interface library
+
 License:           GPLv2
+Group:             System Environment/Libraries
 URL:               http://www.etla.net/%{name}/
 
-Source:            http://www.etla.net/%{name}/%{name}-%{version}.tar.gz
-Group:             System Environment/Libraries
+Source0:           http://www.etla.net/%{name}/%{name}-%{version}.tar.gz
+Patch0:            libstroke-aclocal.patch
+Patch1:            libstroke-multilib.patch
 
 BuildRoot:         %{_tmppath}/%{name}-%{version}-root
 BuildRequires:     gtk+-devel
 BuildRequires:     libtool
 BuildRequires:     pkgconfig
 
-Patch0:            libstroke-aclocal.patch
-Patch1:            libstroke-multilib.patch
-
-
 %description
 LibStroke is a stroke interface library.  Strokes are motions
 of the mouse that can be interpreted by a program as a command.
 
 %package -n %{name}-devel
 Summary:           Development files for the libstroke library
+Summary(ja):       libstroke の開発用ファイル
 Group:             Development/Libraries
 Requires:          %{name} = %{version}-%{release}
 Requires:          automake
@@ -42,7 +41,8 @@ LibStroke is a stroke interface library.  Strokes are motions
 of the mouse that can be interpreted by a program as a command.
 
 %package -n libgstroke-devel
-Summary:           Development files for the libstroke library
+Summary:           Development files for the libgstroke library
+Summary(ja):       libgstroke の開発用ファイル
 Group:             Development/Libraries
 Requires:          libgstroke = %{version}-%{release}
 Requires:          %{name} = %{version}-%{release}
@@ -53,8 +53,9 @@ Development files for the libgstroke library.
 
 
 %package -n javastroke
-Summary:           Optional java files
-Group:             System Environment/Libraries
+Summary:           Port of the LibStroke library to Java
+Group:             Development/Libraries
+BuildArch:         noarch
 Requires:          %{name} = %{version}-%{release}
 
 %description -n javastroke
@@ -62,17 +63,11 @@ Java interface for stroke and example application
 
 %prep
 %setup -q
-
 %patch0 -p1 -b .aclocal
 %patch1 -p1 -b .multilib
 
-#if 0%{?fedora} < 11
-#cp -p %{_datadir}/libtool/config.sub .
-#cp -p %{_datadir}/libtool/config.guess .
-#else
 cp -p %{_datadir}/libtool/config/config.sub .
 cp -p %{_datadir}/libtool/config/config.guess .
-#endif
 
 %build
 %configure \
@@ -134,6 +129,9 @@ rm -rf %{buildroot}
 
 
 %Changelog
+* Wed Oct 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.5.1-25
+- rebuilt on current VineSeed
+
 * Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5.1-24
 - Initial build for Vine Linux
 
@@ -202,4 +200,4 @@ rm -rf %{buildroot}
 - libstroke-gnome splited.
 
 * Wed Dec 19 2001 Wojciech Kazubski <wk at ire.pw.edu.pl>
-- first RedHat version.
+- first RedHat version.