source: projects/specs/trunk/o/okteta/okteta-vl.spec @ 10563

Revision 10563, 4.1 KB checked in by Takemikaduchi, 6 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name: okteta
2Summary: Binary editor for KDE
3Summary(ja): KDE 用バイナリエディタ
4Version: 4.14.3
5Release: 2%{?_dist_release}
6
7License: GPLv2
8Group: Applications/Development
9URL: http://www.kde.org/
10
11Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: desktop-file-utils
16
17BuildRequires: kdelibs-devel >= %{version}
18BuildRequires: qca2-devel
19BuildRequires: soprano-devel
20
21Requires(posttrans,postun): desktop-file-utils, shared-mime-info
22
23Requires: %{name}-libs = %{version}-%{release}
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: Takemikaduchi
28
29
30%description
31Okteta is a simple editor for the raw data of files.
32This type of program is also called hex editor or binary editor.
33
34
35%package libs
36Summary: Runtime libraries for %{name}
37Group:   System Environment/Libraries
38
39%description libs
40%{summary}.
41
42%package devel
43Summary: Development files for %{name}
44Group: Development/Libraries
45Requires: %{name}-libs = %{version}-%{release}
46Requires: kdelibs-devel
47
48%description devel
49Development files for %{name}.
50
51
52%prep
53%setup -q
54
55%build
56mkdir -p %{_target_platform}
57pushd %{_target_platform}
58%cmake \
59    -DCMAKE_BUILD_TYPE=release \
60    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
61    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
62    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
63    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
64    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
65    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
66    ..
67popd
68
69make %{?_smp_mflags} -C %{_target_platform}
70
71
72%install
73rm -rf $RPM_BUILD_ROOT
74make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
75
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%post
81touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
82
83%posttrans
84gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
85update-desktop-database -q &> /dev/null ||:
86update-mime-database %{_datadir}/mime &> /dev/null || :
87
88%postun
89if [ $1 -eq 0 ] ; then
90  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
91  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
92  update-desktop-database -q &> /dev/null ||:
93  update-mime-database %{_datadir}/mime &> /dev/null || :
94fi
95
96
97%files
98%defattr(-,root,root,-)
99%doc COPYING COPYING.DOC COPYING.LIB ChangeLog README
100%{_bindir}/%{name}
101%{_bindir}/struct2osd.sh
102%{_libdir}/kde4/libkbytearrayedit.so
103%{_libdir}/kde4/oktetapart.so
104%{_libdir}/kde4/plugins/designer/oktetadesignerplugin.so
105%{_datadir}/appdata/okteta.appdata.xml
106%{_datadir}/applications/kde4/%{name}.desktop
107%{_datadir}/config/okteta-structures.knsrc
108%{_datadir}/config.kcfg/structviewpreferences.kcfg
109%{_datadir}/icons/hicolor/*/*/*
110%{_datadir}/kde4/apps/okteta/
111%{_datadir}/kde4/apps/oktetapart/
112%{_datadir}/kde4/services/kbytearrayedit.desktop
113%{_datadir}/kde4/services/oktetapart.desktop
114%{_datadir}/mime/packages/okteta.xml
115%{_docdir}/HTML/en/%{name}
116
117%files libs
118%defattr(-,root,root,-)
119%{_libdir}/libkasten2controllers.so.*
120%{_libdir}/libkasten2core.so.*
121%{_libdir}/libkasten2gui.so.*
122%{_libdir}/libkasten2okteta1controllers.so.*
123%{_libdir}/libkasten2okteta1core.so.*
124%{_libdir}/libkasten2okteta1gui.so.*
125%{_libdir}/libokteta1core.so.*
126%{_libdir}/libokteta1gui.so.*
127
128%files devel
129%defattr(-,root,root,-)
130%{_includedir}/kde4/KDE/Kasten2
131%{_includedir}/kde4/KDE/Okteta1
132%{_includedir}/kde4/kasten2/
133%{_includedir}/kde4/okteta1/
134%{_libdir}/libkasten2controllers.so
135%{_libdir}/libkasten2core.so
136%{_libdir}/libkasten2gui.so
137%{_libdir}/libkasten2okteta1controllers.so
138%{_libdir}/libkasten2okteta1core.so
139%{_libdir}/libkasten2okteta1gui.so
140%{_libdir}/libokteta1core.so
141%{_libdir}/libokteta1gui.so
142
143
144%changelog
145* Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
146- rebuild with gcc-5.4.0
147
148* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
149- new upstream release
150
151* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
152- new upstream release
153
154* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
155- new upstream release
156
157* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
158- new upstream release
159
160* Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
161- initial build
162
Note: See TracBrowser for help on using the repository browser.