source: projects/specs/trunk/lib/libk/libkipi/libkipi-vl.spec @ 7294

Revision 7294, 3.5 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.9.5

Line 
1Name:    libkipi
2Summary: Common plugin infrastructure for KDE image applications
3Summary(ja): KDE 画像アプリケーション向けの共通プラグインインフラストラクチャ
4Version: 4.9.5
5Release: 1%{?_dist_release}
6
7License: GPLv2+
8Group:   System Environment/Libraries
9URL:     https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: kdelibs4-devel >= %{version}
15BuildRequires: soprano-devel
16
17Requires: kdelibs4 >= %{version}
18
19# when split occurred
20Conflicts: kdegraphics-libs < 4.6.95-10
21
22%description
23Kipi (KDE Image Plugin Interface) is an effort to develop a common plugin
24structure (for Digikam, Gwenview, etc.). Its aim is to share
25image plugins among graphic applications.
26
27%package devel
28Summary:  Development files for %{name}
29Summary(ja): %{name} の開発用ファイル
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Requires: kdelibs4-devel
33
34%description devel
35%{summary}.
36
37
38%prep
39%setup -q
40
41%build
42mkdir -p %{_target_platform}
43pushd %{_target_platform}
44%cmake \
45    -DCMAKE_BUILD_TYPE=release \
46    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
47    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
48    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
49    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
50    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
51    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
52    ..
53popd
54
55make %{?_smp_mflags} -C %{_target_platform}
56
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
62
63
64%check
65export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
66pkg-config --modversion libkipi
67
68
69%post
70/sbin/ldconfig
71touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
72
73%posttrans
74gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
75
76%postun
77/sbin/ldconfig
78if [ $1 -eq 0 ] ; then
79    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
80    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
81fi
82
83
84%files
85%doc AUTHORS COPYING NEWS README
86%{_libdir}/libkipi.so.*
87%{_datadir}/kde4/apps/kipi/
88%{_datadir}/icons/hicolor/*/*/*
89%{_datadir}/kde4/servicetypes/kipiplugin.desktop
90
91%files devel
92%{_libdir}/libkipi.so
93%{_libdir}/pkgconfig/libkipi.pc
94%{_includedir}/kde4/libkipi/
95
96
97%changelog
98* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
99- new upstream release
100
101* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
102- new upstream release
103
104* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
105- new upstream release
106
107* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
108- new upstream release
109
110* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
111- new upstream release
112
113* Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
114- new upstream release
115
116* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
117- new upstream release
118
119* Mon Aug  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
120- Initial build for Vine Linux
121
122* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
123- 4.7.0
124
125* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
126- 4.6.95
127- fix URL
128
129* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
130- Conflicts: kdegraphics < 7:4.6.90
131
132* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
133- License: GPLv2+
134- fix scriptlets
135- %%doc: +NEWS, -TODO
136- fix Source0 URL
137
138* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
139- first try
140
141
Note: See TracBrowser for help on using the repository browser.