source: projects/specs/trunk/g/gnomebaker/gnomebaker-vl.spec @ 8260

Revision 8260, 5.3 KB checked in by kudoh, 10 years ago (diff)

new upstream release and rebuild

Line 
1Name: gnomebaker
2Version: 0.6.4
3Release: 10%{?_dist_release}
4Summary: CD/DVD burning application for Gnome
5Summary(ja): GNOME デスクトップのための CD/DVD 作成アプリケーション
6
7Group: Applications/Multimedia
8License: GPLv3
9URL: http://sourceforge.net/projects/%{name}/
10Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
11Source1: gnomebaker_ja.po
12
13Patch0: 01_fix_get_msinfo.patch
14Patch1: 02_change_homepage_uri.patch
15Patch2: gnomebaker-0.6.4-mimetype.patch
16# from http://sourceforge.net/tracker/?func=detail&aid=2695023&group_id=127397&atid=708501
17Patch3: devices.c.566.patch
18Patch4: gnomebaker-0.6.4-nograce.patch
19Patch5: gnomebaker-0.6.4-seldata.patch
20
21Patch6: gnomebaker-libm.patch
22Patch7: gnomebaker_0.6.4_04_blu_ray.dpatch
23Patch8: gnomebaker-0.6.4-ldadd.patch
24
25BuildRoot: %{_tmppath}/%{name}-%{version}-root
26
27BuildRequires: libgnomeui-devel >= 2.10.0
28BuildRequires: libglade2-devel
29BuildRequires: gstreamer-devel
30BuildRequires: gettext
31BuildRequires: scrollkeeper
32BuildRequires: desktop-file-utils
33BuildRequires: perl-XML-Parser
34BuildRequires: intltool
35BuildRequires: libSM-devel
36
37Requires: dvd+rw-tools
38Requires: cdrtools-cdrecord
39Requires: cdrtools-mkisofs
40Requires: cdrtools-cdda2wav
41Requires: gstreamer-plugins >= 0.10
42Requires: gstreamer-plugins-base >= 0.10
43Requires: gstreamer-plugins-good >= 0.10
44
45Requires(post): scrollkeeper
46Requires(postun): scrollkeeper
47
48
49%description
50GnomeBaker is a CD/DVD burning application for the Gnome desktop.
51
52%description -l ja
53GnomeBaker は GNOME デスクトップのための CD/DVD 作成アプリケーションです。
54
55%prep
56%setup -q
57chmod 644 AUTHORS TODO
58%__cp -f %{SOURCE1} po/ja.po
59
60%patch0 -p1
61%patch1 -p1
62%patch2 -p1 -b .mimetype
63%patch3 -p1
64%patch4 -p1 -b .nograce
65%patch5 -p1 -b .seldata
66%patch6 -p1
67%patch7 -p1
68%patch8 -p1
69
70%build
71%configure
72make %{?_smp_mflags}
73
74
75%install
76rm -rf $RPM_BUILD_ROOT
77make install DESTDIR=$RPM_BUILD_ROOT
78%find_lang %{name}
79
80# Remove duplicate docs.
81rm -rf $RPM_BUILD_ROOT/usr/doc/%{name}/
82
83#menu
84desktop-file-install --vendor vine \
85       --delete-original \
86       --add-category "GTK;" \
87       --add-category "Application;" \
88       --dir $RPM_BUILD_ROOT%{_datadir}/applications \
89       $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post
95%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
96update-desktop-database %{_datadir}/applications
97scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
98
99%postun
100%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
101update-desktop-database %{_datadir}/applications
102scrollkeeper-update -q || :
103
104%files -f %{name}.lang
105%defattr(-,root,root,-)
106%doc AUTHORS COPYING TODO
107%{_bindir}/%{name}
108%{_datadir}/%{name}/
109%{_datadir}/applications/vine-%{name}.desktop
110%{_datadir}/omf/%{name}/
111%{_datadir}/gnome/help/%{name}/
112%{_datadir}/icons/*
113
114%changelog
115* Sat Feb 08 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-10
116- rebuilt with new toolchain
117
118* Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-9
119- updated Source1
120- improved action in desktop-file-install
121
122* Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-8
123- added Pacth6,7,8
124  - Patch6,7 from upstream tracker
125  - Patch8 from Fedora
126- deleted category on desktopfile
127
128* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-7
129- updated Source1
130- added Patch4,5 from Fedora development
131- run gtk-update-icon-cache in %post, %postun
132
133* Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-6
134- fixed using multibyte character in changelog (Thu Sep 24 2009)
135- updated Source1
136- added Patch3 from gnomebaker tracker
137
138* Thu Sep 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-5
139- added Patch0,1,2 (0/1:from Debian, 2:from Fedora)
140
141* Tue Jul 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-4
142- updated Source1
143- cleaned up spec
144- added BuildRequires: libSM-devel
145- added update-desktop-database %{_datadir}/applications in %post, %postun
146
147* Sun Jun 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-3
148- added Source1 to replace orginal ja.po
149
150* Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-2
151- added Summary(ja)
152- changed License to GPLv3
153- changed URL
154- added BuildRequires: perl-XML-Parser, intltool
155- fixed PreReq to Requires
156- added Requires: gstreamer-plugins-base, gstreamer-plugins-good
157- spec in UTF-8
158
159* Fri Apr 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-1
160- initial build for VineSeed
161
162* Tue Mar  7 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-4
163- Rebuild for FC5.
164- Add requires for gstreamer08-plugins.
165
166* Sat Feb 11 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-3
167- Rebuild.
168
169* Mon Feb  6 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-2
170- Bump release.
171
172* Sat Feb  4 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-1
173- Drop aclocal & autoconf calls.
174- Change gstreamer-devel to gstreamer08-devel for FC5.
175- Add dist tag.
176- Correct permissions on AUTHORS & TODO.
177- Drop help & desktop patchs.
178- Update 0.5.1.
179
180* Wed Oct 19 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-3
181- Edit configure.in to use RPM_OPT_FLAGS. (Thanks to Adrian Reber)
182
183* Mon Oct 17 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-2
184- Rebuild config. & make files w/ aclocal & autconf, so builds on FC5.
185
186* Sun Oct 16 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-1
187- Initial Fedora Extras spec file.
188
Note: See TracBrowser for help on using the repository browser.