aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/deb.sh88
-rw-r--r--packages/deb/changelog65
-rw-r--r--packages/deb/compat1
-rw-r--r--packages/deb/control71
-rw-r--r--packages/deb/copyright19
-rw-r--r--packages/deb/docs3
-rw-r--r--packages/deb/libvcdcom-dev.install3
-rw-r--r--packages/deb/libvcdcom0.install1
-rw-r--r--packages/deb/libvcddec-dev.install3
-rw-r--r--packages/deb/libvcddec0.install1
-rw-r--r--packages/deb/libvcdenc-dev.install4
-rw-r--r--packages/deb/libvcdenc0.install1
-rw-r--r--packages/deb/open-vcdiff0.install2
-rwxr-xr-xpackages/deb/rules118
-rw-r--r--packages/deb/source/format2
-rwxr-xr-xpackages/rpm.sh89
-rw-r--r--packages/rpm/rpm.spec85
17 files changed, 556 insertions, 0 deletions
diff --git a/packages/deb.sh b/packages/deb.sh
new file mode 100755
index 0000000..8f039eb
--- /dev/null
+++ b/packages/deb.sh
@@ -0,0 +1,88 @@
+#!/bin/bash -e
+# Copyright 2005 Google Inc.
+# Author: Craig Silverstein
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# This takes one commandline argument, the name of the package. If no
+# name is given, then we'll end up just using the name associated with
+# an arbitrary .tar.gz file in the rootdir. That's fine: there's probably
+# only one.
+#
+# Run this from the 'packages' directory, just under rootdir
+
+## Set LIB to lib if exporting a library, empty-string else
+LIB=
+#LIB=lib
+
+PACKAGE="$1"
+VERSION="$2"
+
+# We can only build Debian packages, if the Debian build tools are installed
+if [ \! -x /usr/bin/debuild ]; then
+ echo "Cannot find /usr/bin/debuild. Not building Debian packages." 1>&2
+ exit 0
+fi
+
+# Double-check we're in the packages directory, just under rootdir
+if [ \! -r ../Makefile -a \! -r ../INSTALL ]; then
+ echo "Must run $0 in the 'packages' directory, under the root directory." 1>&2
+ echo "Also, you must run \"make dist\" before running this script." 1>&2
+ exit 0
+fi
+
+# Find the top directory for this package
+topdir="${PWD%/*}"
+
+# Find the tar archive built by "make dist"
+archive="${PACKAGE}-${VERSION}"
+archive_with_underscore="${PACKAGE}_${VERSION}"
+if [ -z "${archive}" ]; then
+ echo "Cannot find ../$PACKAGE*.tar.gz. Run \"make dist\" first." 1>&2
+ exit 0
+fi
+
+# Create a pristine directory for building the Debian package files
+trap 'rm -rf '`pwd`/tmp'; exit $?' EXIT SIGHUP SIGINT SIGTERM
+
+rm -rf tmp
+mkdir -p tmp
+cd tmp
+
+# Debian has very specific requirements about the naming of build
+# directories, and tar archives. It also wants to write all generated
+# packages to the parent of the source directory. We accommodate these
+# requirements by building directly from the tar file.
+ln -s "${topdir}/${archive}.tar.gz" "${LIB}${archive}.orig.tar.gz"
+# Some version of debuilder want foo.orig.tar.gz with _ between versions.
+ln -s "${topdir}/${archive}.tar.gz" "${LIB}${archive_with_underscore}.orig.tar.gz"
+tar zfx "${LIB}${archive}.orig.tar.gz"
+[ -n "${LIB}" ] && mv "${archive}" "${LIB}${archive}"
+cd "${LIB}${archive}"
+# This is one of those 'specific requirements': where the deb control files live
+cp -a "packages/deb" "debian"
+
+# Now, we can call Debian's standard build tool
+debuild -uc -us
+cd ../.. # get back to the original top-level dir
+
+# We'll put the result in a subdirectory that's named after the OS version
+# we've made this .deb file for.
+destdir="debian-$(cat /etc/debian_version 2>/dev/null || echo UNKNOWN)"
+
+rm -rf "$destdir"
+mkdir -p "$destdir"
+mv $(find tmp -mindepth 1 -maxdepth 1 -type f) "$destdir"
+
+echo
+echo "The Debian package files are located in $PWD/$destdir"
diff --git a/packages/deb/changelog b/packages/deb/changelog
new file mode 100644
index 0000000..bdbb73f
--- /dev/null
+++ b/packages/deb/changelog
@@ -0,0 +1,65 @@
+open-vcdiff (0.8.3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Tue, 03 Apr 2012 09:59:09 -0700
+
+open-vcdiff (0.8.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Tue, 27 Sep 2011 10:30:38 -0700
+
+open-vcdiff (0.8.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Fri, 06 Aug 2010 11:36:36 -0800
+
+open-vcdiff (0.8-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Tue, 03 Aug 2010 10:44:32 -0800
+
+open-vcdiff (0.7-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Fri, 09 Oct 2009 10:32:10 -0700
+
+open-vcdiff (0.6-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Thu, 09 Apr 2009 09:16:58 -0700
+
+open-vcdiff (0.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Wed, 18 Mar 2009 14:28:23 -0700
+
+open-vcdiff (0.4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Thu, 23 Oct 2008 09:03:56 -0700
+
+open-vcdiff (0.3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Fri, 10 Oct 2008 11:16:23 -0700
+
+open-vcdiff (0.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Google Inc. <opensource@google.com> Tue, 2 Sep 2008 09:20:20 -0700
+
+open-vcdiff (0.1-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Google Inc. <opensource@google.com> Mon, 16 Jun 2008 15:15:51 -0700
diff --git a/packages/deb/compat b/packages/deb/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/packages/deb/compat
@@ -0,0 +1 @@
+7
diff --git a/packages/deb/control b/packages/deb/control
new file mode 100644
index 0000000..6823d5d
--- /dev/null
+++ b/packages/deb/control
@@ -0,0 +1,71 @@
+Source: open-vcdiff
+Priority: optional
+Maintainer: Google Inc. <opensource@google.com>
+Build-Depends: debhelper (>= 7.0.0), autotools-dev
+Standards-Version: 3.8.4
+Section: libs
+
+Package: libvcdcom0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: open-vcdiff common library
+ This library includes common modules needed by the open-vcdiff package.
+ For details, please see http://code.google.com/p/open-vcdiff
+
+Package: libvcddec0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: open-vcdiff decoder library
+ This library is part of the open-vcdiff package and provides a decoder for the
+ VCDIFF (RFC 3284) format.
+ For details, please see http://code.google.com/p/open-vcdiff
+
+Package: libvcdenc0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: open-vcdiff encoder library
+ This library is part of the open-vcdiff package and provides an encoder for the
+ VCDIFF (RFC 3284) format.
+ For details, please see http://code.google.com/p/open-vcdiff
+
+Package: libvcdcom-dev
+Section: libdevel
+Architecture: any
+Depends: libvcdcom0 (= ${binary:Version}), ${misc:Depends}
+Description: Development files for open-vcdiff common library
+ This library is needed to compile code that calls open-vcdiff, an encoder and
+ decoder for the VCDIFF (RFC 3284) format.
+ For details, please see http://code.google.com/p/open-vcdiff
+
+Package: libvcddec-dev
+Section: libdevel
+Architecture: any
+Depends: libvcddec0 (= ${binary:Version}), libvcdcom-dev (= ${binary:Version}),
+ ${misc:Depends}
+Description: Development files for open-vcdiff decoder library
+ This package contains the header file and library needed to compile code that
+ calls the open-vcdiff decoder for the VCDIFF (RFC 3284) format.
+ For details, please see http://code.google.com/p/open-vcdiff
+
+Package: libvcdenc-dev
+Section: libdevel
+Architecture: any
+Depends: libvcdenc0 (= ${binary:Version}), libvcdcom-dev (= ${binary:Version}),
+ ${misc:Depends}
+Description: Development files for open-vcdiff encoder library
+ This package contains the header file and library needed to compile code that
+ calls the open-vcdiff encoder for the VCDIFF (RFC 3284) format.
+ For details, please see http://code.google.com/p/open-vcdiff
+
+Package: open-vcdiff0
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: An encoder and decoder for the VCDIFF (RFC 3284) format
+ A command-line interface to open-vcdiff, an encoder and decoder for the VCDIFF
+ (RFC 3284) format.
+ For details, please see http://code.google.com/p/open-vcdiff
+
diff --git a/packages/deb/copyright b/packages/deb/copyright
new file mode 100644
index 0000000..4de3e46
--- /dev/null
+++ b/packages/deb/copyright
@@ -0,0 +1,19 @@
+ open-vcdiff
+ http://code.google.com/p/open-vcdiff
+ Copyright (c) 2008, Google Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ On Debian systems, a copy of the License can be found at
+
+ /usr/share/common-licenses/Apache-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/packages/deb/docs b/packages/deb/docs
new file mode 100644
index 0000000..93625aa
--- /dev/null
+++ b/packages/deb/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README
+THANKS
diff --git a/packages/deb/libvcdcom-dev.install b/packages/deb/libvcdcom-dev.install
new file mode 100644
index 0000000..595ca33
--- /dev/null
+++ b/packages/deb/libvcdcom-dev.install
@@ -0,0 +1,3 @@
+usr/lib/libvcdcom.la
+usr/lib/libvcdcom.a
+usr/include/google/output_string.h
diff --git a/packages/deb/libvcdcom0.install b/packages/deb/libvcdcom0.install
new file mode 100644
index 0000000..358aa4e
--- /dev/null
+++ b/packages/deb/libvcdcom0.install
@@ -0,0 +1 @@
+usr/lib/libvcdcom.so.*
diff --git a/packages/deb/libvcddec-dev.install b/packages/deb/libvcddec-dev.install
new file mode 100644
index 0000000..d995f45
--- /dev/null
+++ b/packages/deb/libvcddec-dev.install
@@ -0,0 +1,3 @@
+usr/lib/libvcddec.la
+usr/lib/libvcddec.a
+usr/include/google/vcdecoder.h
diff --git a/packages/deb/libvcddec0.install b/packages/deb/libvcddec0.install
new file mode 100644
index 0000000..c521572
--- /dev/null
+++ b/packages/deb/libvcddec0.install
@@ -0,0 +1 @@
+usr/lib/libvcddec.so.*
diff --git a/packages/deb/libvcdenc-dev.install b/packages/deb/libvcdenc-dev.install
new file mode 100644
index 0000000..048fe8e
--- /dev/null
+++ b/packages/deb/libvcdenc-dev.install
@@ -0,0 +1,4 @@
+usr/lib/libvcdenc.la
+usr/lib/libvcdenc.a
+usr/include/google/format_extension_flags.h
+usr/include/google/vcencoder.h
diff --git a/packages/deb/libvcdenc0.install b/packages/deb/libvcdenc0.install
new file mode 100644
index 0000000..d164877
--- /dev/null
+++ b/packages/deb/libvcdenc0.install
@@ -0,0 +1 @@
+usr/lib/libvcdenc.so.*
diff --git a/packages/deb/open-vcdiff0.install b/packages/deb/open-vcdiff0.install
new file mode 100644
index 0000000..68671de
--- /dev/null
+++ b/packages/deb/open-vcdiff0.install
@@ -0,0 +1,2 @@
+usr/bin/*
+usr/share/man/man1/*
diff --git a/packages/deb/rules b/packages/deb/rules
new file mode 100755
index 0000000..8ac6b4b
--- /dev/null
+++ b/packages/deb/rules
@@ -0,0 +1,118 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+version=`ls src/.libs/lib*.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+major=`ls src/.libs/lib*.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+ dh_install --sourcedir=debian/tmp
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman -popen-vcdiff0 \
+ $(CURDIR)/debian/tmp/usr/share/man/man1/vcdiff.1
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+ dh_makeshlibs -V
+ dh_installdeb
+ dh_shlibdeps -ldebian/libvcdcom0/usr/lib:debian/libvcddec0/usr/lib:debian/libvcdenc0/usr/lib
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/packages/deb/source/format b/packages/deb/source/format
new file mode 100644
index 0000000..b9b0237
--- /dev/null
+++ b/packages/deb/source/format
@@ -0,0 +1,2 @@
+1.0
+
diff --git a/packages/rpm.sh b/packages/rpm.sh
new file mode 100755
index 0000000..fbfa388
--- /dev/null
+++ b/packages/rpm.sh
@@ -0,0 +1,89 @@
+#!/bin/sh -e
+# Copyright 2005 Google Inc.
+# Author: Craig Silverstein
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# Run this from the 'packages' directory, just under rootdir
+
+# We can only build rpm packages, if the rpm build tools are installed
+if [ \! -x /usr/bin/rpmbuild ]
+then
+ echo "Cannot find /usr/bin/rpmbuild. Not building an rpm." 1>&2
+ exit 0
+fi
+
+# Check the commandline flags
+PACKAGE="$1"
+VERSION="$2"
+fullname="${PACKAGE}-${VERSION}"
+archive=../$fullname.tar.gz
+
+if [ -z "$1" -o -z "$2" ]
+then
+ echo "Usage: $0 <package name> <package version>" 1>&2
+ exit 0
+fi
+
+# Double-check we're in the packages directory, just under rootdir
+if [ \! -r ../Makefile -a \! -r ../INSTALL ]
+then
+ echo "Must run $0 in the 'packages' directory, under the root directory." 1>&2
+ echo "Also, you must run \"make dist\" before running this script." 1>&2
+ exit 0
+fi
+
+if [ \! -r "$archive" ]
+then
+ echo "Cannot find $archive. Run \"make dist\" first." 1>&2
+ exit 0
+fi
+
+# Create the directory where the input lives, and where the output should live
+RPM_SOURCE_DIR="/tmp/rpmsource-$fullname"
+RPM_BUILD_DIR="/tmp/rpmbuild-$fullname"
+
+trap 'rm -rf $RPM_SOURCE_DIR $RPM_BUILD_DIR; exit $?' EXIT SIGHUP SIGINT SIGTERM
+
+rm -rf "$RPM_SOURCE_DIR" "$RPM_BUILD_DIR"
+mkdir "$RPM_SOURCE_DIR"
+mkdir "$RPM_BUILD_DIR"
+
+cp "$archive" "$RPM_SOURCE_DIR"
+
+rpmbuild -bb rpm/rpm.spec \
+ --define "NAME $PACKAGE" \
+ --define "VERSION $VERSION" \
+ --define "_sourcedir $RPM_SOURCE_DIR" \
+ --define "_builddir $RPM_BUILD_DIR" \
+ --define "_rpmdir $RPM_SOURCE_DIR"
+
+# We put the output in a directory based on what system we've built for
+destdir=rpm-unknown
+if [ -r /etc/issue ]
+then
+ grep "Red Hat.*release 7" /etc/issue >/dev/null 2>&1 && destdir=rh7
+ grep "Red Hat.*release 8" /etc/issue >/dev/null 2>&1 && destdir=rh8
+ grep "Red Hat.*release 9" /etc/issue >/dev/null 2>&1 && destdir=rh9
+ if grep Fedora /etc/issue >/dev/null; then
+ destdir=fc`grep Fedora /etc/issue | cut -d' ' -f 4`;
+ fi
+fi
+
+rm -rf "$destdir"
+mkdir -p "$destdir"
+# We want to get not only the main package but devel etc, hence the middle *
+mv "$RPM_SOURCE_DIR"/*/"${PACKAGE}"-*"${VERSION}"*.rpm "$destdir"
+
+echo
+echo "The rpm package file(s) are located in $PWD/$destdir"
diff --git a/packages/rpm/rpm.spec b/packages/rpm/rpm.spec
new file mode 100644
index 0000000..2b3cc40
--- /dev/null
+++ b/packages/rpm/rpm.spec
@@ -0,0 +1,85 @@
+%define RELEASE 1
+%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
+%define prefix /usr
+
+Name: %NAME
+Summary: An encoder/decoder for the VCDIFF (RFC 3284) format
+Version: %VERSION
+Release: %rel
+Group: Development/Libraries
+URL: http://code.google.com/p/open-vcdiff
+License: Apache 2.0
+Vendor: Google
+Packager: Google Inc. <opensource@google.com>
+Source: http://%{NAME}.googlecode.com/files/%{NAME}-%{VERSION}.tar.gz
+Distribution: Redhat 7 and above.
+Buildroot: %{_tmppath}/%{name}-root
+Prefix: %prefix
+
+%description
+A library that provides an encoder and decoder for the VCDIFF
+(RFC 3284) format. Please see http://www.ietf.org/rfc/rfc3284.txt .
+
+%package devel
+Summary: An encoder/decoder for the VCDIFF (RFC 3284) format
+Group: Development/Libraries
+Requires: %{NAME} = %{VERSION}
+
+%description devel
+The %name-devel package contains static and debug libraries and header files
+for developing applications that use the %name package.
+
+%changelog
+ * Mon Jun 16 2008 <opensource@google.com>
+ - First draft
+
+%prep
+%setup
+
+%build
+./configure
+make prefix=%prefix
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT%{prefix} install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+
+## Mark all installed files within /usr/share/doc/{package name} as
+## documentation. This depends on the following two lines appearing in
+## Makefile.am:
+## docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
+## dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
+%docdir %{prefix}/share/doc/%{NAME}-%{VERSION}
+%{prefix}/share/doc/%{NAME}-%{VERSION}/*
+
+%docdir %{prefix}/share/man/man1/vcdiff.1*
+%{prefix}/share/man/man1/vcdiff.1*
+
+%{prefix}/bin/vcdiff
+%{prefix}/lib/libvcdcom.so.0
+%{prefix}/lib/libvcdcom.so.0.0.0
+%{prefix}/lib/libvcdenc.so.0
+%{prefix}/lib/libvcdenc.so.0.0.0
+%{prefix}/lib/libvcddec.so.0
+%{prefix}/lib/libvcddec.so.0.0.0
+
+%files devel
+%defattr(-,root,root)
+
+%{prefix}/include/google
+%{prefix}/lib/libvcdcom.a
+%{prefix}/lib/libvcdcom.la
+%{prefix}/lib/libvcdcom.so
+%{prefix}/lib/libvcdenc.a
+%{prefix}/lib/libvcdenc.la
+%{prefix}/lib/libvcdenc.so
+%{prefix}/lib/libvcddec.a
+%{prefix}/lib/libvcddec.la
+%{prefix}/lib/libvcddec.so
+