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

Revision 10548, 4.1 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

RevLine 
[4664]1Name:    libksane
2Summary: SANE Library interface for KDE
[5298]3Summary(ja): KDE 用の SANE ライブラリインターフェース
[9222]4Version: 4.14.3
[10548]5Release: 2%{?_dist_release}
[4664]6
7License: LGPLv2+
8Group:   System Environment/Libraries
9URL:     https://projects.kde.org/projects/kde/kdegraphics/libs/libksane
10
[6725]11Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz
[4664]12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
[8252]14BuildRequires: kdelibs-devel >= %{version}
[4664]15BuildRequires: sane-devel
16#BuildRequires: sane-backends-devel
17
[8252]18Requires: kdelibs >= %{version}
[4664]19
20# when split occurred
21Conflicts: kdegraphics-libs < 4.6.95-10
22
[8252]23Vendor: Project Vine
24Distribution: Vine Linux
25
[4664]26%description
27%{summary}.
28
29%package devel
30Summary:  Development files for %{name}
[5298]31Summary(ja): %{name} の開発用ファイル
[4664]32Group:    Development/Libraries
33Requires: %{name} = %{version}-%{release}
[8252]34Requires: kdelibs-devel
[4664]35
36%description devel
37%{summary}.
38
39
40%prep
41%setup -q
42
43
44%build
45mkdir -p %{_target_platform}
46pushd %{_target_platform}
47%cmake \
48    -DCMAKE_BUILD_TYPE=release \
49    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
50    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
51    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
52    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
53    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
54    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
55    ..
56popd
57
58make %{?_smp_mflags} -C %{_target_platform}
59
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
65
66
67%check
68export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
69pkg-config --modversion libksane
70
71
72%post
73/sbin/ldconfig
74touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
75
76%posttrans
77gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
78
79%postun
80/sbin/ldconfig
81if [ $1 -eq 0 ] ; then
82    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
83    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
84fi
85
86
87%files
88%doc AUTHORS COPYING.LIB README TODO
[6725]89%{_libdir}/libksane.so.*
[4664]90%{_datadir}/icons/hicolor/*/*/*
91
92%files devel
93%{_libdir}/libksane.so
94%{_libdir}/pkgconfig/libksane.pc
95%{_libdir}/cmake/KSane/
96%{_includedir}/kde4/libksane/
97
98
99%changelog
[10548]100* Wed Jul 06 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
101- rebuild with gcc-5.4.0
102
[9222]103* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
104- new upstream release
105
[8430]106* Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
107- new upstream release
108
[8252]109* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
110- new upstream release
111
[8056]112* Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
113- new upstream release
114
[7801]115* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
116- new upstream release
117
[7728]118* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
119- new upstream release
120
[7294]121* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
122- new upstream release
123
[7105]124* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
125- new upstream release
126
[6899]127* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
128- new upstream release
129
[6797]130* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
131- new upstream release
132
[6725]133* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
134- new upstream release
135
[5298]136* Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
137- new upstream release
138
[5006]139* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
140- new upstream release
141
[4664]142* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
143- Initial build for Vine Linux
144
145* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
146- 4.7.0
147
148* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
149- 4.5.95
150
151* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
152- fix URL
153
154* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
155- %%doc COPYING.LIB
156- add basic %%check section
157
158* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
159- fix Source0 URL
160- fix scriptlets
161- Conflicts: kdegraphics < 7:4.6.90-10
162
163* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
164- first try
165
Note: See TracBrowser for help on using the repository browser.