source: projects/specs/trunk/i/inchi/inchi-vl.spec @ 8034

Revision 8034, 3.1 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild with libboost-1.54.0

Line 
1%define inchi_so_ver 1.04.00
2
3Summary: The IUPAC International Chemical Identifier library
4Summary(ja): IUPAC International Chemical Identifier (InChI)ライブラリ
5Name: inchi
6Version: 1.0.4
7Release: 1%{?_dist_release}
8Group: System Environment/Libraries
9License: LGPLv2+
10URL: http://www.iupac.org/inchi/
11Source0: http://www.inchi-trust.org/fileadmin/user_upload/software/inchi-v1.04/INCHI-1-API.ZIP
12Patch0: %{name}-rpm.patch
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16%description
17The IUPAC International Chemical Identifier (InChITM) is a non-proprietary
18identifier for chemical substances that can be used in printed and
19electronic data sources thus enabling easier linking of diverse data
20compilations. It was developed under IUPAC Project 2000-025-1-800 during
21the period 2000-2004. Details of the project and the history of its
22progress are available from the project web site.
23
24%package devel
25Summary: Development headers for the InChI library
26Group: Development/Libraries
27Requires: %{name} = %{version}-%{release}
28
29%description devel
30The inchi-devel package includes the header files and libraries
31necessary for developing programs using the InChI library.
32
33If you are going to develop programs which will use this library
34you should install inchi-devel.  You'll also need to have the
35inchi package installed.
36
37%prep
38%setup -q -n INCHI-1-API
39%patch0 -p1 -b .r
40
41%build
42pushd INCHI_API/gcc_so_makefile
43make ISLINUX=1 OPTFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
44popd
45
46%install
47rm -rf $RPM_BUILD_ROOT
48mkdir -p $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/inchi}
49install -p INCHI_API/gcc_so_makefile/result/libinchi.so.%{inchi_so_ver} $RPM_BUILD_ROOT%{_libdir}
50ln -s libinchi.so.%{inchi_so_ver} $RPM_BUILD_ROOT%{_libdir}/libinchi.so.1
51ln -s libinchi.so.1               $RPM_BUILD_ROOT%{_libdir}/libinchi.so
52install -pm644 INCHI_API/inchi_dll/inchi_api.h $RPM_BUILD_ROOT%{_includedir}/inchi
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post -p /sbin/ldconfig
58
59%postun -p /sbin/ldconfig
60
61%files
62%defattr(-,root,root,-)
63%doc LICENSE readme.txt Software-1-02-beta.pdf
64%{_libdir}/libinchi.so.*
65
66%files devel
67%defattr(-,root,root,-)
68%{_includedir}/inchi
69%{_libdir}/libinchi.so
70
71%changelog
72* Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.4-1
73- update to 1.0.4
74- update Patch0
75
76* Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-1
77- Initial build for Vine Linux
78
79* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-0.5
80- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
81
82* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-0.4
83- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
84
85* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-0.3
86- Autorebuild for GCC 4.3
87
88* Mon Oct 01 2007 Dominik Mierzejewski <rpm@greysector.net> 1.0.2-0.2
89- updated license tag
90- fixed non-Unix EOLs in docs
91- fixed dangling symlinks
92
93* Thu Sep 06 2007 Dominik Mierzejewski <rpm@greysector.net> 1.0.2-0.1
94- updated to 1.02b
95- dropped WDI patch (upstream'd)
96- updated license tag
97
98* Sun Jul 01 2007 Dominik Mierzejewski <rpm@greysector.net> 1.0.1-8
99- initial build
Note: See TracBrowser for help on using the repository browser.