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

Revision 9073, 4.3 KB checked in by Takemikaduchi, 9 years ago (diff)

GNOME 3.14.1

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