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

Revision 8056, 3.7 KB checked in by Takemikaduchi, 10 years ago (diff)

KDE-4.11.4
exiv2-0.24
wireshark-1.10.5, etc...

Line 
1Name:    libksane
2Summary: SANE Library interface for KDE
3Summary(ja): KDE 用の SANE ライブラリインターフェース
4Version: 4.11.4
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* Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
98- new upstream release
99
100* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
101- new upstream release
102
103* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
104- new upstream release
105
106* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
107- new upstream release
108
109* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
110- new upstream release
111
112* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
113- new upstream release
114
115* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
116- new upstream release
117
118* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
119- new upstream release
120
121* Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
122- new upstream release
123
124* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
125- new upstream release
126
127* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
128- Initial build for Vine Linux
129
130* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
131- 4.7.0
132
133* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
134- 4.5.95
135
136* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
137- fix URL
138
139* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
140- %%doc COPYING.LIB
141- add basic %%check section
142
143* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
144- fix Source0 URL
145- fix scriptlets
146- Conflicts: kdegraphics < 7:4.6.90-10
147
148* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
149- first try
150
Note: See TracBrowser for help on using the repository browser.