1 | Name: gwenview |
---|
2 | Summary: An image viewer |
---|
3 | Summary(ja): 画像ビューア |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 3%{?_dist_release} |
---|
6 | |
---|
7 | # app: GPLv2+ |
---|
8 | # lib: IJG and (LGPLv2 or LGPLv3 or LGPLv3+ (KDE e.V.)) and LGPLv2+ and GPLv2+ |
---|
9 | License: GPLv2+ |
---|
10 | Group: Applications/Graphics |
---|
11 | URL: https://projects.kde.org/projects/kde/kdegraphics/gwenview |
---|
12 | |
---|
13 | Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: desktop-file-utils |
---|
17 | BuildRequires: exiv2-devel |
---|
18 | # libkonq |
---|
19 | BuildRequires: kdebase4-devel |
---|
20 | BuildRequires: kdelibs4-devel >= %{version} |
---|
21 | BuildRequires: libkipi-devel >= %{version} |
---|
22 | BuildRequires: kactivities-devel |
---|
23 | BuildRequires: baloo-devel |
---|
24 | BuildRequires: kfilemetadata-devel |
---|
25 | BuildRequires: libkdcraw-devel |
---|
26 | BuildRequires: libjpeg-devel |
---|
27 | BuildRequires: lcms2-devel |
---|
28 | BuildRequires: shared-desktop-ontologies-devel |
---|
29 | BuildRequires: soprano-devel |
---|
30 | |
---|
31 | Requires: %{name}-libs = %{version}-%{release} |
---|
32 | Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} |
---|
33 | |
---|
34 | # when split occurred |
---|
35 | Conflicts: kdegraphics < 4.6.95-10 |
---|
36 | |
---|
37 | Vendor: Project Vine |
---|
38 | Distribution: Vine Linux |
---|
39 | |
---|
40 | %description |
---|
41 | %{summary}. |
---|
42 | |
---|
43 | %package libs |
---|
44 | Summary: Runtime files for %{name} |
---|
45 | Summary(ja): %{name} のランタイムライブラリ |
---|
46 | # wrt (LGPLv2 or LGPLv3), KDE e.V. may determine that future GPL versions are accepted |
---|
47 | License: IJG and LGPLv2+ and GPLv2+ and LGPLv2 or LGPLv3 |
---|
48 | Group: System Environment/Libraries |
---|
49 | #Requires: %{name} = %{version}-%{release} |
---|
50 | |
---|
51 | %description libs |
---|
52 | %{summary}. |
---|
53 | |
---|
54 | |
---|
55 | %prep |
---|
56 | %setup -q |
---|
57 | |
---|
58 | |
---|
59 | %build |
---|
60 | mkdir -p %{_target_platform} |
---|
61 | pushd %{_target_platform} |
---|
62 | %cmake \ |
---|
63 | -DCMAKE_BUILD_TYPE=release \ |
---|
64 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
65 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
66 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
67 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
68 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
69 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
70 | .. |
---|
71 | popd |
---|
72 | |
---|
73 | make %{?_smp_mflags} -C %{_target_platform} |
---|
74 | |
---|
75 | |
---|
76 | %install |
---|
77 | rm -rf $RPM_BUILD_ROOT |
---|
78 | |
---|
79 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
80 | |
---|
81 | # unpackaged files |
---|
82 | rm -fv $RPM_BUILD_ROOT%{_libdir}/libgwenviewlib.so |
---|
83 | |
---|
84 | |
---|
85 | %check |
---|
86 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/gwenview.desktop |
---|
87 | |
---|
88 | |
---|
89 | %post |
---|
90 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
91 | |
---|
92 | %posttrans |
---|
93 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
94 | update-desktop-database -q &> /dev/null ||: |
---|
95 | |
---|
96 | %postun |
---|
97 | if [ $1 -eq 0 ] ; then |
---|
98 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
99 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
100 | update-desktop-database -q &> /dev/null ||: |
---|
101 | fi |
---|
102 | |
---|
103 | %post libs -p /sbin/ldconfig |
---|
104 | %postun libs -p /sbin/ldconfig |
---|
105 | |
---|
106 | |
---|
107 | %files |
---|
108 | %doc COPYING |
---|
109 | %{_bindir}/%{name}* |
---|
110 | %{_datadir}/kde4/apps/%{name}/ |
---|
111 | %{_datadir}/kde4/apps/solid/actions/%{name}*.desktop |
---|
112 | %{_datadir}/kde4/services/ServiceMenus/*.desktop |
---|
113 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
114 | %{_datadir}/icons/hicolor/*/*/* |
---|
115 | %{_datadir}/doc/HTML/en/%{name}/ |
---|
116 | # split gvpart? |
---|
117 | %{_datadir}/kde4/apps/gvpart/ |
---|
118 | %{_datadir}/kde4/services/gvpart.desktop |
---|
119 | %{_libdir}/kde4/gvpart.so |
---|
120 | |
---|
121 | %files libs |
---|
122 | %doc lib/libjpeg-80/README.jpeg |
---|
123 | %{_libdir}/libgwenviewlib.so.4* |
---|
124 | |
---|
125 | |
---|
126 | %changelog |
---|
127 | * Thu Jul 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-3 |
---|
128 | - rebuild with gcc-5.4.0 |
---|
129 | |
---|
130 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2 |
---|
131 | - rebuild with exiv2-0.25 |
---|
132 | |
---|
133 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
134 | - new upstream release |
---|
135 | - add BuildRequires: baloo-devel, kfilemetadata-devel, libkdcraw-devel |
---|
136 | |
---|
137 | * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
141 | - new upstream release |
---|
142 | |
---|
143 | * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
144 | - new upstream release |
---|
145 | |
---|
146 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
147 | - new upstream release |
---|
148 | |
---|
149 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
150 | - new upstream release |
---|
151 | - add BuildRequires: kactivities-devel, lcms2-devel |
---|
152 | |
---|
153 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
157 | - new upstream release |
---|
158 | |
---|
159 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
160 | - new upstream release |
---|
161 | |
---|
162 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
163 | - new upstream release |
---|
164 | |
---|
165 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
166 | - new upstream release |
---|
167 | |
---|
168 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.0-4 |
---|
169 | - rebuild with exiv2-0.23 |
---|
170 | |
---|
171 | * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.0-3 |
---|
172 | - rebuild with exiv2-0.22 |
---|
173 | |
---|
174 | * Sat Aug 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
175 | - Initial build for Vine Linux |
---|
176 | |
---|
177 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
178 | - 4.7.0 |
---|
179 | |
---|
180 | * Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-2 |
---|
181 | - License: GPLv2+ |
---|
182 | - -libs: License: IJG and LGPLv2+ and GPLv2+ and LGPLv2 or LGPLv3 |
---|
183 | - %%postun: +update-desktop-database |
---|
184 | |
---|
185 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
186 | - 4.6.95 |
---|
187 | - update URL |
---|
188 | |
---|
189 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2 |
---|
190 | - fix Source0 URL |
---|
191 | - Conflicts: kdegraphics < 7:4.6.90-10 |
---|
192 | |
---|
193 | * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1 |
---|
194 | - first try |
---|
195 | |
---|