source: projects/specs/trunk/s/smillaenlarger/smillaenlarger-vl.spec @ 10771

Revision 10771, 2.2 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1%define SE_Src SmillaEnlarger_0.9.0_source/SmillaEnlargerSrc/
2
3Name: smillaenlarger
4Version: 0.9.0
5Release: 5%{?_dist_release}
6Summary: small graphical tool to resize based on Qt
7Summary(ja): Qt ベースのリサイズのための小さなグラフィカルツール
8
9Group: Applications/Graphics
10License: GPLv3
11URL: http://sourceforge.net/projects/imageenlarger/
12Source0: SmillaEnlarger_%{version}_source.zip
13Source1: %{name}.desktop
14Patch0: apply_environment.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17
18BuildRequires: unzip
19BuildRequires: qt4-devel
20BuildRequires: qt4-designer
21
22Requires: qt4%{?_isa} >= %{_qt4_version}
23
24%description
25SmillaEnlarger is a small graphical tool (based on Qt) to resize,
26especially magnify bitmaps in high quality.
27
28%description -l ja
29SmillaEnlarger は、リサイズのための (Qtベースの) 小さなグラフィカルツールです。
30特に、ビットマップを高品質に拡大することができます。
31
32%prep
33%setup -q -c -T
34%{_bindir}/unzip -oq %{SOURCE0}
35%patch0 -p1
36
37%build
38pushd %{SE_Src}
39%{_libdir}/qt4/bin/qmake ImageEnlarger.pro
40make %{?_smp_mflags}
41popd
42
43%install
44pushd %{SE_Src}
45%__install -dm 755 %{buildroot}%{_bindir}
46%__install -m 755 SmillaEnlarger %{buildroot}%{_bindir}
47%__install -dm 755 %{buildroot}%{_datadir}/pixmaps/
48%__install -m 644 smilla.png %{buildroot}%{_datadir}/pixmaps/smilla.png
49%__install -dm 755 %{buildroot}%{_datadir}/applications/
50%__install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
51popd
52
53%clean
54rm -rf %{buildroot}
55
56%post
57update-desktop-database %{_datadir}/applications>& /dev/null ||:
58
59%postun
60update-desktop-database %{_datadir}/applications>& /dev/null ||:
61
62%files
63%defattr(-,root,root,-)
64%doc %{SE_Src}docs/*
65%{_bindir}/SmillaEnlarger
66%{_datadir}/applications/*.desktop
67%{_datadir}/pixmaps/*
68
69%changelog
70* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 0.9.0-5
71- rebuild with gcc-5.4.0
72
73* Sun Mar 30 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.0-4
74- rebuilt with new toolchain
75
76* Sun Sep 30 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-3
77- improved spec
78
79* Sat Feb 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-2
80- included document files
81
82* Sun Jul 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-1
83- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.