source: projects/specs/branches/6/l/lcms2/lcms2-vl.spec @ 10389

Revision 10389, 2.9 KB checked in by Takemikaduchi, 8 years ago (diff)

add java-1.7.0

Line 
1Name:           lcms2
2Summary:        Color Management Engine
3Summary(ja):    カラーマネージメントエンジン
4Version:        2.7
5Release:        1%{?_dist_release}
6
7Group:          System Environment/Libraries
8License:        MIT
9URL:            http://www.littlecms.com/
10
11Source0:        http://www.littlecms.com/%{name}-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  libjpeg-devel
15BuildRequires:  libtiff-devel
16BuildRequires:  zlib-devel
17
18%description
19LittleCMS intends to be a small-footprint, speed optimized color management
20engine in open source form. LCMS2 is the current version of LCMS, and can be
21parallel installed with the original (deprecated) lcms.
22
23%package        utils
24Summary:        Utility applications for %{name}
25Group:          Applications/Productivity
26
27%description    utils
28The %{name}-utils package contains utility applications for %{name}.
29
30%package        devel
31Summary:        Development files for LittleCMS
32Summary(ja):    LittleCMS の開発用ファイル
33Group:          Development/Libraries
34Requires:       %{name} = %{version}-%{release}
35Provides:       littlecms-devel = %{version}-%{release}
36
37%description    devel
38Development files for LittleCMS.
39
40%prep
41%setup -q
42
43%build
44%configure --disable-static --program-suffix=2
45
46# remove rpath from libtool
47sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
48sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
49
50make %{?_smp_mflags}
51
52%install
53rm -rf ${RPM_BUILD_ROOT}
54make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
55find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
56install -D -m 644 include/lcms2.h $RPM_BUILD_ROOT/usr/include/lcms2.h
57install -D -m 644 include/lcms2_plugin.h $RPM_BUILD_ROOT/usr/include/lcms2_plugin.h
58
59%clean
60rm -rf ${RPM_BUILD_ROOT}
61
62%post -p /sbin/ldconfig
63
64%postun -p /sbin/ldconfig
65
66%files
67%defattr(-,root,root,-)
68%doc AUTHORS COPYING
69%{_libdir}/*.so.*
70
71%files utils
72%defattr(-,root,root,-)
73%{_bindir}/*
74%{_mandir}/man1/*
75
76%files devel
77%defattr(-,root,root,-)
78%{_includedir}/*
79%{_libdir}/*.so
80%{_libdir}/pkgconfig/%{name}.pc
81
82%changelog
83* Sun Jun 19 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.7-1
84- update to 2.7
85
86* Sat Mar 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-3
87- Initial build for Vine Linux
88
89* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
90- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
91
92* Wed Dec 01 2010 Richard Hughes <richard@hughsie.com> 2.1-1
93- Update to new upstream version.
94
95* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-3
96- Address some more review comments.
97- Resolves #590387
98
99* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-2
100- Address some review comments.
101- Resolves #590387
102
103* Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-1
104- Initial package for Fedora review
Note: See TracBrowser for help on using the repository browser.