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

Revision 1487, 1.9 KB checked in by kudoh, 14 years ago (diff)
Line 
1Name:           smillaenlarger
2Version:        0.9.0
3Release:        1%{?_dist_release}
4Summary:        small graphical tool to resize based on Qt
5Summary(ja):    Qt ベースのリサイズのための小さなグラフィカルツール
6
7Group:          Applications/Graphics
8License:        GPLv3
9URL:            http://sourceforge.net/projects/imageenlarger/
10Source0:        SmillaEnlarger_%{version}_source.zip
11Source1:        %{name}.desktop
12Patch0:         apply_environment.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  unzip
17BuildRequires:  qt4-devel
18BuildRequires:  qt4-designer
19
20Requires: qt4%{?_isa} >= %{_qt4_version}
21
22%description
23SmillaEnlarger is a small graphical tool (based on Qt) to resize,
24especially magnify bitmaps in high quality.
25
26%description -l ja
27SmillaEnlarger は、リサイズのための (Qtベースの) 小さなグラフィカルツールです。
28特に、ビットマップを高品質に拡大することができます。
29
30%prep
31%setup -q -c -T
32
33%{_bindir}/unzip -oq %{SOURCE0}
34%patch0 -p1
35rm -rf __MACOSX/
36mv SmillaEnlarger_%{version}_source/SmillaEnlargerSrc/* .
37
38%build
39%{_libdir}/qt4/bin/qmake
40make %{?_smp_mflags}
41
42%install
43%__install -dm 755 %{buildroot}%{_bindir}
44%__install -m 755 SmillaEnlarger %{buildroot}%{_bindir}
45%__install -dm 755 %{buildroot}%{_datadir}/pixmaps/
46%__install -m 644 smilla.png %{buildroot}%{_datadir}/pixmaps/smilla.png
47%__install -dm 755 %{buildroot}%{_datadir}/applications/
48%__install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%post
54update-desktop-database %{_datadir}/applications>& /dev/null ||:
55
56%postun
57update-desktop-database %{_datadir}/applications>& /dev/null ||:
58
59%files
60%defattr(-,root,root,-)
61%{_bindir}/SmillaEnlarger
62%{_datadir}/applications/*.desktop
63%{_datadir}/pixmaps/*
64
65%changelog
66* Sun Jul 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-1
67- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.