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

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

KDE-4.12.5

Line 
1Name:    kolourpaint
2Summary: An easy-to-use paint program
3Summary(ja): 簡単に使えるペイントツール
4Version: 4.12.5
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}/applications/kde4/%{name}.desktop
97%{_datadir}/icons/hicolor/*/*/*
98%{_docdir}/HTML/en/%{name}/
99
100%files libs
101%{_libdir}/libkolourpaint_lgpl.so.4*
102
103
104%changelog
105* Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
106- new upstream release
107
108* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
109- new upstream release
110
111* Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
112- new upstream release
113
114* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
115- new upstream release
116
117* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
118- new upstream release
119
120* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
121- new upstream release
122
123* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
124- new upstream release
125
126* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
127- new upstream release
128
129* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
130- new upstream release
131
132* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
133- new upstream release
134
135* Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
136- Initial build for Vine Linux
137
138* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
139- 4.7.0
140
141* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
142- 4.6.95
143
144* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
145- License: BSD, -libs: License: LGPLv2
146- fix URL
147
148* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
149- fix Source0 URL
150- Conflicts: kdegraphics < 7:4.6.90-10
151
152* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
153- first try
154
155
Note: See TracBrowser for help on using the repository browser.