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

Revision 4616, 2.9 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

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