source: projects/specs/trunk/d/double-conversion/double-conversion-vl.spec @ 12555

Revision 12555, 5.9 KB checked in by tomop, 3 years ago (diff)

updated 7 packages

ImageMagick?-6.9.12.1-1

cmake-3.19.6-1

double-conversion-3.1.5-5

emacs-27.1-1

inkscape-1.0.2-1

potrace-1.16-1

pstoedit-3.75-2

Line 
1%undefine __cmake_in_source_build
2%bcond_without static_libs # don't build static libraries
3
4Summary:        Library providing binary-decimal and decimal-binary routines for IEEE doubles
5Name:           double-conversion
6Version:        3.1.5
7Release:        5%{?_dist_release}
8Group:          system
9Vendor:         Project Vine
10Distribution:   Vine Linux
11
12License:        BSD
13Source0:        https://github.com/google/double-conversion/archive/v%{version}/%{name}-%{version}.tar.gz
14URL:            https://github.com/google/double-conversion
15BuildRequires:  gcc
16BuildRequires:  gcc-c++
17BuildRequires:  cmake
18
19%description
20Provides binary-decimal and decimal-binary routines for IEEE doubles.
21The library consists of efficient conversion routines that have been
22extracted from the V8 JavaScript engine. The code has been re-factored
23and improved so that it can be used more easily in other projects.
24
25
26%package devel
27Summary:    Library providing binary-decimal and decimal-binary routines for IEEE doubles
28Group:      programming
29Requires:   %{name}%{?_isa} = %{version}-%{release}
30
31%description devel
32Contains header files for developing applications that use the %{name}
33library.
34
35There is extensive documentation in src/double-conversion.h. Other
36examples can be found in test/cctest/test-conversions.cc.
37
38
39%package static
40Summary:    Library providing binary-decimal and decimal-binary routines for IEEE doubles
41Group:      programming
42Requires:   %{name}-devel%{?_isa} = %{version}-%{release}
43
44%description static
45Static %{name} library.
46
47
48%debug_package
49
50
51%prep
52%setup -q
53
54
55%build
56%global _vpath_builddir build-shared
57%cmake -DBUILD_TESTING=ON
58%cmake_build
59
60%if %{with static_libs}
61%global _vpath_builddir build-static
62CXXFLAGS="%{optflags} -fPIC" %cmake -DBUILD_SHARED_LIBS=NO
63%cmake_build
64%endif
65
66
67%install
68%if %{with static_libs}
69%global _vpath_builddir build-static
70%cmake_install
71%endif
72
73%global _vpath_builddir build-shared
74%cmake_install
75
76
77%if 0
78%check
79%ctest
80%endif
81
82
83%ldconfig_scriptlets
84
85
86%files
87%doc LICENSE README.md AUTHORS Changelog
88%{_libdir}/libdouble-conversion.so.3*
89
90%files devel
91%{_libdir}/libdouble-conversion.so
92%{_libdir}/cmake/%{name}
93%{_includedir}/%{name}
94
95%if %{with static_libs}
96%files static
97%{_libdir}/libdouble-conversion.a
98%endif
99
100
101%changelog
102* Sat Feb 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.1.5-5
103- initial build for Vine Linux.
104
105* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-4
106- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
107
108* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-3
109- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
110
111* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-2
112- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
113
114* Sun Sep 22 2019 Orion Poplawski <orion@nwra.com> - 3.1.5-1
115- Update to 3.1.5
116
117* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-5
118- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
119
120* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
121- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
122
123* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
124- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
125
126* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
127- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
128
129* Mon Sep 4 2017 Milan Bouchet-Valat <nalimilan@club.fr> - 3.0.0-1
130- New upstream release.
131
132* Sun Aug 06 2017 Björn Esser <besser82@fedoraproject.org> - 2.0.1-11
133- Rebuilt for AutoReq cmake-filesystem
134
135* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-10
136- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
137
138* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-9
139- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
140
141* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-8
142- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
143
144* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-7
145- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
146
147* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-6
148- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
149
150* Fri Mar 13 2015 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-5
151- Use github source
152
153* Wed Mar 11 2015 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-4
154- Build with cmake
155
156* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-3
157- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
158
159* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-2
160- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
161
162* Sat Feb 8 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 2.0.1-1
163- New upstream version.
164- Drop no longer needed custom SConstruct file and use new upstream SONAME.
165
166* Tue Dec 17 2013 Milan Bouchet-Valat <nalimilan@club.fr> - 2.0.0-4
167- Drop libstdc++-devel from BuildRequires.
168- Move %%check after %%install.
169
170* Sat Dec 14 2013 Milan Bouchet-Valat <nalimilan@club.fr> - 2.0.0-3
171- Remove gcc-c++ from BuildRequires as it is an exception.
172- Fix command in %%check and pass CXXFLAGS to scons.
173- Use %%global instead of %%define.
174
175* Thu Dec 12 2013 Milan Bouchet-Valat <nalimilan@club.fr> - 2.0.0-2
176- Fix building when "--without static_libs" is passed.
177- Remove %%ghost with libdouble-conversion.so.2.
178- Drop BuildRoot.
179- Use rm instead of %%{__rm} for consistency
180- Use %%{?dist} in Release.
181
182* Wed Dec 11 2013 Milan Bouchet-Valat <nalimilan@club.fr> - 2.0.0-1
183- Initial Fedora package based on a PLD Linux RPM by Elan Ruusamäe <glen@delfi.ee>:
184  http://git.pld-linux.org/gitweb.cgi?p=packages/double-conversion.git
Note: See TracBrowser for help on using the repository browser.