Browse Source

libgit2: add BR
libgit2-glib: rebuild
gitg, http-parser: new package
audit: create compat32 package
others: new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9487 ec354946-7b23-47d6-9f5a-488ba84defc7

Takemikaduchi 9 years ago
parent
commit
cb0ea2f1d7

+ 28 - 3
a/audit/audit-vl.spec

@@ -1,10 +1,12 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
 %define sca_version 0.4.10
 %define sca_release 2
 
 Summary: User space tools for 2.6 kernel auditing
 Name: audit
 Version: 1.7.18
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://people.redhat.com/sgrubb/audit/
@@ -88,6 +90,15 @@ Requires: pygtk2-libglade usermode usermode-gtk
 %description -n system-config-audit
 A graphical utility for editing audit configuration.
 
+%package -n compat32-%{name}-libs
+Summary: Dynamic library for libaudit
+License: LGPLv2+
+Group: Development/Libraries
+
+%description -n compat32-%{name}-libs
+The audit-libs package contains the dynamic libraries needed for 
+applications to use the audit framework.
+
 %prep
 %setup -q
 %patch10 -p1
@@ -174,6 +185,8 @@ if [ -f /etc/audit/auditd.conf ]; then
    fi
 fi
 
+%post -n compat32-%{name}-libs -p /sbin/ldconfig
+
 %preun
 if [ $1 -eq 0 ]; then
    /sbin/service auditd stop > /dev/null 2>&1
@@ -187,6 +200,8 @@ if [ $1 -ge 1 ]; then
    /sbin/service auditd condrestart > /dev/null 2>&1 || :
 fi
 
+%postun -n compat32-%{name}-libs -p /sbin/ldconfig
+
 %files libs
 %defattr(-,root,root)
 %attr(755,root,root) /%{_lib}/libaudit.*
@@ -277,7 +292,17 @@ fi
 %config(noreplace) %{_sysconfdir}/pam.d/system-config-audit-server
 %config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
 
+%if %{build_compat32}
+%files -n compat32-%{name}-libs
+%defattr(-,root,root)
+%attr(755,root,root) /%{_lib}/libaudit.*
+%attr(755,root,root) /%{_lib}/libauparse.*
+%endif
+
 %changelog
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.18-3
+- create compat32-audit-libs subpackage
+
 * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.18-2
 - rebuild with python-2.7.2
 - add Patch12 (audit-1.7.18-libaudit.patch)
@@ -307,7 +332,7 @@ fi
 - disable krb5, prelude and selinux
 - add ja.po (XXX: minimal)
 
-* Wed Sep 11 2008 Steve Grubb <sgrubb@redhat.com> 1.7.6-1
+* Thu Sep 11 2008 Steve Grubb <sgrubb@redhat.com> 1.7.6-1
 - Add subject to audit daemon events (Chu Li)
 - Add tcp_wrappers support for auditd
 - Updated syscall tables for 2.6.27 kernel
@@ -503,7 +528,7 @@ fi
 - Update capp & lspp rules
 - New python bindings for libauparse (John Dennis)
 
-* Thu Apr 04 2007 Steve Grubb <sgrubb@redhat.com> 1.5.2-1
+* Wed Apr 04 2007 Steve Grubb <sgrubb@redhat.com> 1.5.2-1
 - New event dispatcher (James Antill)
 - Apply patches fixing man pages and Makefile.am (Philipp Hahn)
 - Apply patch correcting python libs permissions (Philipp Hahn)

+ 8 - 2
b/blender/blender-vl.spec

@@ -1,4 +1,4 @@
-%global blender_api 2.73
+%global blender_api 2.74
 %global blender_fontdir %{_datadir}/fonts/blender
 %global blenderlib  %{_datadir}/blender/%{blender_api}
 %global blenderarch %{_libdir}/blender/%{blender_api}
@@ -8,7 +8,7 @@
 Summary:       3D modeling, animation, rendering and post-production.
 Summary(ja):   3D モデリング、アニメーション、レンダリング、ポストプロダクション
 Name:           blender
-Version:        %{blender_api}a
+Version:        %{blender_api}
 Release:        1%{?_dist_release}
 Group:          Applications/Multimedia
 License:        GPL
@@ -63,6 +63,9 @@ Requires(postun,posttrans): desktop-file-utils
 Requires(postun,posttrans): shared-mime-info
 Requires(postun,posttrans): gtk2
 
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: Takemikaduchi
 
 %description
 Blender is an integrated suite of tools enabling the creation of a broad
@@ -229,6 +232,9 @@ update-mime-database %{_datadir}/mime > /dev/null || :
 
 
 %changelog
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.74-1
+- new upstream release
+
 * Sat Jan 24 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.73a-1
 - new upstream release
 

+ 147 - 0
g/gitg/gitg-vl.spec

@@ -0,0 +1,147 @@
+%{!?python3_sitearch: %define python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
+Summary:	Git repository viewer for GTK+/GNOME
+Summary(ja):	Git リポジトリビューアー
+Name:		gitg
+Version:	3.16.0
+Release:	1%{?_dist_release}
+License:	GPLv2
+Group:		Applications/Development
+URL:		https://wiki.gnome.org/Apps/Gitg/
+
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz
+
+BuildRequires:  gtk3-devel
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  libgit2-glib-devel
+BuildRequires:  gsettings-desktop-schemas-devel
+BuildRequires:  webkitgtk4-devel
+BuildRequires:  libgee-devel
+BuildRequires:  json-glib-devel
+BuildRequires:  libsecret-devel
+BuildRequires:  gtksourceview3-devel
+BuildRequires:  gtkspell3-devel
+BuildRequires:  libpeas-devel
+BuildRequires:  pygobject3-devel
+BuildRequires:  python3-pygobject
+BuildRequires:  vala-tools
+
+Requires(postun,posttrans): glib2
+Requires(postun,posttrans): desktop-file-utils
+Requires(postun,posttrans): gtk2
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
+Packager:	Takemikaduchi
+
+%description
+Gitg is the GNOME GUI client to view git repositories. 
+
+%description -l ja
+Gitg は git リポジトリを閲覧するための GNOME GUI クライアントです。
+
+
+%package        devel
+Summary:        Development tools for %{name}
+Summary(ja):    %{name} の開発環境
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       pkgconfig
+
+%description    devel
+Header files and libraries for building a extension library for the %{name}.
+
+
+%package        vala
+Summary:        Vala bindings for %{name}
+Summary(ja):    %{name} の Vala バインディング
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       vala
+
+%description    vala
+Vala bindings for %{name}.
+
+
+%prep
+%setup -q
+sed -i 's|<include name="WebKit2" version="3.0"/>|<include name="WebKit2" version="4.0"/>|' Gitg-1.0.gir
+
+%build
+%configure \
+	--disable-static \
+	--disable-glade-catalog
+
+make %{?_smp_mflags}
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+make install DESTDIR=${RPM_BUILD_ROOT}
+
+find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
+
+%find_lang %{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%post
+/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
+
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> > /dev/null || :
+    update-desktop-database -q > /dev/null || :
+	glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+update-desktop-database -q &> /dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc COPYING ChangeLog README NEWS
+%{_bindir}/%{name}
+%{_libdir}/libgitg-1.0.so.*
+%{_libdir}/libgitg-ext-1.0.so.*
+%{_libdir}/girepository-1.0/Gitg-1.0.typelib
+%{_libdir}/girepository-1.0/GitgExt-1.0.typelib
+%{_libdir}/%{name}
+%{python3_sitearch}/gi/overrides/GitgExt.py
+%{python3_sitearch}/gi/overrides/__pycache__/GitgExt*
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.gitg.gschema.xml
+%{_datadir}/%{name}/icons/hicolor/scalable/actions/diff-symbolic.svg
+%{_datadir}/icons/hicolor/*/*/*
+%{_mandir}/man1/%{name}.1.gz
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/libgitg-1.0/
+%{_includedir}/libgitg-ext-1.0/
+%{_libdir}/libgitg-1.0.so
+%{_libdir}/libgitg-ext-1.0.so
+%{_libdir}/pkgconfig/libgitg-1.0.pc
+%{_libdir}/pkgconfig/libgitg-ext-1.0.pc
+%{_datadir}/gir-1.0/Gitg-1.0.gir
+%{_datadir}/gir-1.0/GitgExt-1.0.gir
+
+%files vala
+%defattr(-,root,root,-)
+%{_datadir}/vala/vapi/libgitg-1.0.vapi
+%{_datadir}/vala/vapi/libgitg-ext-1.0.vapi
+
+%changelog
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
+- initial build
+

+ 7 - 2
g/gnucash/gnucash-vl.spec

@@ -1,5 +1,5 @@
-%define ver 2.6.5
-%define rel 2%{?_dist_release}
+%define ver 2.6.6
+%define rel 1%{?_dist_release}
 %define __libtoolize /bin/true
 
 Name:      	gnucash
@@ -27,6 +27,7 @@ BuildRequires: libofx-devel
 BuildRequires: libgnomeui-devel
 BuildRequires: libdbi-devel
 BuildRequires: libjpeg-devel
+BuildRequires: libtool-ltdl-devel
 BuildRequires: pcre-devel
 BuildRequires: popt-devel
 BuildRequires: swig
@@ -143,6 +144,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 %doc doc/README.OFX
 
 %changelog
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.6-1
+- new upstream release
+- add BuildRequires: libtool-ltdl-devel
+
 * Mon Mar  9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.6.5-2
 - rebuilt with libofx 0.9.10
 - added Vendor and Distribution tag

+ 89 - 0
h/http-parser/http-parser-vl.spec

@@ -0,0 +1,89 @@
+Summary:	http request/response parser for c 
+Name:		http-parser
+Version:	2.4.2
+Release:	1%{?_dist_release}
+License:	MIT
+Group:		System Environment/Libraries 
+URL:		https://github.com/joyent/http-parser
+
+# https://github.com/joyent/%{name}/archive/v%{version}.tar.gz
+Source0:	%{name}-%{version}.tar.gz
+
+# based on fedora
+Patch0:		http-parser-gyp-sharedlib.patch
+
+BuildRequires: gyp
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
+Packager:	Takemikaduchi
+
+%description
+This is a parser for HTTP messages written in C. It parses both
+requests and responses. The parser is designed to be used in
+performance HTTP applications. It does not make any syscalls nor
+allocations, it does not buffer data, it can be interrupted at
+anytime. Depending on your architecture, it only requires about
+40 bytes of data per message stream
+(in a web server that is per connection).
+
+%package        devel
+Summary:        Development tools for %{name}
+Summary(ja):    %{name} の開発環境
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       pkgconfig
+
+%description    devel
+Header files and libraries for building a extension library for the %{name}.
+
+
+%prep
+%setup -q
+%patch0 -p1
+
+
+%build
+export CFLAGS='%{optflags} -fPIC'
+gyp -f make --depth=`pwd` http_parser.gyp
+make %{?_smp_mflags} BUILDTYPE=Release 
+
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+
+mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}
+mkdir -p ${RPM_BUILD_ROOT}/%{_includedir}
+
+mv out/Release/lib.target/libhttp_parser.so.2 libhttp_parser.so.%{version}
+install -m 0755 libhttp_parser.so.%{version} ${RPM_BUILD_ROOT}%{_libdir}/libhttp_parser.so.%{version}
+ln -sf libhttp_parser.so.%{version} ${RPM_BUILD_ROOT}%{_libdir}/libhttp_parser.so.2
+install libhttp_parser.so.%{version} ${RPM_BUILD_ROOT}%{_libdir}/libhttp_parser.so
+install -m 0644 http_parser.h ${RPM_BUILD_ROOT}%{_includedir}/
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE-MIT README.md
+%{_libdir}/libhttp_parser.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/http_parser.h
+%{_libdir}/libhttp_parser.so
+
+
+%changelog
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
+- initial build based on fedora
+

+ 4 - 1
lib/libg/libgit2-glib/libgit2-glib-vl.spec

@@ -2,7 +2,7 @@ Summary:	GLib wrapper for libgit2
 Summary(ja):	libgit2 用 GLib ラッパー
 Name:		libgit2-glib
 Version:	0.22.2
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 License:	LGPLv2.1
 Group:		System Environment/Libraries 
 URL:		https://wiki.gnome.org/Projects/Libgit2-glib
@@ -94,6 +94,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
 
 
 %changelog
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-2
+- rebuild with libgit2-0.22.2-2
+
 * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-1
 - initial build
 

+ 12 - 1
lib/libg/libgit2/libgit2-vl.spec

@@ -1,7 +1,7 @@
 Summary:	C implementation of the Git core methods as a library with a solid API 
 Name:		libgit2
 Version:	0.22.2
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 License:	GPLv2
 Group:		System Environment/Libraries 
 URL:		https://libgit2.github.com/
@@ -10,6 +10,10 @@ URL:		https://libgit2.github.com/
 Source0:	%{name}-%{version}.tar.gz
 
 BuildRequires: cmake
+BuildRequires: openssl-devel
+BuildRequires: http-parser-devel
+BuildRequires: libssh2-devel
+BuildRequires: zlib-devel
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
@@ -30,6 +34,10 @@ Summary(ja):    %{name} の開発環境
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 Requires:       pkgconfig
+Requires:       openssl-devel
+Requires:       http-parser-devel
+Requires:       libssh2-devel
+Requires:       zlib-devel
 
 %description    devel
 Header files and libraries for building a extension library for the %{name}.
@@ -80,6 +88,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
 
 
 %changelog
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-2
+- add BuildRequires: openssl-devel, http-parser-devel, libssh2-devel, zlib-devel
+
 * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.2-1
 - initial build