source: projects/specs/trunk/u/umbrello/umbrello-vl.spec @ 10563

Revision 10563, 2.4 KB checked in by Takemikaduchi, 3 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name: umbrello
2Summary: UML Modeller for KDE
3Summary(ja): KDE 用 UML モデラー
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: soprano-devel
19BuildRequires: libxml2-devel
20BuildRequires: libxslt-devel
21BuildRequires: libboost-devel
22
23Requires(posttrans,postun): desktop-file-utils
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: Takemikaduchi
28
29
30%description
31Umbrello UML Modeller is a UML diagramming tool for KDE.
32
33
34%prep
35%setup -q
36
37%build
38mkdir -p %{_target_platform}
39pushd %{_target_platform}
40%cmake \
41    -DCMAKE_BUILD_TYPE=release \
42    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
43    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
44    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
45    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
46    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
47    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
48    ..
49popd
50
51make %{?_smp_mflags} -C %{_target_platform}
52
53
54%install
55rm -rf $RPM_BUILD_ROOT
56make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
57
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post
63touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
64
65%posttrans
66gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
67update-desktop-database -q &> /dev/null ||:
68
69%postun
70if [ $1 -eq 0 ] ; then
71  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
72  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
73  update-desktop-database -q &> /dev/null ||:
74fi
75
76
77%files
78%defattr(-,root,root,-)
79%doc COPYING COPYING.DOC
80%{_bindir}/%{name}
81%{_datadir}/applications/kde4/%{name}.desktop
82%{_datadir}/icons/hicolor/*/*/*
83%{_datadir}/kde4/apps/%{name}
84%{_docdir}/HTML/en/%{name}
85
86
87%changelog
88* Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
89- rebuild with gcc-5.4.0
90
91* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
92- new upstream release
93
94* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
95- new upstream release
96
97* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
98- new upstream release
99
100* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
101- new upstream release
102
103* Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
104- initial build
105
Note: See TracBrowser for help on using the repository browser.