1 | Name: libkdcraw |
---|
2 | Summary: A C++ interface around LibRaw library |
---|
3 | Summary(ja): LibRaw ライブラリ向けの C++ インターフェース |
---|
4 | Version: 4.12.5 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | # libkdcraw is GPLv2+, |
---|
8 | License: GPLv2+ |
---|
9 | URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw |
---|
10 | Group: System Environment/Libraries |
---|
11 | |
---|
12 | Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: kdelibs-devel >= %{version} |
---|
16 | BuildRequires: lcms-devel |
---|
17 | BuildRequires: libjpeg-devel |
---|
18 | BuildRequires: LibRaw-devel |
---|
19 | |
---|
20 | Requires: kdelibs >= %{version} |
---|
21 | |
---|
22 | # when split occurred |
---|
23 | Conflicts: kdegraphics-libs < 4.6.95-10 |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | |
---|
28 | %description |
---|
29 | Libkdcraw is a C++ interface around LibRaw library used to decode RAW |
---|
30 | picture files. More information about LibRaw can be found at |
---|
31 | http://www.libraw.org. |
---|
32 | |
---|
33 | %package devel |
---|
34 | Summary: Development files for %{name} |
---|
35 | Summary(ja): %{name} の開発用ファイル |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | Requires: kdelibs-devel |
---|
39 | |
---|
40 | %description devel |
---|
41 | %{summary}. |
---|
42 | |
---|
43 | |
---|
44 | %prep |
---|
45 | %setup -q |
---|
46 | |
---|
47 | %build |
---|
48 | mkdir -p %{_target_platform} |
---|
49 | pushd %{_target_platform} |
---|
50 | %cmake \ |
---|
51 | -DCMAKE_BUILD_TYPE=release \ |
---|
52 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
53 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
54 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
55 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
56 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
57 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
58 | .. |
---|
59 | popd |
---|
60 | |
---|
61 | make %{?_smp_mflags} -C %{_target_platform} |
---|
62 | |
---|
63 | |
---|
64 | %install |
---|
65 | rm -rf %{buildroot} |
---|
66 | |
---|
67 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
68 | |
---|
69 | |
---|
70 | %check |
---|
71 | export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig |
---|
72 | pkg-config --modversion libkdcraw |
---|
73 | make -C %{_target_platform}/test |
---|
74 | |
---|
75 | %post |
---|
76 | /sbin/ldconfig |
---|
77 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
78 | |
---|
79 | %posttrans |
---|
80 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
81 | |
---|
82 | %postun |
---|
83 | /sbin/ldconfig |
---|
84 | if [ $1 -eq 0 ] ; then |
---|
85 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
86 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
87 | fi |
---|
88 | |
---|
89 | |
---|
90 | %files |
---|
91 | %doc AUTHORS ChangeLog COPYING NEWS README TODO |
---|
92 | %{_libdir}/libkdcraw.so.* |
---|
93 | %{_datadir}/kde4/apps/libkdcraw/ |
---|
94 | %{_datadir}/icons/hicolor/*/*/* |
---|
95 | |
---|
96 | %files devel |
---|
97 | %{_libdir}/libkdcraw.so |
---|
98 | %{_libdir}/pkgconfig/libkdcraw.pc |
---|
99 | %{_includedir}/kde4/libkdcraw/ |
---|
100 | |
---|
101 | |
---|
102 | %changelog |
---|
103 | * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
107 | - new upstream release |
---|
108 | - add BuildRequires: LibRaw-devel |
---|
109 | |
---|
110 | * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
111 | - new upstream release |
---|
112 | |
---|
113 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
120 | - new upstream release |
---|
121 | |
---|
122 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1 |
---|
135 | - new upstream release |
---|
136 | |
---|
137 | * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
141 | - Initial build for Vine Linux |
---|
142 | |
---|
143 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
144 | - 4.7.0 |
---|
145 | |
---|
146 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
147 | - 4.6.95 |
---|
148 | |
---|
149 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-5 |
---|
150 | - License: GPLv2+ and LGPLv2 and GPLv3+ |
---|
151 | - Provides: bundled(LibRaw) |
---|
152 | |
---|
153 | * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4 |
---|
154 | - fix URL |
---|
155 | - fix scriptlets |
---|
156 | |
---|
157 | * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3 |
---|
158 | - License: GPLv2+ |
---|
159 | - %%doc: +ChangeLog NEWS |
---|
160 | - add %%check section |
---|
161 | |
---|
162 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2 |
---|
163 | - fix Source0 URL |
---|
164 | - Conflicts: kdegraphics < 7:4.6.90-10 |
---|
165 | |
---|
166 | * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1 |
---|
167 | - first try |
---|
168 | |
---|
169 | |
---|