rpms/inchi/devel .cvsignore, 1.3, 1.4 inchi.spec, 1.5, 1.6 sources, 1.3, 1.4

Dominik Mierzejewski rathann at fedoraproject.org
Wed Oct 7 22:46:50 UTC 2009


Author: rathann

Update of /cvs/pkgs/rpms/inchi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24933

Modified Files:
	.cvsignore inchi.spec sources 
Log Message:
* Thu Oct 08 2009 Dominik Mierzejewski <rpm at greysector.net> 1.0.2-2
- added doc subpackage (based on a patch by Takanori MATSUURA)



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/inchi/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	13 Sep 2009 17:26:03 -0000	1.3
+++ .cvsignore	7 Oct 2009 22:46:50 -0000	1.4
@@ -1 +1,2 @@
 STDINCHI-1-API.zip
+STDINCHI-1-DOC.zip


Index: inchi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/inchi/devel/inchi.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- inchi.spec	13 Sep 2009 17:26:03 -0000	1.5
+++ inchi.spec	7 Oct 2009 22:46:50 -0000	1.6
@@ -3,10 +3,11 @@
 Summary: The IUPAC International Chemical Identifier library
 Name: inchi
 Version: 1.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://www.iupac.org/inchi/
 Group: Development/Libraries
 Source0: http://www.iupac.org/inchi/download/STDINCHI-1-API.zip
+Source1: http://www.iupac.org/inchi/download/STDINCHI-1-DOC.zip
 Patch0: %{name}-rpm.patch
 License: LGPLv2+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -32,10 +33,22 @@ If you are going to develop programs whi
 you should install inchi-devel.  You'll also need to have the
 inchi package installed.
 
+%package doc
+Summary: Documentation for the InChI library
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+The inchi-doc package contains user documentation for the InChI software
+and InChI library API reference for developers.
+
 %prep
-%setup -q -n STDINCHI-1-API
+%setup -q -n STDINCHI-1-API -a 1
 %patch0 -p1 -b .r
 rm STDINCHI_API/gcc_so_makefile/result/{libstdinchi,stdinchi}*
+# Both .doc and .pdf files provide the same contents.
+find STDINCHI-1-DOC -name '*.doc' | xargs rm
 
 %build
 pushd STDINCHI_API/gcc_so_makefile
@@ -69,7 +82,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/inchi
 %{_libdir}/libstdinchi.so
 
+%files doc
+%defattr(-,root,root,-)
+%doc STDINCHI-1-DOC/*
+
 %changelog
+* Thu Oct 08 2009 Dominik Mierzejewski <rpm at greysector.net> 1.0.2-2
+- added doc subpackage (based on a patch by Takanori MATSUURA)
+
 * Wed Aug 26 2009 Dominik Mierzejewski <rpm at greysector.net> 1.0.2-1
 - updated to final 1.02 release (unfortunately, it breaks ABI)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/inchi/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	13 Sep 2009 17:26:03 -0000	1.3
+++ sources	7 Oct 2009 22:46:50 -0000	1.4
@@ -1 +1,2 @@
 aa8bab9424a4c9683b63706c18d55479  STDINCHI-1-API.zip
+059da4773df796c257c74b8ddea58aaa  STDINCHI-1-DOC.zip




More information about the fedora-extras-commits mailing list