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

Revision 8430, 4.8 KB checked in by Takemikaduchi, 10 years ago (diff)

KDE-4.12.5

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