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

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

KDE-4.9.5

Line 
1Name:    libksane
2Summary: SANE Library interface for KDE
3Summary(ja): KDE 用の SANE ライブラリインターフェース
4Version: 4.9.5
5Release: 1%{?_dist_release}
6
7License: LGPLv2+
8Group:   System Environment/Libraries
9URL:     https://projects.kde.org/projects/kde/kdegraphics/libs/libksane
10
11Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: kdelibs4-devel >= %{version}
15BuildRequires: sane-devel
16#BuildRequires: sane-backends-devel
17
18Requires: kdelibs4 >= %{version}
19
20# when split occurred
21Conflicts: kdegraphics-libs < 4.6.95-10
22
23%description
24%{summary}.
25
26%package devel
27Summary:  Development files for %{name}
28Summary(ja): %{name} の開発用ファイル
29Group:    Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: kdelibs4-devel
32
33%description devel
34%{summary}.
35
36
37%prep
38%setup -q
39
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 libksane
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.LIB README TODO
86%{_libdir}/libksane.so.*
87%{_datadir}/icons/hicolor/*/*/*
88
89%files devel
90%{_libdir}/libksane.so
91%{_libdir}/pkgconfig/libksane.pc
92%{_libdir}/cmake/KSane/
93%{_includedir}/kde4/libksane/
94
95
96%changelog
97* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
98- new upstream release
99
100* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
101- new upstream release
102
103* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
104- new upstream release
105
106* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
107- new upstream release
108
109* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
110- new upstream release
111
112* Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
113- new upstream release
114
115* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
116- new upstream release
117
118* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
119- Initial build for Vine Linux
120
121* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
122- 4.7.0
123
124* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
125- 4.5.95
126
127* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
128- fix URL
129
130* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
131- %%doc COPYING.LIB
132- add basic %%check section
133
134* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
135- fix Source0 URL
136- fix scriptlets
137- Conflicts: kdegraphics < 7:4.6.90-10
138
139* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
140- first try
141
Note: See TracBrowser for help on using the repository browser.