source: projects/specs/trunk/l/lcms2/lcms2-vl.spec @ 12560

Revision 12560, 4.7 KB checked in by tomop, 3 years ago (diff)

updated 4 packages

ethtool-5.10-1

lcms2-2.12-1

squid-4.14-1

webkitgtk4-2.30.5-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           lcms2
4Summary:        Color Management Engine
5Summary(ja):    カラーマネージメントエンジン
6Version:        2.12
7Release:        1%{?_dist_release}
8Group:          system
9Vendor:         Project Vine
10Distribution:   Vine Linux
11
12License:        MIT
13URL:            http://www.littlecms.com/
14Source0:        https://github.com/mm2/Little-CMS/archive/lcms%{version}.tar.gz#/%{name}-%{version}.tar.gz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  libjpeg-devel
18BuildRequires:  libtiff-devel
19BuildRequires:  zlib-devel
20
21%description
22LittleCMS intends to be a small-footprint, speed optimized color management
23engine in open source form. LCMS2 is the current version of LCMS, and can be
24parallel installed with the original (deprecated) lcms.
25
26
27%package        utils
28Summary:        Utility applications for %{name}
29Group:          graphics
30
31%description    utils
32The %{name}-utils package contains utility applications for %{name}.
33
34
35%package        devel
36Summary:        Development files for LittleCMS
37Summary(ja):    LittleCMS の開発用ファイル
38Group:          programming
39Requires:       %{name} = %{version}-%{release}
40Provides:       littlecms-devel = %{version}-%{release}
41
42%description    devel
43Development files for LittleCMS.
44
45
46# compat32
47%package -n     compat32-%{name}
48Summary:        Color Management Engine
49Summary(ja):    カラーマネージメントエンジン
50Group:          system
51Requires:       %{name} = %{version}-%{release}
52
53
54%description -n compat32-%{name}
55LittleCMS intends to be a small-footprint, speed optimized color management
56engine in open source form. LCMS2 is the current version of LCMS, and can be
57parallel installed with the original (deprecated) lcms.
58
59%package -n     compat32-%{name}-devel
60Summary:        Development files for LittleCMS
61Summary(ja):    LittleCMS の開発用ファイル
62Group:          programming
63Requires:       compat32-%{name} = %{version}-%{release}
64Requires:       %{name}-devel = %{version}-%{release}
65
66%description -n compat32-%{name}-devel
67Development files for LittleCMS.
68
69
70%debug_package
71
72
73%prep
74%setup -q -n Little-CMS-lcms%{version}
75
76
77%build
78%configure --disable-static --program-suffix=2
79
80# remove rpath from libtool
81sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
82sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
83
84make %{?_smp_mflags}
85
86
87%install
88rm -rf ${RPM_BUILD_ROOT}
89make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
90find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
91install -D -m 644 include/lcms2.h $RPM_BUILD_ROOT/usr/include/lcms2.h
92install -D -m 644 include/lcms2_plugin.h $RPM_BUILD_ROOT/usr/include/lcms2_plugin.h
93
94
95%clean
96rm -rf ${RPM_BUILD_ROOT}
97
98
99%ldconfig_scriptlets
100
101
102%files
103%defattr(-,root,root,-)
104%license COPYING
105%doc AUTHORS
106%{_libdir}/*.so.*
107
108%files utils
109%defattr(-,root,root,-)
110%{_bindir}/*
111%{_mandir}/man1/*
112
113%files devel
114%defattr(-,root,root,-)
115%{_includedir}/*
116%{_libdir}/*.so
117%{_libdir}/pkgconfig/%{name}.pc
118
119# compat32
120%if %{build_compat32}
121%files -n compat32-%{name}
122%defattr(-,root,root,-)
123%{_libdir}/*.so.*
124
125%files -n compat32-%{name}-devel
126%defattr(-,root,root,-)
127%{_libdir}/*.so
128%endif
129
130
131%changelog
132* Tue Mar 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.12-1
133- new upstream release.
134
135* Mon May 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.9-2
136- rebuilt with current environment.
137
138* Fri Dec 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.9-1
139- new upstream release.
140
141* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.7-1
142- new upstream release
143
144* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.6-1
145- new upstream release
146
147* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.5-1
148- new upstream release
149
150* Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.4-1
151- new upstream release
152
153* Sat Mar 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.3-1
154- new upstream release
155- create compat32 sub packages
156
157* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2-1
158- new upstream release
159
160* Sat Mar 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-3
161- Initial build for Vine Linux
162
163* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
164- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
165
166* Wed Dec 01 2010 Richard Hughes <richard@hughsie.com> 2.1-1
167- Update to new upstream version.
168
169* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-3
170- Address some more review comments.
171- Resolves #590387
172
173* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-2
174- Address some review comments.
175- Resolves #590387
176
177* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-1
178- Initial package for Fedora review
Note: See TracBrowser for help on using the repository browser.