Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mozplugger/SPECS/mozplugger.spec
blob: 0b54eacc984078c822ca238f54b391da584ddc79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
Summary: A generic mozilla plug-in
Name: mozplugger
Version: 1.14.2
Release: 1%{?dist}
License: GPLv2+
Group: Applications/Internet
Url: http://mozplugger.mozdev.org/
Source0: http://mozplugger.mozdev.org/files/%{name}-%{version}.tar.gz

# fix #513470, using a wrong path for executable
Patch1: mozplugger-1.13.3-path.patch
Patch2: sugar-pdf-plugin.patch

Requires: m4
Requires: sox
Requires: mozilla-filesystem

BuildRequires: libX11-devel
BuildRequires: libXt-devel
BuildRequires: coreutils

BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

%description
MozPlugger is a generic Mozilla plug-in that allows the use of standard Linux
programs as plug-ins for media types on the Internet.
Test modified version

%prep
%setup -q
%patch1 -p1 -b .path
%patch2 -p1

%build
make linux

%install
rm -rf %{buildroot}
make install libprefix=/%{_lib} root=%{buildroot}

# convert to UTF8
file=%{buildroot}%{_mandir}/man7/mozplugger.7
iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
mv "${file}_" "$file"
iconv -f iso-8859-1 -t utf-8 < README > README_
mv README_ README

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README COPYING
%config(noreplace) /etc/mozpluggerrc
%{_bindir}/*
%{_prefix}/mozilla/plugins/mozplugger.so
%{_mandir}/man7/mozplugger.7*

%changelog
* Wed Sep 29 2010 Than Ngo <than@redhat.com> - 1.14.2-1
- 1.14.2

* Mon Aug 09 2010 Than Ngo <than@redhat.com> - 1.14.1-1
- 1.14.1

* Tue Apr 20 2010 Than Ngo <than@redhat.com> - 1.13.3-1
- 1.13.3, fix crash in mozplugger bz#553935

* Fri Aug 21 2009 Than Ngo <than@redhat.com> - 1.12.1-7
- drop Obsoletes on plugger
- add comments for the patches
- add noreplace
- convert README to utf8

* Fri Aug 21 2009 Than Ngo <than@redhat.com> - 1.12.1-6
- fix #226159, merge review

* Thu Aug 20 2009 Than Ngo <than@redhat.com> - 1.12.1-5
- fix #513470, using a wrong path for executable

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Fri Jul 03 2009 Than Ngo <than@redhat.com> - 1.12.1-3
- fix #469257, selinux policy and mozplugger do not get along 

* Thu Jul  2 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.12.1-2
- Add dependency on m4 (#453306).

* Thu May 14 2009 Than Ngo <than@redhat.com> - 1.12.1-1
- 1.12.1

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.10.1-3
- fix license tag

* Thu Apr 10 2008 Karsten Hopp <karsten@redhat.com> 1.10.1-2
- use RPM_OPT_FLAGS (#249976, Ville Skyttä)

* Wed Feb 06 2008 Than Ngo <than@redhat.com> 1.10.1-1
- 1.10.1

* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.7.3-3.1
- rebuild

* Tue May 16 2006 Than Ngo <than@redhat.com> 1.7.3-3 
- fix #191969, Missing BuildRequire on libXt-devel
- adjust mozpluggerc for FC
 
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.7.3-2.2.1
- bump again for double-long bug on ppc(64)

* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.7.3-2.2
- rebuilt for new gcc4.1 snapshot and glibc changes

* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

* Tue Nov 08 2005 Than Ngo <than@redhat.com> 1.7.3-2 
- get rid of xorg-x11-devel, fix for modular X

* Fri Oct 14 2005 Florian La Roche <laroche@redhat.com>
- update to 1.7.3

* Mon Apr  4 2005 Elliot Lee <sopwith@redhat.com> - 1.7.1-4
- Remove mikmod dep

* Sat Mar 05 2005 Than Ngo <than@redhat.com> 1.7.1-3
- rebuild

* Thu Feb 03 2005 Than Ngo <than@redhat.com> 1.7.1-2
- drop xloadimage dependency

* Thu Jan 20 2005 Than Ngo <than@redhat.com> 1.7.1-1
- update to 1.7.1
- remove mozplugger-1.6-2-ia64.patch, it's included in new upstream

* Mon Dec 06 2004 Than Ngo <than@redhat.com> 1.6.2-4
- add fix for ia64
- enable s390 s390x build

* Wed Nov 24 2004 Miloslav Trmac <mitr@redhat.com> - 1.6.2-3
- Convert man page to UTF-8

* Fri Oct 29 2004 Than Ngo <than@redhat.com> 1.6.2-2
- add missing Buildprereq on XFree86-devel #137564

* Tue Sep 28 2004 Than Ngo <than@redhat.com> 1.6.2-1
- update to 1.6.2
- get rid of requires mozilla

* Tue Aug 31 2004 Than Ngo <than@redhat.com> 1.6.1-1
- update to 1.6.1

* Sun Jul 25 2004 Than Ngo <than@redhat.com> 1.6.0-1
- update to 1.6.0
- fix broken deps 

* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Wed Apr 07 2004 Than Ngo <than@redhat.com> 1.5.2-1
- update to 1.5.2, fix #117424
- remove mozplugger-1.5.0.patch that included in upstream

* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Wed Feb 18 2004 Than Ngo <than@redhat.com> 1.5.0-3 
- drop mozplugger-1.1.3-redhat.patch, it's included in new upstream
- add patch file to fix swallow issue, thanks to Louis Bavoil

* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Fri Jan 16 2004 Than Ngo <than@redhat.com> 1.5.0-1
- 1.5.0

* Fri Sep 26 2003 Harald Hoyer <harald@redhat.de> 1.3.2-1
- 1.3.2

* Thu Sep 04 2003 Than Ngo <than@redhat.com> 1.3.1-1
- 1.3.1

* Wed May  7 2003 Than Ngo <than@redhat.com> 1.1.3-1
- initial build