Browse Source

protobuf-2.6.1-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10445 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 7 years ago
parent
commit
4d77dc5fed
1 changed files with 16 additions and 7 deletions
  1. 16 7
      p/protobuf/protobuf-vl.spec

+ 16 - 7
p/protobuf/protobuf-vl.spec

@@ -16,15 +16,17 @@
 Summary:        Protocol Buffers - Google's data interchange format
 Summary(ja):    Protocol Buffers - Google のデータ交換フォーマット
 Name:           protobuf
-Version:        2.5.0
-Release:        2%{?_dist_release}
+Version:        2.6.1
+Release:        1%{?_dist_release}
 License:        BSD
 Group:          System Environment/Libraries
 Source:         http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source1:        ftdetect-proto.vim
-Patch1:		protobuf-2.3.0-fedora-gtest.patch
-Patch2:		protobuf-java-fixes.patch
+Patch0:		protobuf-2.5.0-emacs-24.4.patch
+Patch1:		protobuf-2.5.0-fedora-gtest.patch
 URL:            http://code.google.com/p/protobuf/
+Vendor:         Project Vine
+Distribution:   Vine Linux
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires:  automake autoconf libtool pkgconfig 
 %if !%{without_gtest}
@@ -131,6 +133,7 @@ This package contains Python libraries for Google Protocol Buffers
 %package vim
 Summary: Vim syntax highlighting for Google Protocol Buffers descriptions
 Group: Applications/Editors
+Requires(pre): vim
 Requires: vim
 
 %description vim
@@ -175,6 +178,7 @@ This package contains the API documentation for %{name}-java.
 
 %prep
 %setup -q
+%patch0 -p1 -b .emacs
 %if !%{without_gtest}
 rm -rf gtest
 %patch1 -p1
@@ -266,13 +270,15 @@ rm -rf %{buildroot}
 %files
 %defattr(-, root, root, -)
 %{_libdir}/libprotobuf.so.*
-%doc CHANGES.txt CONTRIBUTORS.txt COPYING.txt README.txt
+%doc CHANGES.txt CONTRIBUTORS.txt README.md
+%license LICENSE
 
 %files compiler
 %defattr(-, root, root, -)
 %{_bindir}/protoc
 %{_libdir}/libprotoc.so.*
-%doc COPYING.txt README.txt
+%doc README.md
+%license LICENSE
 
 %files devel
 %defattr(-, root, root, -)
@@ -312,7 +318,7 @@ rm -rf %{buildroot}
 %{python_sitelib}/google/protobuf/
 %{python_sitelib}/protobuf-%{version}-py*.egg-info/
 %{python_sitelib}/protobuf-%{version}-py*-nspkg.pth
-%doc python/README.txt 
+%doc python/README.txt
 %doc examples/add_person.py examples/list_people.py examples/addressbook.proto
 %endif
 
@@ -335,6 +341,9 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-1
+- updated to 2.6.1.
+
 * Sat Oct  4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.5.0-2
 - moved main and protobuf-lite to System Environment/Libraries Group