source: projects/specs/trunk/p/ptlib/ptlib-vl.spec @ 9287

Revision 9287, 5.5 KB checked in by inagaki, 9 years ago (diff)

2015-01-22 Ryoichi INAGAKI <ryo1@…>

  • libesmtp, spice, spice-protcol, telepathy-salut: updated
  • ptlib: rebuilt


Line 
1Summary:        Portable Tools Library
2Name:           ptlib
3Version:        2.10.10
4Release:        3%{?_dist_release}
5
6License:        MPLv1.0
7Group:          System Environment/Libraries
8URL:            http://www.opalvoip.org/
9
10Source0:        ftp://ftp.gnome.org/pub/gnome/sources/ptlib/2.10/%{name}-%{version}.tar.xz
11Patch0:         libpt2-fix-avc-plugin.patch
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildRequires:  openssl-devel
15BuildRequires:  alsa-lib-devel
16BuildRequires:  openldap-devel
17BuildRequires:  expat-devel
18BuildRequires:  SDL-devel
19BuildRequires:  pulseaudio-libs-devel
20BuildRequires:  flex
21BuildRequires:  bison
22BuildRequires:  libraw1394-devel
23BuildRequires:  libdv-devel
24BuildRequires:  libavc1394-devel
25BuildRequires:  lua-devel
26BuildRequires:  unixODBC-devel
27Obsoletes:      pwlib, pwlib-alsa, pwlib-avc, pwlib-dc, pwlib-oss, pwlib-v4l
28
29Vendor: Project Vine
30Distribution: Vine Linux
31
32%description
33PTLib (Portable Tools Library) is a moderately large class library that
34has it's genesis many years ago as PWLib (portable Windows Library), a
35method to product applications to run on both Microsoft Windows and Unix
36systems. It has also been ported to other systems such as Mac OSX, VxWorks
37and other embedded systems.
38
39It is supplied mainly to support the OPAL project, but that shouldn't stop
40you from using it in whatever project you have in mind if you so desire.
41
42%package devel
43Summary:        Development package for ptlib
44Group:          Development/Libraries
45Requires:       ptlib = %{version}-%{release}
46Requires:       pkgconfig
47Requires:       cyrus-sasl-devel
48Requires:       openldap-devel
49Requires:       openssl-devel
50Requires:       expat-devel
51Requires:       lua-devel
52Requires:       SDL-devel
53Requires:       unixODBC-devel
54Obsoletes:      pwlib-devel
55
56%description devel
57The ptlib-devel package includes the libraries and header files for ptlib.
58
59%prep
60%setup -q
61%patch0 -p1 -b .1394
62
63%build
64export CFLAGS="$CFLAGS -DLDAP_DEPRECATED"
65%configure --prefix=%{_prefix} \
66           --disable-static \
67           --enable-plugins \
68           --disable-oss \
69           --enable-v4l2 \
70           --enable-avc \
71           --enable-pulse
72make %{?_smp_mflags}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} install
78
79perl -pi -e 's@PTLIBDIR.*=.*@PTLIBDIR = /usr/share/ptlib@' $RPM_BUILD_ROOT%{_datadir}/ptlib/make/ptbuildopts.mak
80
81# hack to fixup things for bug 197318
82find $RPM_BUILD_ROOT%{_libdir} -name '*.so*' -type f -exec chmod +x {} \;
83
84#
85rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
92
93%files
94%defattr(-,root,root)
95%doc History.txt ReadMe.txt mpl-1.0.htm
96%attr(755,root,root) %{_libdir}/libpt*.so.*
97%dir %{_libdir}/ptlib-%{version}
98%dir %{_libdir}/ptlib-%{version}/devices
99%dir %{_libdir}/ptlib-%{version}/devices/sound
100%dir %{_libdir}/ptlib-%{version}/devices/videoinput
101# List these explicitly so we don't get any surprises
102%attr(755,root,root) %{_libdir}/ptlib-%{version}/devices/sound/alsa_pwplugin.so
103%attr(755,root,root) %{_libdir}/ptlib-%{version}/devices/sound/pulse_pwplugin.so
104%attr(755,root,root) %{_libdir}/ptlib-%{version}/devices/videoinput/v4l2_pwplugin.so
105%attr(755,root,root) %{_libdir}/ptlib-%{version}/devices/videoinput/avc_pwplugin.so
106
107%files devel
108%defattr(-,root,root)
109%{_libdir}/libpt*.so
110%{_includedir}/*
111%{_datadir}/ptlib
112%{_libdir}/pkgconfig/ptlib.pc
113%attr(755,root,root) %{_bindir}/*
114
115%changelog
116* Thu Jan 22 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.10.10-3
117- rebuilt with cyrus-sasl 2.1.26
118- added BR: lua-devel and unixODBC-devel
119
120* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.10-2
121- rebuild with VineSeed environment
122
123* Sun Mar 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.10-1
124- new upstream release
125
126* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.9-1
127- new upstream release
128- add BuildRequires: pulseaudio-libs-devel
129
130* Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.7-2
131- rebuild with libraw1394-2.1.0
132- add Patch0 (libpt2-fix-avc-plugin.patch) from suse
133
134* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.7-1
135- new upstream release
136
137* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.2-1
138- new upstream release
139
140* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.1-1
141- new upstream release
142
143* Mon Jan 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.7-2
144- rebuild with openssl-1.0.0c
145
146* Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.7-1
147- new upstream release
148- add Requires: cyrus-sasl-devel, openldap-devel, openssl-devel, expat-devel, SDL-devel (devel package)
149
150* Sun Mar 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.6-1
151- new upstream release
152- add BuildRequires: expat-devel
153- remove configure option (--enable-opal)
154
155* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.5-1
156- new upstream release
157- add BuildRequires: libavc1394-devel
158- add configure option (--enable-avc)
159
160* Wed Jun 24 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.2-3
161- rebuilt on ppc w/o libdc1394-devel
162
163* Sun Jun 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-2
164- remove dc_pwplugin
165- remove BR: libdc1394-devel
166
167* Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-1
168- new upstream release
169
170* Sat Apr  4 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.4-1
171- new upstream release
172
173* Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-1
174- new upstream release
175
176* Mon Sep 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp>  2.4.1-1
177- initial build for Vine Linux
178- Obsoletes: pwlib, pwlib-{alsa,v4l,dc,avc}
179
180* Wed Sep 10 2008 Peter Robinson <pbrobinson@gmail.com> - 2.3.1-2
181- Build fixes from package review
182
183* Sun Jun 8 2008 Peter Robinson <pbrobinson@gmail.com> - 2.3.1-1
184- Initial version of ptlib
Note: See TracBrowser for help on using the repository browser.