Browse Source

2015-01-15 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* OpenColorIO, freetds, libodfgen, libvisio, libwps: NEW package
	


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

+ 200 - 0
O/OpenColorIO/OpenColorIO-vl.spec

@@ -0,0 +1,200 @@
+# Filter provides from Python libraries
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}.*\.so$
+%filter_setup
+}
+
+Name:           OpenColorIO
+Version:        1.0.8
+Release:        7%{?_dist_release}
+Summary:        Enables color transforms and image display across graphics apps
+Summary(ja):    アプリケーション間での色変換と画像表示を行うためのライブラリ
+
+License:        BSD
+Group:          System Environment/Libraries
+URL:            http://opencolorio.org/
+# Github archive was generated on the fly using the following URL:
+# https://github.com/imageworks/OpenColorIO/tarball/v1.0.8
+
+Source0:        %{name}-%{version}.tar.gz
+Patch0:         OpenColorIO-pull_300.patch
+Patch1:         OpenColorIO-yaml_cpp3.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires:  cmake
+BuildRequires:  help2man
+BuildRequires:  texlive-collection-fontsrecommended
+BuildRequires:  texlive-collection-latexextra
+BuildRequires:  texlive-collection-latexrecommended
+
+# Libraries
+BuildRequires:  python-devel
+BuildRequires:  mesa-libGL-devel mesa-libGLU-devel
+BuildRequires:  libX11-devel libXmu-devel libXi-devel
+BuildRequires:  freeglut-devel
+BuildRequires:  glew-devel
+BuildRequires:  zlib-devel
+
+#######################
+# Unbundled libraries #
+#######################
+BuildRequires:  tinyxml-devel
+BuildRequires:  lcms2-devel
+#BuildRequires:  yaml-cpp-devel
+
+# The following bundled projects  are only used for document generation.
+#BuildRequires:  python-docutils
+#BuildRequires:  python-jinja2
+#BuildRequires:  python-pygments
+#BuildRequires:  python-setuptools
+#BuildRequires:  python-sphinx
+
+%description
+OCIO enables color transforms and image display to be handled in a consistent
+manner across multiple graphics applications. Unlike other color management
+solutions, OCIO is geared towards motion-picture post production, with an
+emphasis on visual effects and animation color pipelines.
+
+
+%package devel
+Summary:        Development libraries and headers for %{name}
+Summary(ja):    %{name} の開発用ライブラリおよびヘッダファイル
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+Development libraries and headers for %{name}.
+
+
+%package doc
+Summary:        API Documentation for %{name}
+Summary(ja):    %{name} API のドキュメント
+Group:          Documentation
+BuildArch:      noarch
+Requires:       %{name} = %{version}-%{release}
+
+%description doc
+API documentation for %{name}.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .pull300
+#patch1 -p1 -b .yaml3
+
+# Remove what bundled libraries
+rm -f ext/lcms*
+rm -f ext/tinyxml*
+#rm -f ext/yaml*
+
+
+%build
+rm -rf build && mkdir build && pushd build
+%cmake -DOCIO_BUILD_STATIC=OFF \
+       -DOCIO_BUILD_DOCS=ON \
+       -DOCIO_BUILD_TESTS=ON \
+       -DOCIO_PYGLUE_SONAME=OFF \
+       -DUSE_EXTERNAL_YAML=FALSE \
+       -DUSE_EXTERNAL_TINYXML=TRUE \
+       -DUSE_EXTERNAL_LCMS=TRUE \
+%ifnarch x86_64
+       -DOCIO_USE_SSE=OFF \
+%endif
+       -DCMAKE_SKIP_RPATH=OFF \
+       ../
+
+#       -DUSE_EXTERNAL_YAML=FALSE \
+make %{?_smp_mflags}
+
+			  
+%install
+rm -rf %{buildroot}
+pushd build
+make install DESTDIR=%{buildroot}
+
+# Generate man pages
+mkdir -p %{buildroot}%{_mandir}/man1
+help2man -N -s 1 --version-string=%{version} \
+         -o %{buildroot}%{_mandir}/man1/ociocheck.1 \
+         src/apps/ociocheck/ociocheck
+help2man -N -s 1 --version-string=%{version} \
+         -o %{buildroot}%{_mandir}/man1/ociobakelut.1 \
+         src/apps/ociobakelut/ociobakelut
+
+# Move installed documentation back so it doesn't conflict with the main package
+popd
+
+rm -rf _tmpdoc
+mkdir -p _tmpdoc
+mv %{buildroot}%{_docdir}/%{name}/* _tmpdoc/
+
+
+%check
+# Testing passes locally in mock but fails on the fedora build servers.
+#pushd build && make test
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%doc ChangeLog LICENSE README
+%{_bindir}/*
+%{_libdir}/*.so.*
+%dir %{_datadir}/ocio
+%{_datadir}/ocio/setup_ocio.sh
+%{_mandir}/man1/*
+%{python_sitearch}/*.so
+
+%files devel
+%{_includedir}/OpenColorIO/
+%{_includedir}/PyOpenColorIO/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}.pc
+
+%files doc
+%doc _tmpdoc/*
+
+
+%changelog
+* Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.0.8-7
+- Initial build for Vine Linux
+- used bundled yaml-cpp
+
+* Mon Sep 23 2013 Richard Shaw <hobbes1069@gmail.com> - 1.0.8-6
+- Rebuild against yaml-cpp03 compatibility package.
+
+* Mon Aug 26 2013 Richard Shaw <hobbes1069@gmail.com> - 1.0.8-5
+- Fix for new F20 feature, unversion doc dir. Fixes BZ#1001264
+
+* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Tue Dec 11 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0.8-1
+- Update to latest upstream release.
+
+* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Apr 26 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0.7-4
+- Only use SSE instructions on x86_64.
+
+* Wed Apr 25 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0.7-3
+- Misc spec cleanup for packaging guidelines.
+- Disable testing for now since it fails on the build servers.
+
+* Wed Apr 18 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0.7-1
+- Latest upstream release.
+
+* Thu Apr 05 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0.6-1
+- Latest upstream release.
+
+* Wed Nov 16 2011 Richard Shaw <hobbes1069@gmail.com> - 1.0.2-1
+- Initial release.

+ 310 - 0
f/freetds/freetds-vl.spec

@@ -0,0 +1,310 @@
+%define git_commit	0a42888
+
+%ifarch alpha ia64 x86_64 ppc64 ppc64le sparc64 s390x aarch64
+%define bits	64
+%else
+%define bits	32
+%endif
+
+Name: freetds
+Summary: Implementation of the TDS (Tabular DataStream) protocol
+Version: 0.91.103
+Release: 16%{?_dist_release}
+
+Group: System Environment/Libraries
+License: LGPLv2+ and GPLv2+
+URL: http://www.freetds.org/
+
+#  download the latest git source for 0.91 branch from
+#   http://gitorious.org/freetds/freetds/archive-tarball/Branch-0_91
+#  then
+#   mv freetds-freetds-Branch-0_91.tar.gz freetds-%{version}-%{git_commit}.tar.gz
+#Source0: freetds-%{version}-%{git_commit}.tar.gz
+
+Source0: ftp://ftp.freetds.org/pub/freetds/stable/freetds-%{version}.tar.gz
+Source1: freetds-tds_sysdep_public.h
+Patch1: freetds-0.91-printf.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: unixODBC-devel, readline-devel, gnutls-devel, krb5-devel
+BuildRequires: libgcrypt-devel
+BuildRequires: libtool
+BuildRequires: doxygen, docbook-style-dsssl
+
+
+%description 
+FreeTDS is a project to document and implement the TDS (Tabular
+DataStream) protocol. TDS is used by Sybase(TM) and Microsoft(TM) for
+client to database server communications. FreeTDS includes call
+level interfaces for DB-Lib, CT-Lib, and ODBC.
+
+
+%package devel
+Summary: Header files and development libraries for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files and development libraries
+for %{name}. If you like to develop programs using %{name}, you will need
+to install %{name}-devel.
+
+
+%package doc
+Summary: Development documentation for %{name}
+Group: Documentation
+BuildArch: noarch
+
+%description doc
+This package contains the development documentation for %{name}.
+If you like to develop programs using %{name}, you will need to install
+%{name}-doc.
+
+
+%prep 
+#setup -q -n freetds-freetds
+%setup -q
+%patch1 -p1
+
+#  correct perl path
+sed -i '1 s,#!.*/perl,#!%{__perl},' samples/*.pl
+
+chmod -x samples/*.sh samples/*.pl
+
+find . -name .cvsignore -print | xargs rm -f
+find . -name .gitignore -print | xargs rm -f
+
+
+%build 
+export LIBS=-lgcrypt
+
+[ -f configure ] || NOCONFIGURE=yes ./autogen.sh
+
+%configure \
+	--disable-dependency-tracking \
+	--disable-rpath \
+	%{!?_with_static: --disable-static} \
+	--with-tdsver="4.2" \
+	--with-unixodbc="%{_prefix}" \
+	--enable-msdblib \
+	--enable-sybase-compat \
+	--with-gnutls \
+	--enable-krb5
+
+make %{?_smp_mflags} DOCBOOK_DSL="`rpm -ql docbook-style-dsssl | fgrep html/docbook.dsl`"
+
+ 
+%install 
+rm -rf $RPM_BUILD_ROOT
+
+make install DOCDIR=doc/%{name} DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -rf $RPM_BUILD_ROOT%{_docdir}/freetds
+
+mv -f $RPM_BUILD_ROOT%{_includedir}/tds_sysdep_public.h \
+	$RPM_BUILD_ROOT%{_includedir}/tds_sysdep_public_%{bits}.h
+install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/tds_sysdep_public.h
+
+rm -f samples/Makefile* samples/*.in samples/README
+
+rm -f doc/doc/freetds-%{version}/reference/installdox
+
+mv -f samples/unixodbc.freetds.driver.template \
+	samples/unixodbc.freetds.driver.template-%{bits}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%clean 
+rm -rf $RPM_BUILD_ROOT
+ 
+
+%files 
+%defattr(-, root, root, -) 
+%{_bindir}/*
+%{_libdir}/*.so.*
+%config(noreplace) %{_sysconfdir}/*.conf
+%doc AUTHORS BUGS COPYING* NEWS README TODO doc/*.html
+%doc doc/doc/freetds-%{version}/userguide doc/images
+%{_mandir}/*/*
+
+ 
+%files devel 
+%defattr (-, root, root, -) 
+%doc samples
+%{?_with_static: %{_libdir}/*.a}
+%{_libdir}/*.so
+%{_includedir}/*
+
+
+%files doc
+%defattr (-, root, root, -) 
+%doc doc/doc/freetds-%{version}/reference
+ 
+
+%changelog
+* Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.91.103-16
+- Initial build for Vine Linux
+- source as 0.91.103
+
+* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-15.git0a42888
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-14.git0a42888
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Tue Apr 22 2014 Tomáš Mráz <tmraz@redhat.com> - 0.91-13.git0a42888
+- Rebuild for new libgcrypt
+
+* Fri Jan 10 2014 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-12.git0a42888
+- add ppc64le to the list of 64bit arches (#1051199)
+
+* Tue Dec  3 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-11.git0a42888
+- update to the latest git source for 0_91 branch
+- fix format-security issue (#1037071)
+
+* Thu Aug 22 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-10.git748aa26
+- update to the latest git source for 0_91 branch
+- fix #999696
+
+* Wed Aug  7 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-9.gitb760a89
+- update to the latest git source for 0_91 branch
+- fix #992295, #993762
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-8.gitf3ae29d
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Jun 13 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-7.gitf3ae29d
+- add aarch64 to the list of 64bit arches (#966129)
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6.gitf3ae29d
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Wed Nov  7 2012 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-5.gitf3ae29d
+- update to the latest git source for 0_91 branch
+- fix #870483
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Mon Feb 27 2012 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-3
+- Enable Kerberos support (#797276)
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Oct 26 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-1
+- Upgrade to 0.91
+- Drop shared-libtds support
+
+* Wed Mar  9 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82.1-0.3.20110306dev
+- update to the latest stable snapshot 0.82.1.dev.20110306
+- make build with shared-libtds conditional
+- disable shared-libtds patch by default (seems noone uses it for now)
+
+* Mon Feb 14 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82.1-0.2.20100810dev
+- fix again shared-libtds patch to provide increased library version
+
+* Thu Feb 10 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82.1-0.1.20100810dev
+- update to the latest stable snapshot 0.82.1.dev.20100810
+- fix shared-libtds patch to provide properly library names
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Mar 26 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-5
+- add upstream patch cspublic.BLK_VERSION_150.patch (#492393)
+
+* Tue Feb 24 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-4
+- fix autoconf data for libtool2 (patch by Tom Lane <tgl@redhat.com>)
+
+* Fri Jan 30 2009 Karsten Hopp <karsten@redhat.com> 0.82-3
+- add s390x to 64 bit archs
+
+* Sun Jan 11 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-3
+- Use gnutls for SSL (#479148)
+
+* Tue Jun 17 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-2
+- Continue to provide an internal libtds library as public
+  (patch from Hans de Goede, #451021). This shared library is needed
+  for some existing applications (libgda etc.), which still use it directly.
+
+* Mon Jun  9 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-1
+- Upgrade to 0.82
+
+* Tue Feb 26 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-11
+- fix "64 or 32 bit" test (#434975)
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.64-10
+- Autorebuild for GCC 4.3
+
+* Mon Jan 28 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-9
+- drop "Obsoletes:" from -doc subpackage to avoid extra complexity.
+
+* Fri Jan 25 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-8
+- resolve multiarch conflicts (#341181):
+  - split references to separate freetds-doc subpackage
+  - add arch-specific suffixes for arch-specific filenames in -devel
+  - add wrapper for tds_sysdep_public.h
+- add readline support (#430196)
+
+* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.64-7
+- Rebuild for selinux ppc32 issue.
+
+* Thu Aug 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
+- Change License tag to "LGPLv2+ and GPLv2+"
+
+* Fri Jun 15 2007 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-6 
+- bump release to provide update path over Livna
+
+* Wed Jun 13 2007 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-5
+- spec file cleanups
+- allowed for Fedora (no patent issues exist), clarification by
+  James K. Lowden <jklowden [AT] freetds.org>
+- approved for Fedora (review by Hans de Goede <j.w.r.degoede@hhs.nl>)
+
+* Wed Aug  2 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-4
+- approved for Livna (review by Hans de Goede <j.w.r.degoede@hhs.nl>)
+
+* Tue Aug  1 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-4
+- add patch to fix sed scripts in the doc/ Makefile
+- avoid using rpath in binaries
+- cleanup in samples/ dir
+
+* Thu Jul 27 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-3
+- rebuild userguide too.
+- move reference docs to -devel
+
+* Mon Jul 24 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-2
+- Properly clear extra executable bit in source
+- Regenerate docs using doxygen
+
+* Thu Jul 20 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-1
+- Upgrade to 0.64
+- Some spec file and distro cleanups
+
+* Tue Sep 20 2005 V.C.G.Yeah <VCGYeah@iname.com> - 0.63-1
+- Upgrade to 0.63
+- spec file cleanups
+- build static libs conditional
+
+* Thu Sep  2 2004 V.C.G.Yeah <VCGYeah@iname.com> - 0.62.4-1Y
+- Updated to release 0.62.4.
+- Leave includes in system default include dir (needed for php-mssql build)
+
+* Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.62.3-1
+- Updated to release 0.62.3.
+
+* Wed Feb 04 2004 Dag Wieers <dag@wieers.com> - 0.61.2-0
+- Added --enable-msdblib configure option. (Dean Mumby)
+- Updated to release 0.61.2.
+
+* Fri Jun 13 2003 Dag Wieers <dag@wieers.com> - 0.61-0
+- Initial package. (using DAR)

+ 131 - 0
lib/libo/libodfgen/libodfgen-vl.spec

@@ -0,0 +1,131 @@
+%global apiversion 0.1
+
+Name: libodfgen
+Version: 0.1.3
+Release: 2%{?_dist_release}
+Summary: An ODF generator library
+Summary(ja): ODF 生成ライブラリ
+
+License: LGPLv2+ or MPLv2.0
+Group: System Environment/Libraries
+URL: https://sourceforge.net/p/libwpd/wiki/libodfgen/
+
+Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: doxygen
+BuildRequires: libboost-devel
+BuildRequires: librevenge-devel
+
+%description
+%{name} is a library for generating ODF documents. It is directly
+pluggable into input filters based on librevenge. It is used in
+libreoffice or calligra, for example.
+
+%package devel
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package doc
+Summary: Documentation of %{name} API
+Summary(ja): %{name} API のドキュメント
+Group: Documentation
+BuildArch: noarch
+
+%description doc
+The %{name}-doc package contains documentation files for %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-silent-rules --disable-static --disable-werror \
+    --enable-test
+sed -i \
+    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
+    libtool
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}/%{_libdir}/*.la
+# we install API docs directly from build
+rm -rf %{buildroot}/%{_docdir}/%{name}
+
+%check
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+make %{?_smp_mflags} check
+make -C test launch_all
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%doc COPYING.* README NEWS
+%{_libdir}/%{name}-%{apiversion}.so.*
+
+%files devel
+%doc ChangeLog
+%{_includedir}/%{name}-%{apiversion}
+%{_libdir}/%{name}-%{apiversion}.so
+%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
+
+%files doc
+%doc COPYING.*
+%doc docs/doxygen/html
+
+%changelog
+* Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.1.3-2
+- Initial build for Vine Linux
+
+* Fri Jan 02 2015 David Tardon <dtardon@redhat.com> - 0.1.3-1
+- new upstream release
+
+* Mon Nov 24 2014 David Tardon <dtardon@redhat.com> - 0.1.2-1
+- new upstream release
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Tue Jun 03 2014 David Tardon <dtardon@redhat.com> - 0.1.1-1
+- new upstream release
+
+* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
+- new upstream release
+
+* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.0.4-2
+- rebuild for boost 1.55.0
+
+* Wed Dec 04 2013 David Tardon <dtardon@redhat.com> - 0.0.4-1
+- new release
+
+* Tue Dec 03 2013 David Tardon <dtardon@redhat.com> - 0.0.3-2
+- rhbz#1000893 do not pull in unneeded packages
+
+* Thu Oct 31 2013 David Tardon <dtardon@redhat.com> - 0.0.3-1
+- new release
+
+* Mon Sep 09 2013 David Tardon <dtardon@redhat.com> - 0.0.2-3
+- do not build in C++11 mode
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed May 22 2013 David Tardon <dtardon@redhat.com> - 0.0.2-1
+- new release
+
+* Wed May 08 2013 David Tardon <dtardon@redhat.com> - 0.0.1-1
+- new release
+
+* Fri May 03 2013 David Tardon <dtardon@redhat.com> - 0.0.0-1
+- initial import

+ 238 - 0
lib/libv/libvisio/libvisio-vl.spec

@@ -0,0 +1,238 @@
+%global apiversion 0.1
+
+Name: libvisio
+Version: 0.1.1
+Release: 2%{?_dist_release}
+Summary: A library for import of Microsoft Visio diagrams
+Summary(ja): Microsoft Visio ダイアグラムをインポートするためのライブラリ
+
+License: MPLv2.0
+Group: System Environment/Libraries
+URL: http://wiki.documentfoundation.org/DLP/Libraries/libvisio
+
+Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: doxygen
+BuildRequires: cppunit-devel
+BuildRequires: gperf
+BuildRequires: help2man
+BuildRequires: libboost-devel
+BuildRequires: libicu-devel
+BuildRequires: librevenge-devel
+BuildRequires: libxml2-devel
+BuildRequires: perl
+BuildRequires: zlib-devel
+
+%description
+%{name} is library providing ability to interpret and import
+Microsoft Visio diagrams into various applications. You can find it
+being used in libreoffice.
+
+%package devel
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package doc
+Summary: Documentation of %{name} API
+Summary(ja): %{name} API のドキュメント
+Group: Documentation
+BuildArch: noarch
+
+%description doc
+The %{name}-doc package contains documentation files for %{name}.
+
+%package tools
+Summary: Tools to transform Microsoft Visio diagrams into other formats
+Summary(ja): Microsoft Visio ダイアグラムを他のフォーマットに変換するツール
+Group: Applications/Productivity
+Requires: %{name} = %{version}-%{release}
+
+%description tools
+Tools to transform Microsoft Visio diagrams into other formats.
+Currently supported: XHTML, raw, plain text.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --disable-silent-rules
+sed -i \
+    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
+    libtool
+make %{?_smp_mflags}
+
+export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+help2man -N -n 'debug the conversion library' -o vsd2raw.1 ./src/conv/raw/.libs/vsd2raw
+help2man -N -n 'convert Visio document into SVG' -o vsd2xhtml.1 ./src/conv/svg/.libs/vsd2xhtml
+help2man -N -n 'convert Visio document into plain text' -o vsd2text.1 ./src/conv/text/.libs/vsd2text
+help2man -N -n 'debug the conversion library' -o vss2raw.1 ./src/conv/raw/.libs/vss2raw
+help2man -N -n 'convert Visio stencil into SVG' -o vss2xhtml.1 ./src/conv/svg/.libs/vss2xhtml
+help2man -N -n 'convert Visio stencil into plain text' -o vss2text.1 ./src/conv/text/.libs/vss2text
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}/%{_libdir}/*.la
+# rhbz#1001240 we install API docs directly from build
+rm -rf %{buildroot}/%{_docdir}/%{name}
+
+install -m 0755 -d %{buildroot}/%{_mandir}/man1
+install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%check
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+# Workaround time formatting problem in the test
+export TZ='CET'
+make check %{?_smp_mflags}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%doc AUTHORS COPYING.*
+%{_libdir}/%{name}-%{apiversion}.so.*
+
+%files devel
+%doc ChangeLog
+%{_includedir}/%{name}-%{apiversion}
+%{_libdir}/%{name}-%{apiversion}.so
+%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
+
+%files doc
+%doc COPYING.*
+%doc docs/doxygen/html
+
+%files tools
+%{_bindir}/vsd2raw
+%{_bindir}/vsd2text
+%{_bindir}/vsd2xhtml
+%{_bindir}/vss2raw
+%{_bindir}/vss2text
+%{_bindir}/vss2xhtml
+%{_mandir}/man1/vsd2raw.1*
+%{_mandir}/man1/vsd2text.1*
+%{_mandir}/man1/vsd2xhtml.1*
+%{_mandir}/man1/vss2raw.1*
+%{_mandir}/man1/vss2text.1*
+%{_mandir}/man1/vss2xhtml.1*
+
+%changelog
+* Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.1.1-2
+- Initial build for Vine Linux
+
+* Fri Jan 02 2015 David Tardon <dtardon@redhat.com> - 0.1.1-1
+- new upstream release
+
+* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-4
+- rebuild for ICU 53.1
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
+- new upstream release
+
+* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.0.31-4
+- Rebuild for boost 1.55.0
+
+* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.31-3
+- generate man pages
+
+* Wed Feb 12 2014 Rex Dieter <rdieter@fedoraproject.org> 0.0.31-2
+- rebuild (libicu)
+
+* Mon Sep 02 2013 David Tardon <dtardon@redhat.com> - 0.0.31-1
+- new release
+
+* Fri Aug 30 2013 David Tardon <dtardon@redhat.com> - 0.0.30-4
+- Resolves: rhbz#1001240 duplicate documentation files / potentially conflicting
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.30-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.0.30-2
+- Rebuild for boost 1.54.0
+
+* Mon Jul 15 2013 David Tardon <dtardon@redhat.com> - 0.0.30-1
+- new release
+
+* Tue Jul 02 2013 David Tardon <dtardon@redhat.com> - 0.0.29-1
+- new release
+
+* Wed Jun 05 2013 David Tardon <dtardon@redhat.com> - 0.0.28-1
+- new release
+
+* Thu May 16 2013 David Tardon <dtardon@redhat.com> - 0.0.27-1
+- new release
+
+* Tue Apr 23 2013 David Tardon <dtardon@redhat.com> - 0.0.26-1
+- new release
+
+* Thu Feb 28 2013 David Tardon <dtardon@redhat.com> - 0.0.25-1
+- new release
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.24-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Tue Dec 18 2012 David Tardon <dtardon@redhat.com> - 0.0.24-1
+- new release
+
+* Mon Dec 03 2012 David Tardon <dtardon@redhat.com> - 0.0.23-1
+- new release
+
+* Thu Nov 29 2012 David Tardon <dtardon@redhat.com> - 0.0.22-1
+- new upstream release
+
+* Wed Nov 21 2012 David Tardon <dtardon@redhat.com> - 0.0.21-1
+- new upstream release
+
+* Tue Nov 06 2012 David Tardon <dtardon@redhat.com> - 0.0.20-1
+- new upstream version
+
+* Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 0.0.19-2
+- rebuilt for boost 1.50
+
+* Thu Jul 26 2012 David Tardon <dtardon@redhat.com> - 0.0.19-1
+- new upstream version
+
+* Tue Jul 24 2012 David Tardon <dtardon@redhat.com> - 0.0.18-3
+- fix endless loop with text fields in VSD6
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.18-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jun 22 2012 David Tardon <dtardon@redhat.com> 0.0.18-1
+- new upstream version
+
+* Fri Jun 01 2012 David Tardon <dtardon@redhat.com> 0.0.17-1
+- new upstream version
+
+* Tue Apr 17 2012 David Tardon <dtardon@redhat.com> 0.0.16-1
+- new upstream version
+
+* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.15-2
+- Rebuilt for c++ ABI breakage
+
+* Tue Feb 21 2012 David Tardon <dtardon@redhat.com> 0.0.15-1
+- new upstream version
+
+* Wed Jan 25 2012 David Tardon <dtardon@redhat.com> 0.0.14-1
+- bump version
+
+- initial import
+* Wed Dec 21 2011 David Tardon <dtardon@redhat.com> 0.0.11-1
+- initial import

+ 219 - 0
lib/libw/libwps/libwps-vl.spec

@@ -0,0 +1,219 @@
+%global apiversion 0.3
+
+Name:		libwps
+Version:	0.3.1
+Release:	2%{?_dist_release}
+Summary:	A library for import of Microsoft Works documents
+Summary(ja):	Microsoft Works ドキュメントをインポートするためのライブラリ
+
+License:	LGPLv2+ or MPLv2.0
+Group:  	System Environment/Libraries
+URL:		http://libwps.sourceforge.net/
+
+Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildRequires:	doxygen
+BuildRequires:	help2man
+BuildRequires:	libboost-devel
+BuildRequires:	librevenge-devel
+
+%description
+%{name} is a library for import of Microsoft Works text documents,
+spreadsheets and (in a limited way) databases.
+
+%package devel
+Summary:	Development files for %{name}
+Summary(ja):	%{name} の開発用ファイル
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package tools
+Summary:	Tools to transform Microsoft Works documents into other formats
+Summary(ja):	Microsoft Works ドキュメントを他のフォーマットに変換するツール
+Group:		Applications/Text
+Requires:	%{name} = %{version}-%{release}
+
+%description tools
+Tools to transform Microsoft Works documents into other formats.
+Currently supported: CSV, HTML, raw, text
+
+%package doc
+Summary:	Documentation of %{name} API
+Summary(ja): 	%{name} API のドキュメント
+Group: 		Documentation
+BuildArch:	noarch
+
+%description doc
+The %{name}-doc package contains documentation files for %{name}
+
+%prep
+%setup -q
+
+%build
+%configure --disable-silent-rules --disable-static --disable-werror
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+make %{?_smp_mflags}
+
+export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+help2man -N -n 'convert Works spreadsheet into CSV' -o wks2csv.1 ./src/conv/wks2csv/.libs/wks2csv
+help2man -N -n 'debug the conversion library' -o wks2raw.1 ./src/conv/wks2raw/.libs/wks2raw
+help2man -N -n 'convert Works spreadsheet into plain text' -o wks2text.1 ./src/conv/wks2text/.libs/wks2text
+help2man -N -n 'debug the conversion library' -o wps2raw.1 ./src/conv/raw/.libs/wps2raw
+help2man -N -n 'convert Works document into HTML' -o wps2html.1 ./src/conv/html/.libs/wps2html
+help2man -N -n 'convert Works document into plain text' -o wps2text.1 ./src/conv/text/.libs/wps2text
+
+%install
+rm -rf %{buildroot}
+make install INSTALL="install -p" DESTDIR="%{buildroot}" 
+rm -f %{buildroot}%{_libdir}/*.la
+# we install API docs directly from build
+rm -rf %{buildroot}%{_defaultdocdir}/%{name}
+
+install -m 0755 -d %{buildroot}/%{_mandir}/man1
+install -m 0644 wks2*.1 wps2*.1 %{buildroot}/%{_mandir}/man1
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%doc COPYING.LGPL COPYING.MPL CREDITS NEWS README
+%{_libdir}/%{name}-%{apiversion}.so.*
+
+%files devel
+%doc HACKING
+%{_includedir}/%{name}-%{apiversion}
+%{_libdir}/%{name}-%{apiversion}.so
+%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
+
+%files tools
+%{_bindir}/wks2csv
+%{_bindir}/wks2raw
+%{_bindir}/wks2text
+%{_bindir}/wps2html
+%{_bindir}/wps2raw
+%{_bindir}/wps2text
+%{_mandir}/man1/wks2csv.1*
+%{_mandir}/man1/wks2raw.1*
+%{_mandir}/man1/wks2text.1*
+%{_mandir}/man1/wps2html.1*
+%{_mandir}/man1/wps2raw.1*
+%{_mandir}/man1/wps2text.1*
+
+%files doc
+%doc COPYING.LGPL COPYING.MPL
+%doc docs/doxygen/html
+
+%changelog
+* Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3.1-2
+- Initial build for Vine Linux
+
+* Tue Dec 30 2014 David Tardon <dtardon@redhat.com> - 0.3.1-1
+- new upstream release
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.3.0-1
+- new upstream release
+
+* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.2.9-8
+- Rebuild for boost 1.55.0
+
+* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.2.9-7
+- generate man pages
+
+* Mon Sep 09 2013 David Tardon <dtardon@redhat.com> - 0.2.9-6
+- Resolves: rhbz#1005711 do not compile in C++11 mode
+
+* Mon Aug 19 2013 David Tardon <dtardon@redhat.com> - 0.2.9-5
+- Resolves: rhbz#98166 Duplicated documentation
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.9-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu May 30 2013 David Tardon <dtardon@redhat.com> - 0.2.9-3
+- drop build req. on cppunit
+
+* Thu May 30 2013 David Tardon <dtardon@redhat.com> - 0.2.9-2
+- libwps does not have any test suite
+
+* Sat May 25 2013 David Tardon <dtardon@redhat.com> - 0.2.9-1
+- new release
+
+* Sun Apr 21 2013 David Tardon <dtardon@redhat.com> - 0.2.8-1
+- new release
+
+* Tue Apr 16 2013 Caolán McNamara <caolanm@redhat.com> - 0.2.7-5
+- Resolves: rhbz#925931 support aarch64
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 0.2.7-3
+- rebuilt for boost 1.50
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jun 29 2012 David Tardon <dtardon@redhat.com> - 0.2.7-1
+- new release
+
+* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
+- Rebuilt for c++ ABI breakage
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Thu Dec 01 2011 David Tardon <dtardon@redhat.com> - 0.2.4-1
+- latest version
+
+* Fri Nov 18 2011 David Tardon <dtardon@redhat.com> - 0.2.3-1
+- latest version
+- remove obsoleted patch
+
+* Wed Jul 13 2011 David Tardon <dtardon@redhat.com> - 0.2.2-1
+- latest version
+
+* Tue Jun 28 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.2.0-3
+- Remove -Werror from CFLAGS/CXXFLAGS (Add libwps-0.2.0-werror.patch)
+  (Fix FTBFS BZ#715767).
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sun Dec 05 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.0-1
+- latest version
+
+* Sat Jan 30 2010 Chen Lei <supercyper@163.com> - 0.1.2-7
+- Add noarch to -doc subpackage
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Mar 10 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-5
+- Correct DOC issues (again) RHBZ: #484933 / C14
+
+* Sun Feb 15 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-4
+- Correct path for CHECK section
+
+* Sun Feb 15 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-3
+- Add CHECK section
+- Add cppunit-devel to BuildRequires
+
+* Sun Feb 15 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-2
+- Correct DOC issues
+- Delete wrong pkgconfig pathes 
+
+* Tue Feb 10 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-1
+- Initial Package build