source: projects/specs/trunk/i/isomaster/isomaster-vl.spec @ 521

Revision 521, 2.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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