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

Revision 6725, 3.2 KB checked in by Takemikaduchi, 12 years ago (diff)

KDE-4.9.0

Line 
1Name:    libkipi
2Summary: Common plugin infrastructure for KDE image applications
3Summary(ja): KDE 画像アプリケーション向けの共通プラグインインフラストラクチャ
4Version: 4.9.0
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* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
99- new upstream release
100
101* Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
102- new upstream release
103
104* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
105- new upstream release
106
107* Mon Aug  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
108- Initial build for Vine Linux
109
110* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
111- 4.7.0
112
113* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
114- 4.6.95
115- fix URL
116
117* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
118- Conflicts: kdegraphics < 7:4.6.90
119
120* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
121- License: GPLv2+
122- fix scriptlets
123- %%doc: +NEWS, -TODO
124- fix Source0 URL
125
126* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
127- first try
128
129
Note: See TracBrowser for help on using the repository browser.