author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19883 | e55bf06836ae |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package nautilus-cd-burner |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
412 | 8 |
Name: nautilus-cd-burner |
9 |
License: LGPL |
|
10 |
Group: System/Libraries/GNOME |
|
19337
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
11 |
Version: 2.10.1 |
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
12 |
Release: 1 |
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
412 | 15 |
Summary: nautilus-cd-burner is an extension to Nautilus that makes it easy to write files to a CD burner. |
19883 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/nautilus-cd-burner/2.10/nautilus-cd-burner-%{version}.tar.bz2 |
19719 | 17 |
Source1: nautilus-cd-burner.1.gz |
19337
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
18 |
Patch1: nautilus-cd-burner-01-remove-Wall.diff |
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
19 |
Patch2: nautilus-cd-burner-02-mkdtemp-sun-fix.diff |
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
20 |
Patch3: nautilus-cd-burner-03-menuitem.diff |
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
21 |
Patch4: nautilus-cd-burner-04-data-size.diff |
412 | 22 |
URL: http://www.gnome.org |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
24 |
Docdir: %{_defaultdocdir}/doc |
|
25 |
Autoreqprov: on |
|
1080 | 26 |
Prereq: /sbin/ldconfig |
412 | 27 |
|
3628 | 28 |
%define nautilus_version 2.6.1 |
29 |
%define libglade_version 2.3.6 |
|
30 |
%define gnome_vfs_version 2.6.0 |
|
31 |
%define cdrecord_version 2.01 |
|
32 |
%define mkisofs_version 2.01 |
|
412 | 33 |
|
34 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
35 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
36 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
37 |
Requires: nautilus >= %{nautilus_version} |
|
38 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
39 |
Requires: libglade >= %{libglade_version} |
|
40 |
Requires: cdrecord >= %{cdrecord_version} |
|
1165 | 41 |
Requires: mkisofs >= %{mkisofs_version} |
412 | 42 |
|
43 |
%description |
|
44 |
This packages adds basic, easy to use CD writing features to nautilus. |
|
45 |
The user drags any files or folders to be written to the CD into the |
|
46 |
burn:/// URI view in a nautilus window and clicks on the write to cd |
|
47 |
button to write them to the CD. |
|
48 |
||
49 |
%prep |
|
50 |
%setup -q |
|
1755 | 51 |
%patch1 -p1 |
2481 | 52 |
%patch2 -p1 |
53 |
%patch3 -p1 |
|
5222 | 54 |
%patch4 -p1 |
412 | 55 |
|
4455 | 56 |
|
412 | 57 |
%build |
3263 | 58 |
%ifos linux |
59 |
if [ -x /usr/bin/getconf ]; then |
|
60 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
61 |
fi |
|
62 |
%else |
|
3846 | 63 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 64 |
%endif |
65 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
66 |
CPUS=1 |
|
67 |
fi |
|
68 |
||
4454 | 69 |
libtoolize --force |
19243 | 70 |
aclocal $ACLOCAL_FLAGS -I . |
4454 | 71 |
autoheader |
72 |
automake -a -c -f |
|
73 |
autoconf |
|
74 |
||
412 | 75 |
CFLAGS="$RPM_OPT_FLAGS" \ |
76 |
./configure --prefix=%{_prefix} \ |
|
2481 | 77 |
--sysconfdir=%{_sysconfdir} \ |
78 |
--libexecdir=%{_libexecdir} |
|
3263 | 79 |
make -j $CPUS |
412 | 80 |
|
81 |
%install |
|
82 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
4357 | 83 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
19719 | 84 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
3628 | 85 |
#Clean up unpackaged files |
86 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.la |
|
87 |
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la |
|
412 | 88 |
|
89 |
%clean |
|
90 |
rm -rf $RPM_BUILD_ROOT |
|
91 |
||
92 |
%post |
|
93 |
/sbin/ldconfig |
|
1755 | 94 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
95 |
SCHEMAS="ncb.schemas" |
|
96 |
for S in $SCHEMAS; do |
|
97 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
98 |
done |
|
412 | 99 |
|
100 |
%postun |
|
101 |
/sbin/ldconfig |
|
102 |
||
103 |
%files |
|
104 |
%defattr(-, root, root) |
|
105 |
%{_datadir}/locale/*/LC_MESSAGES/* |
|
106 |
%{_datadir}/nautilus-cd-burner |
|
107 |
%{_bindir}/nautilus-cd-burner |
|
2172 | 108 |
%{_libexecdir}/* |
412 | 109 |
%{_libdir}/gnome-vfs-*/modules/*.so |
2172 | 110 |
%{_libdir}/nautilus/extensions-1.0/*.so* |
111 |
%{_sysconfdir}/* |
|
4357 | 112 |
%{_mandir}/man1/* |
19407 | 113 |
%{_includedir}/libnautilus-burn |
114 |
%{_libdir}/libnautilus-burn.* |
|
115 |
%{_libdir}/pkgconfig/libnautilus-burn.pc |
|
412 | 116 |
|
117 |
%changelog |
|
19355 | 118 |
* Tue May 24 2005 - [email protected] |
119 |
- Fix building. |
|
120 |
||
19337
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
121 |
* Fri May 20 2005 - [email protected] |
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
122 |
- Bump to 2.10.1 |
69d5d110da20
2005-05-20 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19243
diff
changeset
|
123 |
|
5301 | 124 |
* Tue Apr 05 2005 - [email protected] |
125 |
- Added nautilus-cd-burner-07-data-size.diff, throws error |
|
126 |
dialog if the data size exceeds CD capacity. |
|
127 |
||
5273 | 128 |
* Thu Mar 24 2005 - [email protected] |
5274 | 129 |
- Added nautilus-cd-burner-06-no-files-selected.diff, which throws |
130 |
error dialog if no files selected to burn. |
|
131 |
||
132 |
* Thu Mar 24 2005 - [email protected] |
|
5273 | 133 |
- Re-commiting nautilus-cd-burner-05-menuitem.diff patch |
134 |
which takes care of multiple devices attached to M/c. |
|
135 |
||
5225 | 136 |
* Fri Mar 11 2005 - [email protected] |
137 |
- Added nautilus-cd-burner-05-menuitem.diff, allows |
|
138 |
Write to CD... menu item to apprear depending upon |
|
139 |
the availablity of CD Writers. |
|
140 |
||
5222 | 141 |
* Fri Mar 11 2005 - [email protected] |
142 |
- Added nautilus-cd-burner-04-help.diff patch so |
|
143 |
that help comes up for CD creator. Fixes #6238724. |
|
144 |
||
4454 | 145 |
* Fri Nov 05 2004 - [email protected] |
146 |
- Updated the patch nautilus-cd-burner-03-mkdtemp-sun-fix.diff |
|
147 |
so that cd creator functions in solaris. Fixes bug #5094522. |
|
148 |
||
4357 | 149 |
* Thu Oct 28 2004 - [email protected] |
150 |
- Add nautilus-cd-burner.1 man page |
|
151 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
152 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
153 |
- Updated l10n content to nautilus-cd-burner-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
154 |
|
3628 | 155 |
* Wed Jul 07 2004 - [email protected] |
156 |
- ported to rpm4 |
|
157 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
158 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
159 |
- Updated l10n content to nautilus-cd-burner-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
160 |
|
2481 | 161 |
* Fri Apr 16 2004 - [email protected] |
162 |
- Add --libexecdir to configure line to support building on |
|
163 |
Solaris. |
|
164 |
||
2350 | 165 |
* Mon Mar 29 2004 - [email protected] |
166 |
- Updated l10n content to nautilus-cd-burner-l10n-po-1.0.tar.bz2 |
|
167 |
||
2315 | 168 |
* Wed Mar 24 2004 - [email protected] |
169 |
- Bump to 2.6.0. |
|
170 |
||
2172 | 171 |
* Wed Mar 10 2004 - [email protected] |
172 |
- Bump to 0.6.6, fix files map. |
|
173 |
||
1755 | 174 |
* Wed Feb 18 2004 - [email protected] |
175 |
- Bump to 0.6.5, update files section |
|
176 |
||
1256 | 177 |
* Tue Oct 14 2003 - [email protected] |
178 |
- updating to 0.5 to correspond with gnome-2.4 desktop |
|
179 |
||
1165 | 180 |
* Tue Sep 23 2003 - [email protected] |
181 |
- adding runtime dependency on mkisofs, can't do |
|
182 |
much useful without it :-) |
|
183 |
||
412 | 184 |
* Thu Jul 03 2003 - [email protected] |
185 |
- initial Sun release. |