Mercurial > pidgin
comparison gaim.spec.in @ 9429:a3e3c71d995a
[gaim-migrate @ 10249]
Split out Tcl into its own RPM
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 29 Jun 2004 23:34:30 +0000 |
parents | ecd93503a5c9 |
children | 2157c9af1330 |
comparison
equal
deleted
inserted
replaced
9428:796f510a6e19 | 9429:a3e3c71d995a |
---|---|
10 Source: %{name}-%{version}.tar.gz | 10 Source: %{name}-%{version}.tar.gz |
11 BuildRoot: %{_tmppath}/%{name}-%{version}-root | 11 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
12 | 12 |
13 %if "%{_vendor}" == "MandrakeSoft" | 13 %if "%{_vendor}" == "MandrakeSoft" |
14 Requires: gtk+2.0 >= 2.0.0, libnss3 | 14 Requires: gtk+2.0 >= 2.0.0, libnss3 |
15 BuildRequires: libao-devel, libgtk+2.0_0-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, libnss3-devel, perl-devel | 15 BuildRequires: libao-devel, libgtk+2.0_0-devel, libtool, audiofile-devel, pkgconfig, libnss3-devel, perl-devel |
16 Provides: libgaim-remote0 | 16 Provides: libgaim-remote0 |
17 %else | 17 %else |
18 Requires: gtk2 >= 2.0.0, mozilla-nss, gtkspell, audiofile, libao | 18 Requires: gtk2 >= 2.0.0, mozilla-nss, audiofile, libao |
19 BuildRequires: libao-devel, gtk2-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, mozilla-nss-devel | 19 BuildRequires: libao-devel, gtk2-devel, libtool, audiofile-devel, pkgconfig, mozilla-nss-devel |
20 %endif | 20 %endif |
21 %{?_with_silc:BuildRequires: libsilc-devel} | 21 %{?_with_silc:BuildRequires: libsilc-devel} |
22 %{?_with_tcl:BuildRequires: tcl, tk} | |
22 | 23 |
23 %if %{?_with_silc:1}%{!?_with_silc:0} | 24 %if %{?_with_silc:1}%{!?_with_silc:0} |
24 %package silc | 25 %package silc |
25 Summary: SILC (Secure Internet Live Conferencing) plugin for Gaim | 26 Summary: SILC (Secure Internet Live Conferencing) plugin for Gaim |
26 Group: Applications/Internet | 27 Group: Applications/Internet |
27 Requires: gaim = 1:%{version} | 28 Requires: gaim = %{epoch}:%{version} |
29 %endif | |
30 | |
31 %if %{?_with_tcl:1}%{!?_with_tcl:0} | |
32 %package tcl | |
33 Summary: Tcl scripting support for Gaim | |
34 Group: Applications/Internet | |
35 Requires: gaim = %{epoch}:%{version} | |
28 %endif | 36 %endif |
29 | 37 |
30 %package devel | 38 %package devel |
31 Summary: Development headers, documentation, and libraries for Gaim. | 39 Summary: Development headers, documentation, and libraries for Gaim. |
32 Group: Applications/Internet | 40 Group: Applications/Internet |
48 %if %{?_with_silc:1}%{!?_with_silc:0} | 56 %if %{?_with_silc:1}%{!?_with_silc:0} |
49 %description silc | 57 %description silc |
50 SILC (Secure Internet Live Conferencing) plugin for Gaim | 58 SILC (Secure Internet Live Conferencing) plugin for Gaim |
51 %endif | 59 %endif |
52 | 60 |
61 %if %{?_with_tcl:1}%{!?_with_tcl:0} | |
62 %description tcl | |
63 Tcl plugin loader for Gaim. This package will allow you to write or | |
64 use Gaim plugins written in the Tcl programming language. | |
65 %endif | |
66 | |
53 %description devel | 67 %description devel |
54 The gaim-devel package contains the header files, developer | 68 The gaim-devel package contains the header files, developer |
55 documentation, and libraries required for development of gaim scripts | 69 documentation, and libraries required for development of gaim scripts |
56 and plugins. | 70 and plugins. |
57 | 71 |
66 --libdir=%{_libdir} \ | 80 --libdir=%{_libdir} \ |
67 --mandir=%{_mandir} \ | 81 --mandir=%{_mandir} \ |
68 --sysconfdir=%{_sysconfdir} \ | 82 --sysconfdir=%{_sysconfdir} \ |
69 --with-perl-lib=%{buildroot}%{_prefix} \ | 83 --with-perl-lib=%{buildroot}%{_prefix} \ |
70 %{?_with_silc:--with-silc-includes=%{_includedir}/silc} \ | 84 %{?_with_silc:--with-silc-includes=%{_includedir}/silc} \ |
71 %{?_with_silc:--with-silc-libs=%{_libdir}/silc} | 85 %{?_with_silc:--with-silc-libs=%{_libdir}/silc} \ |
86 %{!?_with_tcl:--disable-tcl} | |
72 | 87 |
73 make %{?_smp_mflags} | 88 make %{?_smp_mflags} |
74 | 89 |
75 %install | 90 %install |
76 rm -rf %{buildroot} | 91 rm -rf %{buildroot} |
82 | 97 |
83 rm -f $RPM_BUILD_ROOT%{_libdir}/perl5/*/*/perllocal.pod | 98 rm -f $RPM_BUILD_ROOT%{_libdir}/perl5/*/*/perllocal.pod |
84 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la | 99 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la |
85 find $RPM_BUILD_ROOT%{_libdir}/gaim -type f -print | \ | 100 find $RPM_BUILD_ROOT%{_libdir}/gaim -type f -print | \ |
86 sed "s@^$RPM_BUILD_ROOT@@g" | \ | 101 sed "s@^$RPM_BUILD_ROOT@@g" | \ |
87 grep -v libsilcgaim.so > %{name}-%{version}-coreplugins | 102 grep -v libsilcgaim.so | |
103 grep -v tcl.so | | |
104 grep -v ".tcl$" > %{name}-%{version}-coreplugins | |
88 | 105 |
89 %clean | 106 %clean |
90 rm -rf %{buildroot} | 107 rm -rf %{buildroot} |
91 | 108 |
92 %files -f %{name}-%{version}-coreplugins | 109 %files -f %{name}-%{version}-coreplugins |
113 %defattr(-, root, root) | 130 %defattr(-, root, root) |
114 | 131 |
115 %{_libdir}/gaim/libsilcgaim.* | 132 %{_libdir}/gaim/libsilcgaim.* |
116 %endif | 133 %endif |
117 | 134 |
135 %if %{?_with_tcl:1}%{!?_with_silc:0} | |
136 %files tcl | |
137 %defattr(-, root, root) | |
138 | |
139 %{_libdir}/gaim/tcl.so | |
140 %endif | |
141 | |
118 %files devel | 142 %files devel |
119 %defattr(-, root, root) | 143 %defattr(-, root, root) |
120 | 144 |
121 %doc plugins/HOWTO | 145 %doc plugins/HOWTO |
122 %doc HACKING PROGRAMMING_NOTES | 146 %doc HACKING PROGRAMMING_NOTES |
126 %dir %{_includedir}/gaim | 150 %dir %{_includedir}/gaim |
127 %{_includedir}/gaim/*.h | 151 %{_includedir}/gaim/*.h |
128 %{_libdir}/pkgconfig/gaim.pc | 152 %{_libdir}/pkgconfig/gaim.pc |
129 | 153 |
130 %changelog | 154 %changelog |
155 * Tue Jun 29 2004 Ethan Blanton <eblanton@cs.ohiou.edu> | |
156 - Change Tcl to use --with tcl, the same as SILC, and build a gaim-tcl | |
157 package if specified. | |
158 | |
131 * Thu Jun 24 2004 Mark Doliner <thekingant@users.sourceforge.net> | 159 * Thu Jun 24 2004 Mark Doliner <thekingant@users.sourceforge.net> |
132 - Add --with silc rebuild option for compiling a separate gaim-silc | 160 - Add --with silc rebuild option for compiling a separate gaim-silc |
133 RPM containing the silc protocol plugin (Stu Tomlinson). | 161 RPM containing the silc protocol plugin (Stu Tomlinson). |
134 | 162 |
135 * Wed Jun 23 2004 Ethan Blanton <eblanton@cs.ohiou.edu> | 163 * Wed Jun 23 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |