[canl-c] New upstream version 2.0.7, multilib devel subpackage.
František Dvořák
valtri at fedoraproject.org
Thu Jan 31 21:44:43 UTC 2013
commit 3a0ff9a0ecd9a5ef0a56d21e549b42329dab389e
Author: František Dvořák <valtri at civ.zcu.cz>
Date: Thu Jan 31 22:43:24 2013 +0100
New upstream version 2.0.7, multilib devel subpackage.
.gitignore | 1 +
canl-c.spec | 24 ++++++++++++++++++++----
sources | 2 +-
3 files changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f51b8b4..e8c44d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/canl-c-2.0.3.tar.gz
+/canl-c-2.0.7.tar.gz
diff --git a/canl-c.spec b/canl-c.spec
index e0fd9d0..292b59b 100644
--- a/canl-c.spec
+++ b/canl-c.spec
@@ -1,5 +1,5 @@
Name: canl-c
-Version: 2.0.3
+Version: 2.0.7
Release: 1%{?dist}
Summary: EMI Common Authentication library - bindings for C
@@ -44,6 +44,16 @@ Requires: krb5-devel%{?_isa}
This package contains development libraries and header files for EMI caNl.
+%package doc
+Summary: API documentation for EMI caNl
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
+BuildArch: noarch
+%endif
+
+%description doc
+This package contains API documentation for EMI caNl.
+
+
%package examples
Summary: Example programs of EMI caNl
Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -57,7 +67,7 @@ This package contains client and server examples of EMI caNl.
%build
-/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=%{_prefix} --libdir=%{_lib} --project=emi --module canl.c
+/usr/bin/perl ./configure --root=/ --prefix=%{_prefix} --libdir=%{_lib} --module canl.c
CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make
@@ -67,7 +77,7 @@ CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
-# in -devel subpackage
+# in -doc subpackage
rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}/canl.pdf
find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \;
@@ -85,14 +95,20 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \;
%{_libdir}/libcanl_c.so.2.*
%files devel
-%doc canl.pdf
%{_includedir}/*.h
%{_libdir}/libcanl_c.so
+%files doc
+%doc canl.pdf
+
%files examples
%{_bindir}/*
%changelog
+* Thu Jan 31 2013 František Dvořák <valtri at civ.zcu.cz> - 2.0.7-1
+- New upstream version
+- Move API documentation to subpackage (devel subpackage multilib now)
+
* Wed Jan 22 2013 František Dvořák <valtri at civ.zcu.cz> - 2.0.3-1
- Initial package
diff --git a/sources b/sources
index 4c97e49..e39525e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-efd60c771deb4660fee954fdd4576fc8 canl-c-2.0.3.tar.gz
+3977261254a5a460f29a199fb331b31c canl-c-2.0.7.tar.gz
More information about the scm-commits
mailing list