source: projects/specs/branches/6/g/gnomebaker/gnomebaker-vl.spec @ 5458

Revision 5458, 5.1 KB checked in by kudoh, 12 years ago (diff)
Line 
1Name: gnomebaker
2Version: 0.6.4
3Release: 9%{?_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
67%patch6 -p1
68%patch7 -p1
69%patch8 -p1
70
71%build
72%configure
73make %{?_smp_mflags}
74
75
76%install
77rm -rf $RPM_BUILD_ROOT
78make install DESTDIR=$RPM_BUILD_ROOT
79%find_lang %{name}
80
81# Remove duplicate docs.
82rm -rf $RPM_BUILD_ROOT/usr/doc/%{name}/
83
84#menu
85desktop-file-install --vendor vine --delete-original    \
86  --dir $RPM_BUILD_ROOT%{_datadir}/applications         \
87  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post
93%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
94update-desktop-database %{_datadir}/applications
95scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
96
97%postun
98%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
99update-desktop-database %{_datadir}/applications
100scrollkeeper-update -q || :
101
102%files -f %{name}.lang
103%defattr(-,root,root,-)
104%doc AUTHORS COPYING TODO
105%{_bindir}/%{name}
106%{_datadir}/%{name}/
107%{_datadir}/applications/vine-%{name}.desktop
108%{_datadir}/omf/%{name}/
109%{_datadir}/gnome/help/%{name}/
110%{_datadir}/icons/*
111
112%changelog
113* Mon Jan 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-9
114- rebuilt with rpm-4.8.1
115
116* Tue Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-8
117- added Pacth6,7,8
118  - Patch6,7 from upstream tracker
119  - Patch8 from Fedora
120- deleted category on desktopfile
121
122* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-7
123- updated Source1
124- added Patch4,5 from Fedora development
125- run gtk-update-icon-cache in %post, %postun
126
127* Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-6
128- fixed using multibyte character in changelog (Thu Sep 24 2009)
129- updated Source1
130- added Patch3 from gnomebaker tracker
131
132* Thu Sep 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-5
133- added Patch0,1,2 (0/1:from Debian, 2:from Fedora)
134
135* Tue Jul 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-4
136- updated Source1
137- cleaned up spec
138- added BuildRequires: libSM-devel
139- added update-desktop-database %{_datadir}/applications in %post, %postun
140
141* Sun Jun 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-3
142- added Source1 to replace orginal ja.po
143
144* Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-2
145- added Summary(ja)
146- changed License to GPLv3
147- changed URL
148- added BuildRequires: perl-XML-Parser, intltool
149- fixed PreReq to Requires
150- added Requires: gstreamer-plugins-base, gstreamer-plugins-good
151- spec in UTF-8
152
153* Fri Apr 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-1
154- initial build for VineSeed
155
156* Tue Mar  7 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-4
157- Rebuild for FC5.
158- Add requires for gstreamer08-plugins.
159
160* Sat Feb 11 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-3
161- Rebuild.
162
163* Mon Feb  6 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-2
164- Bump release.
165
166* Sat Feb  4 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-1
167- Drop aclocal & autoconf calls.
168- Change gstreamer-devel to gstreamer08-devel for FC5.
169- Add dist tag.
170- Correct permissions on AUTHORS & TODO.
171- Drop help & desktop patchs.
172- Update 0.5.1.
173
174* Wed Oct 19 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-3
175- Edit configure.in to use RPM_OPT_FLAGS. (Thanks to Adrian Reber)
176
177* Mon Oct 17 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-2
178- Rebuild config. & make files w/ aclocal & autconf, so builds on FC5.
179
180* Sun Oct 16 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-1
181- Initial Fedora Extras spec file.
182
Note: See TracBrowser for help on using the repository browser.