Compare commits
103 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f7f7043053 | ||
|
d579596aab | ||
|
ac36a5f93a | ||
|
1fc17200c2 | ||
|
64bae1281d | ||
|
1421d50347 | ||
|
fd7c1e153c | ||
|
148f141e48 | ||
|
686f7c3c9c | ||
|
d4e14508d5 | ||
|
30a2899f9d | ||
|
0b8802370d | ||
|
007a8f90f4 | ||
|
5c5cea879b | ||
|
e55329206d | ||
|
7eed04ec57 | ||
|
b1fe63ac90 | ||
|
55c4ee6f97 | ||
|
ecd8a377df | ||
|
cad25baad3 | ||
|
c76b1e2e88 | ||
|
af8a085d54 | ||
|
679566e7fd | ||
|
fe22e4a6dd | ||
|
10a651cd71 | ||
|
5f4157363f | ||
|
f69ed12c5e | ||
|
5679af3dd6 | ||
|
066634b78b | ||
|
81d33472cc | ||
|
5ec59b557c | ||
|
8cce359233 | ||
|
0889a9c508 | ||
|
85d2afa174 | ||
|
dbd2ee5652 | ||
|
e572f5adee | ||
|
a30787b0f5 | ||
|
9e948d736a | ||
|
7b5a5b20ac | ||
|
8b0265e8aa | ||
|
545e547817 | ||
|
0e427b69c9 | ||
|
f59388afc2 | ||
|
06a15ebcdf | ||
|
21e4ecd2a4 | ||
|
1bc384e5f8 | ||
|
36d931b2ac | ||
|
3a5053741a | ||
|
f7447e0655 | ||
|
c52930b26d | ||
|
d026ee2765 | ||
|
d19f18cf4a | ||
|
2a1269cda8 | ||
|
03f8289774 | ||
|
f051016d2d | ||
|
d2fab896d0 | ||
|
5edbcfdc96 | ||
|
9d26a4a34e | ||
|
d1d1a1934a | ||
|
91a0878205 | ||
|
7fddfda95f | ||
|
4dae2ce61b | ||
|
d687ce57b5 | ||
|
b50c19b438 | ||
|
9032ed5308 | ||
|
4ffd477a02 | ||
|
cc747ca417 | ||
|
5013905b5f | ||
|
1d81d3915b | ||
|
c02d849a28 | ||
|
d76dfc1390 | ||
|
eba1f90ac8 | ||
|
a80d1a34fa | ||
|
3d74718027 | ||
|
bb05ab023d | ||
|
130ea18dfa | ||
|
7f6a5f56bc | ||
|
7bc52c3bce | ||
|
fb8c19a8e2 | ||
|
f4878c7f28 | ||
|
f5bd66adda | ||
|
fb267c1a02 | ||
|
1454501e81 | ||
|
f2fbb55ef8 | ||
|
779d1411ab | ||
|
87ca3e69fa | ||
|
ac51c8f182 | ||
|
6ebc55ef83 | ||
|
6718b2a74a | ||
|
f4114ac306 | ||
|
4fe259a3f1 | ||
|
0324870e67 | ||
|
dcc9bdda29 | ||
|
befd0ef089 | ||
|
779a3c19e8 | ||
|
daa600f919 | ||
|
319239b3a7 | ||
|
192dce8dd2 | ||
|
4937b90815 | ||
|
367f525459 | ||
|
0f58ea50d5 | ||
|
2cdb9ba111 | ||
|
0f301274b3 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/cairo-1.10.0.gem
|
/cairo-*gem
|
||||||
|
/rcairo-*-test-missing-files.tar.gz
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
install-so:
|
|
||||||
$(INSTALL_DATA) $(srcdir)/rb_cairo.h $(RUBYARCHDIR)
|
|
16
create-cairo-gem.sh
Normal file
16
create-cairo-gem.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -x
|
||||||
|
|
||||||
|
ORIGDIR=$(pwd)
|
||||||
|
|
||||||
|
DIR=$(mktemp -p /tmp -d tmp.XXXXXX)
|
||||||
|
pushd $DIR
|
||||||
|
git clone https://github.com/rcairo/rcairo.git
|
||||||
|
cd rcairo
|
||||||
|
|
||||||
|
VERSION=$(gem build cairo.gemspec 2>&1 | sed -n -e 's|^.*Version: ||p')
|
||||||
|
GITHASH=$(git log | head -n 1 | sed -e 's|^.* \(..........\).*|\1|')
|
||||||
|
cp -p cairo-$VERSION.gem $ORIGDIR/cairo-$VERSION-$GITHASH.gem
|
||||||
|
|
||||||
|
popd
|
||||||
|
rm -rf $DIR
|
32
rcairo-create-missing-test-files.sh
Normal file
32
rcairo-create-missing-test-files.sh
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
usage() {
|
||||||
|
echo "$0 <VERSION>"
|
||||||
|
}
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
if [ $# -lt 1 ] ; then
|
||||||
|
usage
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
VERSION=$1
|
||||||
|
|
||||||
|
TMPDIR=$(mktemp -d /tmp/rcairo-XXXXXX)
|
||||||
|
CURDIR=$(pwd)
|
||||||
|
|
||||||
|
pushd $TMPDIR
|
||||||
|
|
||||||
|
git clone https://github.com/rcairo/rcairo.git
|
||||||
|
cd rcairo/
|
||||||
|
|
||||||
|
git reset --hard v$VERSION
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
tar czf $CURDIR/rcairo-${VERSION}-test-missing-files.tar.gz rcairo/test/fixture/
|
||||||
|
|
||||||
|
popd
|
||||||
|
rm -rf $TMPDIR
|
||||||
|
|
@ -1,40 +1,60 @@
|
|||||||
%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
|
|
||||||
%global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
|
|
||||||
%global rubyabi 1.8
|
|
||||||
|
|
||||||
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
%global header_dir %{ruby_vendorarchdir}
|
||||||
%define gemname cairo
|
|
||||||
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
|
|
||||||
|
|
||||||
%global mainver 1.10.0
|
%global gem_name cairo
|
||||||
%global gitver %(echo %mainver | sed -e 's|\.|_|g')
|
%global gemver 1.17.8
|
||||||
|
#%%global gem_githash af3e3fc059
|
||||||
|
|
||||||
|
%global need_test_bootstrap 1
|
||||||
|
|
||||||
# Upstream GIT http://github.com/rcairo/
|
# Upstream GIT http://github.com/rcairo/
|
||||||
|
|
||||||
|
%undefine _changelog_trimtime
|
||||||
|
|
||||||
Summary: Ruby bindings for cairo
|
Summary: Ruby bindings for cairo
|
||||||
Name: rubygem-%{gemname}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.10.0
|
Version: %{gemver}
|
||||||
Release: 4%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: Development/Languages
|
|
||||||
License: GPLv2 or Ruby
|
License: GPLv2 or Ruby
|
||||||
URL: http://cairographics.org/rcairo/
|
URL: http://cairographics.org/rcairo/
|
||||||
Source0: http://rubygems.org/downloads/%{gemname}-%{version}.gem
|
%if 1
|
||||||
# This one is needed
|
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
||||||
# wget -N -O %%gemname-%%mainver-ext.cairo.depend http://github.com/rcairo/rcairo/raw/RELEASE_%%{gitver}/ext/cairo/depend
|
%else
|
||||||
Source100: %{gemname}-1.10.0-ext.cairo.depend
|
Source0: %{gem_name}-%{gemver}-%{gem_githash}.gem
|
||||||
|
%endif
|
||||||
|
# Git based gem is created by below
|
||||||
|
Source1: create-cairo-gem.sh
|
||||||
|
# FIXME
|
||||||
|
Source11: rcairo-%{version}-test-missing-files.tar.gz
|
||||||
|
# Source11 is generated by the below
|
||||||
|
Source12: rcairo-create-missing-test-files.sh
|
||||||
|
|
||||||
BuildRequires: ruby(abi) = %{rubyabi}
|
Requires: ruby(release)
|
||||||
BuildRequires: ruby(rubygems)
|
BuildRequires: ruby(release)
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
|
BuildRequires: rubygems-devel
|
||||||
BuildRequires: cairo-devel
|
BuildRequires: cairo-devel
|
||||||
BuildRequires: ruby-devel
|
BuildRequires: ruby-devel
|
||||||
BuildRequires(check): rubygem(test-unit)
|
BuildRequires: rubygem(red-colors)
|
||||||
BuildRequires(check): rubygem(pkg-config)
|
# For %%check
|
||||||
|
BuildRequires: rubygem(test-unit)
|
||||||
|
BuildRequires: rubygem(test-unit-notify)
|
||||||
|
BuildRequires: rubygem(pkg-config)
|
||||||
|
BuildRequires: rubygem(native-package-installer)
|
||||||
|
# Circular dependency
|
||||||
|
%if 0%{?need_test_bootstrap} < 1
|
||||||
|
BuildRequires: rubygem(poppler)
|
||||||
# Make sure at least one font is available for test/test_context.rb:57
|
# Make sure at least one font is available for test/test_context.rb:57
|
||||||
# `initialize': out of memory (NoMemoryError)
|
# `initialize': out of memory (NoMemoryError)
|
||||||
BuildRequires(check): dejavu-serif-fonts
|
BuildRequires: dejavu-serif-fonts
|
||||||
Requires: ruby(abi) = %{rubyabi}
|
%endif
|
||||||
Requires: ruby(rubygems)
|
Requires: rubygems
|
||||||
Provides: rubygem(%{gemname}) = %{version}-%{release}
|
Provides: rubygem(%{gem_name}) = %{version}-%{release}
|
||||||
|
|
||||||
|
Obsoletes: ruby-%{gem_name} <= %{version}-%{release}
|
||||||
|
Provides: ruby-%{gem_name} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ruby bindings for cairo. Cairo is a 2D graphics library with support for
|
Ruby bindings for cairo. Cairo is a 2D graphics library with support for
|
||||||
@ -43,175 +63,84 @@ X Window System, win32, and image buffers.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Group: Documentation
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package contains documentation for %{name}.
|
This package contains documentation for %{name}.
|
||||||
|
|
||||||
%package -n ruby-%{gemname}
|
|
||||||
Summary: Non-Gem support package for %{gemname}
|
|
||||||
Group: Development/Languages
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Provides: ruby(%{gemname}) = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n ruby-%{gemname}
|
|
||||||
This package provides non-Gem support for %{gemname}.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Ruby-cairo development environment
|
Summary: Ruby-cairo development environment
|
||||||
Group: Development/Languages
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: cairo-devel
|
Requires: cairo-devel
|
||||||
Requires: ruby-devel
|
Requires: ruby-devel
|
||||||
# Obsoletes / Provides
|
# Obsoletes / Provides
|
||||||
# ruby(cairo-devel) Provides is for compatibility
|
# ruby(cairo-devel) Provides is for compatibility
|
||||||
|
#
|
||||||
|
# Actually ruby(cairo-devel) provides should not exist -
|
||||||
|
# Remove on F-17 and above
|
||||||
Obsoletes: ruby-cairo-devel < 1.9
|
Obsoletes: ruby-cairo-devel < 1.9
|
||||||
Provides: ruby-cairo-devel = %{version}-%{release}
|
Provides: ruby-cairo-devel = %{version}-%{release}
|
||||||
Provides: ruby(cairo-devel) = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Header files and libraries for building a extension library for the
|
Header files and libraries for building a extension library for the
|
||||||
ruby-cairo
|
ruby-cairo
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -c
|
%setup -q -n %{gem_name}-%{version}
|
||||||
|
mv ../%{gem_name}-%{version}.gemspec .
|
||||||
|
|
||||||
mkdir -p ./%{gemdir}
|
#Patches, etc
|
||||||
export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
|
|
||||||
gem install \
|
|
||||||
--local \
|
|
||||||
--install-dir ./%{gemdir} \
|
|
||||||
-V --force \
|
|
||||||
%{SOURCE0}
|
|
||||||
|
|
||||||
# Install ext/cairo/depend
|
# pkg-config dependency should be for development
|
||||||
pushd .%{geminstdir}
|
sed -i %{gem_name}-%{version}.gemspec \
|
||||||
cp -p %{SOURCE100} ext/cairo/depend
|
-e '\@pkg-config@s|runtime_dependency|development_dependency|' \
|
||||||
|
-e '\@native-package-installer@s|runtime_dependency|development_dependency|' \
|
||||||
|
%{nil}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Make pkg-config development-dependent
|
gem build %{gem_name}-%{version}.gemspec
|
||||||
# Already in upstream git. For now change manually
|
%gem_install
|
||||||
#
|
|
||||||
sed -i -e '/pkg-config/s|project\.extra_deps|project.extra_dev_deps|' \
|
|
||||||
.%{geminstdir}/Rakefile
|
|
||||||
sed -i -e '/pkg-config/s|add_runtime_dependency|add_development_dependency|' \
|
|
||||||
.%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
|
||||||
|
|
||||||
# Once install to TMPINSTDIR for %%check
|
# Once install to TMPINSTDIR for %%check
|
||||||
rm -rf ./TMPINSTDIR
|
rm -rf ./TMPINSTDIR
|
||||||
mkdir -p ./TMPINSTDIR/%{gemdir}
|
mkdir -p ./TMPINSTDIR/%{gem_dir}
|
||||||
cp -a ./%{gemdir}/* ./TMPINSTDIR/%{gemdir}
|
cp -a ./%{gem_dir}/* ./TMPINSTDIR/%{gem_dir}
|
||||||
|
|
||||||
TOPDIR=$(pwd)
|
TOPDIR=$(pwd)
|
||||||
## Install C extensions, header files
|
|
||||||
pushd .%{geminstdir}
|
|
||||||
# Once create Makefile, then:
|
|
||||||
ruby extconf.rb
|
|
||||||
|
|
||||||
make -C ext/cairo \
|
|
||||||
install \
|
|
||||||
INSTALL="install -p" \
|
|
||||||
DESTDIR=$TOPDIR/TMPINSTDIR/
|
|
||||||
popd
|
|
||||||
|
|
||||||
## remove all shebang, set permission to 0644
|
## remove all shebang, set permission to 0644
|
||||||
for f in $(find ./TMPINSTDIR/%{geminstdir} -name \*.rb)
|
for f in $(find ./TMPINSTDIR/%{gem_instdir} -name \*.rb)
|
||||||
do
|
do
|
||||||
sed -i -e '/^#!/d' $f
|
sed -i -e '/^#!/d' $f
|
||||||
chmod 0644 $f
|
chmod 0644 $f
|
||||||
done
|
done
|
||||||
|
|
||||||
# Move C extension library to some private directory
|
# Move C extension
|
||||||
pushd ./TMPINSTDIR/%{geminstdir}
|
mkdir -p ./TMPINSTDIR/%{gem_extdir_mri}
|
||||||
grep -rl '%{gemname}.so' . | \
|
cp -a ./%{gem_extdir_mri}/* TMPINSTDIR/%{gem_extdir_mri}/
|
||||||
xargs sed -i \
|
|
||||||
-e "\@require@s|'%{gemname}.so'|'%{gemname}/%{gemname}.so'|" \
|
pushd ./TMPINSTDIR
|
||||||
-e '\@require@s|"%{gemname}.so"|"%{gemname}/%{gemname}.so"|'
|
mkdir -p .%{header_dir}
|
||||||
popd
|
mv .%{gem_extdir_mri}/*.h .%{header_dir}/
|
||||||
pushd ./TMPINSTDIR/%{ruby_sitearch}
|
rm -f .%{gem_extdir_mri}/{gem_make.out,mkmf.log}
|
||||||
mkdir %{gemname}
|
|
||||||
mv %{gemname}.so %{gemname}/
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# cleanups
|
# cleanups
|
||||||
rm -rf ./TMPINSTDIR/%{geminstdir}/ext/
|
rm -rf ./TMPINSTDIR/%{gem_instdir}/ext/
|
||||||
rm -f ./TMPINSTDIR/%{geminstdir}/lib/*.so
|
rm -f ./TMPINSTDIR/%{gem_instdir}/{Makefile*,extconf.rb}
|
||||||
rm -f ./TMPINSTDIR/%{geminstdir}/{Makefile*,extconf.rb}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
mkdir -p %{buildroot}
|
|
||||||
cp -a ./TMPINSTDIR/* %{buildroot}/
|
cp -a ./TMPINSTDIR/* %{buildroot}/
|
||||||
|
|
||||||
|
|
||||||
# The following method is completely copied from rubygem-gettext
|
|
||||||
# spec file
|
|
||||||
#
|
|
||||||
# Create symlinks
|
|
||||||
##
|
|
||||||
## Note that before switching to gem %%{ruby_sitelib}/%%{gemname}
|
|
||||||
## already existed as a directory, so this cannot be replaced
|
|
||||||
## by symlink (cpio fails)
|
|
||||||
## Similarly, all directories under %%{ruby_sitelib} cannot be
|
|
||||||
## replaced by symlink
|
|
||||||
#
|
|
||||||
|
|
||||||
create_symlink_rec(){
|
|
||||||
|
|
||||||
ORIGBASEDIR=$1
|
|
||||||
TARGETBASEDIR=$2
|
|
||||||
|
|
||||||
## First calculate relative path of ORIGBASEDIR
|
|
||||||
## from TARGETBASEDIR
|
|
||||||
TMPDIR=$TARGETBASEDIR
|
|
||||||
BACKDIR=
|
|
||||||
DOWNDIR=
|
|
||||||
num=0
|
|
||||||
nnum=0
|
|
||||||
while true
|
|
||||||
do
|
|
||||||
num=$((num+1))
|
|
||||||
TMPDIR=$(echo $TMPDIR | sed -e 's|/[^/][^/]*$||')
|
|
||||||
DOWNDIR=$(echo $ORIGBASEDIR | sed -e "s|^$TMPDIR||")
|
|
||||||
if [ x$DOWNDIR != x$ORIGBASEDIR ]
|
|
||||||
then
|
|
||||||
nnum=0
|
|
||||||
while [ $nnum -lt $num ]
|
|
||||||
do
|
|
||||||
BACKDIR="../$BACKDIR"
|
|
||||||
nnum=$((nnum+1))
|
|
||||||
done
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
RELBASEDIR=$( echo $BACKDIR/$DOWNDIR | sed -e 's|//*|/|g' )
|
|
||||||
|
|
||||||
## Next actually create symlink
|
|
||||||
pushd %{buildroot}/$ORIGBASEDIR
|
|
||||||
find . -type f | while read f
|
|
||||||
do
|
|
||||||
DIRNAME=$(dirname $f)
|
|
||||||
BACK2DIR=$(echo $DIRNAME | sed -e 's|/[^/][^/]*|/..|g')
|
|
||||||
mkdir -p %{buildroot}${TARGETBASEDIR}/$DIRNAME
|
|
||||||
LNNAME=$(echo $BACK2DIR/$RELBASEDIR/$f | \
|
|
||||||
sed -e 's|^\./||' | sed -e 's|//|/|g' | \
|
|
||||||
sed -e 's|/\./|/|' )
|
|
||||||
ln -s -f $LNNAME %{buildroot}${TARGETBASEDIR}/$f
|
|
||||||
done
|
|
||||||
popd
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
create_symlink_rec %{geminstdir}/lib %{ruby_sitelib}
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export RUBYLIB=$(pwd)/TMPINSTDIR/%{ruby_sitearch}
|
%if 0%{?need_test_bootstrap} >= 1
|
||||||
|
exit 0
|
||||||
|
%endif
|
||||||
|
|
||||||
pushd ./TMPINSTDIR/%{geminstdir}
|
export RUBYLIB=$(pwd)/TMPINSTDIR/%{gem_instdir}:$(pwd)/TMPINSTDIR/%{gem_extdir_mri}/
|
||||||
|
|
||||||
|
pushd ./TMPINSTDIR/%{gem_instdir}
|
||||||
# kill unneeded make process
|
# kill unneeded make process
|
||||||
rm -rf ./TMPBINDIR
|
rm -rf ./TMPBINDIR
|
||||||
mkdir ./TMPBINDIR
|
mkdir ./TMPBINDIR
|
||||||
@ -220,43 +149,258 @@ ln -sf /bin/true make
|
|||||||
export PATH=$(pwd):$PATH
|
export PATH=$(pwd):$PATH
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ruby ./test/run-test.rb --verbose
|
# Install missing files
|
||||||
popd
|
tar xf %{SOURCE11}
|
||||||
|
cp -a rcairo/test/* test
|
||||||
|
|
||||||
|
# Fix up test/run-test.rb
|
||||||
|
sed -i -e '\@require .rubygems@a\\ngem "test-unit"\n' test/run-test.rb
|
||||||
|
sed -i -e "\@require 'bundler/setup'@d" test/run-test.rb
|
||||||
|
|
||||||
|
ruby ./test/run-test.rb
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root, root,-)
|
%{gem_extdir_mri}/
|
||||||
%dir %{ruby_sitearch}/%{gemname}/
|
|
||||||
%{ruby_sitearch}/%{gemname}/%{gemname}.so
|
%dir %{gem_instdir}/
|
||||||
%dir %{geminstdir}/
|
%doc %{gem_instdir}/[A-Z]*
|
||||||
%doc %{geminstdir}/[A-Z]*
|
%exclude %{gem_instdir}/Gemfile
|
||||||
%exclude %{geminstdir}/Rakefile
|
%exclude %{gem_instdir}/Rakefile
|
||||||
%{geminstdir}/lib/
|
%{gem_instdir}/lib/
|
||||||
%{gemdir}/cache/%{gemname}-%{version}.gem
|
%exclude %{gem_cache}
|
||||||
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
%{gem_spec}
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%{gem_instdir}/Gemfile
|
||||||
%{geminstdir}/Rakefile
|
%{gem_instdir}/Rakefile
|
||||||
%{geminstdir}/misc/
|
%{gem_instdir}/samples/
|
||||||
%{geminstdir}/samples/
|
%{gem_instdir}/test/
|
||||||
%{geminstdir}/test/
|
%{gem_docdir}/
|
||||||
%{gemdir}/doc/%{gemname}-%{version}/
|
|
||||||
|
|
||||||
%files -n ruby-%{gemname}
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{ruby_sitelib}/%{gemname}.rb
|
|
||||||
%{ruby_sitelib}/%{gemname}/
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%{header_dir}/rb_cairo.h
|
||||||
%{ruby_sitearch}/rb_cairo.h
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
* Thu Sep 29 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.8-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Once kill test suite dependency for now
|
||||||
|
|
||||||
* Sun Oct 31 2010 Mamoru Taska <mtasaka@ioa.s.u-tokyo.ac.jp> 1.10.0-3
|
* Sun Sep 4 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.8-1
|
||||||
- Move C extension so that "require %%gemname" works correctly
|
- 1.17.8
|
||||||
|
|
||||||
|
* Thu Aug 4 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.7-1
|
||||||
|
- 1.17.7
|
||||||
|
|
||||||
|
* Sat Jul 30 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.6-1
|
||||||
|
- 1.17.6
|
||||||
|
|
||||||
|
* Thu Jul 28 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.5-6
|
||||||
|
- Modify test script for cairo 1.17.6 change
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.5-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 23 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.5-4
|
||||||
|
- F-36: rebuild for ruby31
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Mar 11 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.5-1
|
||||||
|
- 1.17.5
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 06 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.6-2
|
||||||
|
- F-34: rebuild against ruby 3.0
|
||||||
|
|
||||||
|
* Thu Dec 31 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.6-1.99
|
||||||
|
- Rebuild for ruby 3.0
|
||||||
|
- Set bootstrap logic for test suite
|
||||||
|
|
||||||
|
* Sun Aug 9 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.6-1
|
||||||
|
- 1.16.6
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 5 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.5-1
|
||||||
|
- 1.16.5
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.4-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 17 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.4-4
|
||||||
|
- Enable tests again
|
||||||
|
|
||||||
|
* Fri Jan 17 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.4-3
|
||||||
|
- F-32: rebuild against ruby27
|
||||||
|
- Once disable tests for circular dependency
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 21 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.2-2
|
||||||
|
- F-30: rebuild against ruby26
|
||||||
|
- Once disable tests for circular dependency
|
||||||
|
|
||||||
|
* Wed Nov 14 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.2-1
|
||||||
|
- 1.16.2
|
||||||
|
|
||||||
|
* Fri Aug 24 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.14-1
|
||||||
|
- 1.15.14
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.13-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed May 2 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.13-1
|
||||||
|
- 1.15.13
|
||||||
|
|
||||||
|
* Fri Mar 16 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.12-1
|
||||||
|
- 1.15.12
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.11-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1.15.11-3
|
||||||
|
- Rebuilt for switch to libxcrypt
|
||||||
|
|
||||||
|
* Wed Jan 03 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.11-2
|
||||||
|
- F-28: rebuild for ruby25
|
||||||
|
|
||||||
|
* Wed Dec 27 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.11-1
|
||||||
|
- 1.15.11
|
||||||
|
|
||||||
|
* Sat Oct 21 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.10-1
|
||||||
|
- 1.15.10
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.9-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.9-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 14 2017 Adam Jackson <ajax@redhat.com> - 1.15.9-2
|
||||||
|
- Rebuild to disable cairo-gl in F27
|
||||||
|
|
||||||
|
* Mon Jun 5 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.9-1
|
||||||
|
- 1.15.9
|
||||||
|
|
||||||
|
* Thu May 4 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.7-1
|
||||||
|
- 1.15.7
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 15 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.5-1
|
||||||
|
- 1.15.5
|
||||||
|
|
||||||
|
* Wed Jan 11 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.4-1
|
||||||
|
- 1.15.4
|
||||||
|
|
||||||
|
* Tue Nov 29 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.3-1
|
||||||
|
- 1.15.3
|
||||||
|
|
||||||
|
* Tue Apr 19 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.2-1
|
||||||
|
- 1.15.2
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 11 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.14.3-2
|
||||||
|
- F-24: rebuild against ruby23
|
||||||
|
|
||||||
|
* Wed Sep 9 2015 amoru TASAKA <mtasaka@fedoraproject.org> - 1.14.3-1
|
||||||
|
- 1.14.3
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 15 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.14.1-2
|
||||||
|
- F-22: Rebuild for ruby 2.2
|
||||||
|
|
||||||
|
* Fri Dec 26 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.14.1-1
|
||||||
|
- 1.14.1
|
||||||
|
|
||||||
|
* Tue Nov 25 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.14.0-1
|
||||||
|
- 1.14.0
|
||||||
|
|
||||||
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.9-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.9-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Apr 16 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.9-2
|
||||||
|
- F-21: rebuild for ruby 2.1 / rubygems 2.2
|
||||||
|
|
||||||
|
* Wed Apr 9 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.9-1
|
||||||
|
- 1.12.9
|
||||||
|
|
||||||
|
* Mon Dec 30 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.8-1
|
||||||
|
- 1.12.8
|
||||||
|
|
||||||
|
* Tue Aug 6 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.6-1
|
||||||
|
- 1.12.6
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Mar 26 2013 Mamoru TASAKA <mtasaka@fedoraproject.org>
|
||||||
|
- Rebuild due to wrong %%gem_extdir_mri macro (bug 927471)
|
||||||
|
|
||||||
|
* Tue Mar 19 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.4-1
|
||||||
|
- 1.12.4
|
||||||
|
|
||||||
|
* Sun Mar 3 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.3-3
|
||||||
|
- F-19: Rebuild for ruby 2.0.0
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 6 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.3-1
|
||||||
|
- 1.12.3
|
||||||
|
|
||||||
|
* Thu Sep 6 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.12.2-1
|
||||||
|
- Update to 1.12.2 formal
|
||||||
|
|
||||||
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.2-0.2.gitaf3e3fc059
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Apr 18 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.12.2-0.1.gitaf3e3fc059
|
||||||
|
- Update to 1.12.1
|
||||||
|
- And use git based gem for now to avoid test failure
|
||||||
|
|
||||||
|
* Tue Apr 03 2012 Vít Ondruch <vondruch@redhat.com> - 1.10.2-4
|
||||||
|
- Fix conditionals for F17 to work for RHEL 7 as well.
|
||||||
|
|
||||||
|
* Sun Jan 29 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.10.2-3
|
||||||
|
- F-17: rebuild against ruby 1.9
|
||||||
|
|
||||||
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 30 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.10.2-1
|
||||||
|
- 1.10.2
|
||||||
|
- Make dependency for pkg-config be development only again
|
||||||
|
- Change the license tag to "GPLv2 or Ruby"
|
||||||
|
- Remove defattr
|
||||||
|
|
||||||
|
* Sun Oct 16 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.10.1-1
|
||||||
|
- 1.10.1
|
||||||
|
|
||||||
|
* Mon Feb 14 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 1.10.0-4
|
||||||
|
- F-15 mass rebuild
|
||||||
|
- Ignore test failure for now
|
||||||
|
|
||||||
|
* Sun Oct 31 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 1.10.0-3
|
||||||
|
- Move C extension so that "require %%gem_name" works correctly
|
||||||
|
|
||||||
* Tue Oct 5 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 1.10.0-2
|
* Tue Oct 5 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 1.10.0-2
|
||||||
- Install one font at BuildRequires for test
|
- Install one font at BuildRequires for test
|
||||||
|
3
sources
3
sources
@ -1 +1,2 @@
|
|||||||
9511621d4fdb60e67c8b87f63e6d54d2 cairo-1.10.0.gem
|
SHA512 (cairo-1.17.8.gem) = a2b756dc1cf1abb98e4b60b9b56f5f610058bd840b67c991d6bfb3da2523b0f77a5854147f9d14ca461d573e51fbe3ba35c83659af5c031086710970fac6665a
|
||||||
|
SHA512 (rcairo-1.17.8-test-missing-files.tar.gz) = b97e6769042b29fdf95f49bd288e6d4155869db31ca60297ffa7207586a5e579059447166d0e97322d8fe6f6b7af15ed26a8d74036fe27ac42072aede8a25f00
|
||||||
|
Loading…
Reference in New Issue
Block a user