source: projects/specs/branches/6/i/isomaster/isomaster-vl.spec @ 4168

Revision 4168, 2.5 KB checked in by kazutaka, 13 years ago (diff)

Vine Linux 6 向けに更新

Line 
1Summary:        An easy to use graphical CD image editor
2Summary(ja):    使いやすい GUI の CD イメージエディタ
3Name:           isomaster
4Version:        1.3.8
5Release:        1%{?_dist_release}
6Source0:        %{name}-%{version}.tar.bz2
7#Source1:       isomaster-ja.po
8#Source2:       isomaster-ja.mo
9Source3:        isomaster.desktop.vine
10Patch1:         isomaster-1.3.5-optflags.patch
11License:        GPL
12Group:          Applications/Accessories
13URL:            http://littlesvr.ca/isomaster/
14
15BuildRequires:  gtk2-devel, gettext
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18Vendor: Project Vine
19Distribution:   Vine Linux
20
21Packager:       kazutaka
22
23%description
24ISO Master is an open-source, easy to use, graphical CD image
25editor for Linux and BSD. Basically you can use this program
26to extract files from an ISO, add files to an ISO, and create
27bootable ISOs - all in a graphical user interface. It can
28open ISO, NRG, and some MDF files but can only save as ISO.
29
30%description -l ja
31ISO Masgete は Linux と BSD 向けのオープンソースで使いやすい
32グラフィカルな CD イメージエディタです。
33
34
35%prep
36%setup -q
37%patch1 -p1 -b .optflags
38
39%build
40make PREFIX=%{_prefix} OPTFLAGS="%{optflags}"
41
42
43%install
44%{__rm} -rf ${RPM_BUILD_ROOT}
45make install DESTDIR=${RPM_BUILD_ROOT} \
46             PREFIX=%{_prefix}
47
48# install ja.po
49#%{__mkdir} -p ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES
50#msgfmt %{SOURCE1} -o ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES/isomaster.mo
51
52# install .desktop
53%{__cp} -f %{SOURCE3} ${RPM_BUILD_ROOT}/%{_datadir}/applications/isomaster.desktop
54
55# change install path of bkisofs manual pages
56%{__mv} $RPM_BUILD_ROOT/%{_docdir}/bkisofs .
57
58%find_lang %{name}
59
60
61%clean
62%{__rm} -rf ${RPM_BUILD_ROOT}
63
64
65%files -f %{name}.lang
66%defattr(-,root,root)
67%doc CHANGELOG.TXT CREDITS.TXT LICENCE.TXT README.TXT TODO.TXT bkisofs/
68%{_bindir}/isomaster
69%{_datadir}/isomaster
70%{_datadir}/applications/isomaster.desktop
71%{_mandir}/man1/isomaster.1*
72
73%changelog
74* Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.3.8-1
75- new upstream release
76- add Vendor & Distribution tag
77- drop Source1 (japanese translation)
78
79* Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.3.5-1
80- new upstream release
81- update Patch1 (isomaster-1.3.5-optflags.patch)
82- update Source1 (japanese message catalog)
83- update Source3 (isomaster.desktop.vine)
84- update japanese description
85- drop Source2 and compile message catalog at %%install section
86
87* Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-1vl5
88- applied new versioning policy, spec in utf-8
89
90* Mon Jul 16 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0-0vl1
91- initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.