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

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

import VineSeed package specs

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