source: projects/specs/trunk/k/kolourpaint/kolourpaint-vl.spec @ 9222

Revision 9222, 3.9 KB checked in by Takemikaduchi, 9 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

Line 
1Name:    kolourpaint
2Summary: An easy-to-use paint program
3Summary(ja): 簡単に使えるペイントツール
4Version: 4.14.3
5Release: 1%{?_dist_release}
6
7License: BSD
8Group:   Applications/Graphics
9URL:     https://projects.kde.org/projects/kde/kdegraphics/kolourpaint
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRequires: desktop-file-utils
14BuildRequires: kdelibs4-devel >= %{version}
15BuildRequires: qimageblitz-devel
16
17Requires: %{name}-libs%{?_isa} = %{version}-%{release}
18Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
19# when split occurred
20Conflicts: kdegraphics < 4.6.95-10
21
22Vendor: Project Vine
23Distribution: Vine Linux
24
25%description
26%{summary}.
27
28%package  libs
29Summary:  Runtime libraries for %{name}
30Summary(ja): %{name} のランタイムライブラリ
31Requires: %{name} = %{version}-%{release}
32License: LGPLv2
33
34%description libs
35%{summary}.
36
37
38%prep
39%setup -q
40
41
42%build
43mkdir -p %{_target_platform}
44pushd %{_target_platform}
45%cmake \
46    -DCMAKE_BUILD_TYPE=release \
47    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
48    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
49    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
50    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
51    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
52    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
53    ..
54popd
55
56make %{?_smp_mflags} -C %{_target_platform}
57
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
63
64## unpackaged files
65rm -fv $RPM_BUILD_ROOT%{_libdir}/libkolourpaint_lgpl.so
66
67
68%check
69desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/%{name}.desktop
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%post
75touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
76
77%posttrans
78gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
79update-desktop-database -q &> /dev/null ||:
80
81%postun
82if [ $1 -eq 0 ] ; then
83    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
84    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
85fi
86
87%post libs -p /sbin/ldconfig
88
89%postun libs -p /sbin/ldconfig
90
91
92%files
93%doc AUTHORS BUGS ChangeLog COPYING NEWS README
94%{_bindir}/%{name}
95%{_datadir}/kde4/apps/%{name}/
96%{_datadir}/appdata/kolourpaint.appdata.xml
97%{_datadir}/applications/kde4/%{name}.desktop
98%{_datadir}/icons/hicolor/*/*/*
99%{_docdir}/HTML/en/%{name}/
100
101%files libs
102%{_libdir}/libkolourpaint_lgpl.so.4*
103
104
105%changelog
106* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
107- new upstream release
108
109* Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
110- new upstream release
111
112* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
113- new upstream release
114
115* Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
116- new upstream release
117
118* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
119- new upstream release
120
121* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
122- new upstream release
123
124* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
125- new upstream release
126
127* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
128- new upstream release
129
130* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
131- new upstream release
132
133* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
134- new upstream release
135
136* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
137- new upstream release
138
139* Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
140- Initial build for Vine Linux
141
142* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
143- 4.7.0
144
145* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
146- 4.6.95
147
148* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
149- License: BSD, -libs: License: LGPLv2
150- fix URL
151
152* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
153- fix Source0 URL
154- Conflicts: kdegraphics < 7:4.6.90-10
155
156* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
157- first try
158
159
Note: See TracBrowser for help on using the repository browser.