source: projects/specs/trunk/g/gwenview/gwenview-vl.spec @ 9794

Revision 9794, 5.1 KB checked in by Takemikaduchi, 8 years ago (diff)

gwenview,kdebase-runtime,libkexiv2,nepomuk-core: rebuild with exiv2-0.25
others: new upstream release

Line 
1Name:    gwenview
2Summary: An image viewer
3Summary(ja): 画像ビューア
4Version: 4.14.3
5Release: 2%{?_dist_release}
6
7# app: GPLv2+
8# lib:  IJG and (LGPLv2 or LGPLv3 or LGPLv3+ (KDE e.V.)) and LGPLv2+ and GPLv2+
9License: GPLv2+
10Group:   Applications/Graphics
11URL:     https://projects.kde.org/projects/kde/kdegraphics/gwenview
12
13Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: desktop-file-utils
17BuildRequires: exiv2-devel
18# libkonq
19BuildRequires: kdebase4-devel
20BuildRequires: kdelibs4-devel >= %{version}
21BuildRequires: libkipi-devel >= %{version}
22BuildRequires: kactivities-devel
23BuildRequires: baloo-devel
24BuildRequires: kfilemetadata-devel
25BuildRequires: libkdcraw-devel
26BuildRequires: libjpeg-devel
27BuildRequires: lcms2-devel
28BuildRequires: shared-desktop-ontologies-devel
29BuildRequires: soprano-devel
30
31Requires: %{name}-libs = %{version}-%{release}
32Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
33
34# when split occurred
35Conflicts: kdegraphics < 4.6.95-10
36
37Vendor: Project Vine
38Distribution: Vine Linux
39
40%description
41%{summary}.
42
43%package  libs
44Summary:  Runtime files for %{name}
45Summary(ja): %{name} のランタイムライブラリ
46# wrt (LGPLv2 or LGPLv3), KDE e.V. may determine that future GPL versions are accepted
47License:  IJG and LGPLv2+ and GPLv2+ and LGPLv2 or LGPLv3
48Group:    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
60mkdir -p %{_target_platform}
61pushd %{_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    ..
71popd
72
73make %{?_smp_mflags} -C %{_target_platform}
74
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
79make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
80
81# unpackaged files
82rm -fv $RPM_BUILD_ROOT%{_libdir}/libgwenviewlib.so
83
84
85%check
86desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/gwenview.desktop
87
88
89%post
90touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
91
92%posttrans
93gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
94update-desktop-database -q &> /dev/null ||:
95
96%postun
97if [ $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 ||:
101fi
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* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
128- rebuild with exiv2-0.25
129
130* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
131- new upstream release
132- add BuildRequires: baloo-devel, kfilemetadata-devel, libkdcraw-devel
133
134* Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
135- new upstream release
136
137* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
138- new upstream release
139
140* Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
141- new upstream release
142
143* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
144- new upstream release
145
146* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
147- new upstream release
148- add BuildRequires: kactivities-devel, lcms2-devel
149
150* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
151- new upstream release
152
153* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
154- new upstream release
155
156* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
157- new upstream release
158
159* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
160- new upstream release
161
162* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
163- new upstream release
164
165* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.0-4
166- rebuild with exiv2-0.23
167
168* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.0-3
169- rebuild with exiv2-0.22
170
171* Sat Aug 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
172- Initial build for Vine Linux
173
174* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
175- 4.7.0
176
177* Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-2
178- License: GPLv2+
179- -libs: License: IJG and LGPLv2+ and GPLv2+ and LGPLv2 or LGPLv3
180- %%postun: +update-desktop-database
181
182* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
183- 4.6.95
184- update URL
185
186* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
187- fix Source0 URL
188- Conflicts: kdegraphics < 7:4.6.90-10
189
190* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
191- first try
192
Note: See TracBrowser for help on using the repository browser.