source: projects/specs/trunk/r/rtmpdump/rtmpdump-vl.spec @ 9032

Revision 9032, 3.8 KB checked in by inagaki, 10 years ago (diff)

2014-10-27 Ryoichi INAGAKI <ryo1@…>

  • herqq, libalkimia: added Group tag
  • kdelibs3: omitted some binary files
  • libmikmod, libsocialweb, rtmpdump: changed Group


RevLine 
[8527]1%define srcver 2.4
2%define gitdate 20140606
3
[3126]4Name:           rtmpdump
[8527]5Version:        %{srcver}.git%{gitdate}
[9032]6Release:        3%{?_dist_release}
[3126]7Summary:        Toolkit for RTMP streams
[9032]8Summary(ja):    RTMP ストリーム用のツール集
[3126]9
10Group:          Applications/Internet
11License:        GPLv2+
12# Note that librtmp is actually LGPLv2, so if you package that separately
13# (for which you'd probably want to make it a dynamic library) you should
14# label its licence correctly. But the _tools_ are GPLv2.
15URL:            http://rtmpdump.mplayerhq.hu/
[8527]16Source0:        rtmpdump-%{srcver}-git%{gitdate}.tar.xz
[3126]17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
[8527]19BuildRequires:  gmp-devel gnutls-devel zlib-devel
[3126]20
21%description
22rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported,
23including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
24
25%package -n librtmp
26Summary:        Support library for RTMP streams
[9032]27Summary(ja):    RTMP ストリーム用のサポートライブラリ
28Group:          System Environment/Libraries
[3126]29License:        LGPLv2+
30
31%description -n librtmp
32librtmp is a suport library for RTMP streams. All forms of RTMP are supported,
33including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
34
35%package -n librtmp-devel
36Summary:        Files for librtmp development
[9032]37Summary(ja):    librtmp の開発用ファイル
38Group:          Development/Libraries
[3126]39License:        LGPLv2+
40Requires:       librtmp = %{version}-%{release}
[8607]41Requires:       gmp-devel
[3126]42
43%description -n librtmp-devel
44librtmp is a suport library for RTMP streams. The librtmp-devel package
45contains include files needed to develop applications using librtmp.
46
47%prep
[8527]48%setup -q -c -n rtmpdump
[3126]49
50%build
51# The fact that we have to add -ldl for gnutls is Fedora bug #611318
[8527]52%__make CRYPTO=GNUTLS SHARED=yes OPT="$RPM_OPT_FLAGS" LIB_GNUTLS="-lgnutls -lgcrypt -ldl" LIBRTMP=librtmp/librtmp.so
[3126]53
54
55%install
56%__rm -rf $RPM_BUILD_ROOT
57%__make CRYPTO=GNUTLS SHARED=yes DESTDIR=$RPM_BUILD_ROOT prefix=/usr mandir=%{_mandir} libdir=%{_libdir} install
58
59%__rm -f $RPM_BUILD_ROOT/%{_libdir}/librtmp.a
60
61
62%clean
63%__rm -rf $RPM_BUILD_ROOT
64
65%post -n librtmp -p /sbin/ldconfig
66
67%postun -n librtmp -p /sbin/ldconfig
68
69%files
70%defattr(-,root,root,-)
71%{_bindir}/rtmpdump
72%{_sbindir}/rtmpsrv
73%{_sbindir}/rtmpgw
74%{_sbindir}/rtmpsuck
75%{_mandir}/man1/rtmpdump.1*
76%{_mandir}/man8/rtmpgw.8*
77%doc COPYING README
78
79%files -n librtmp
80%defattr(-,root,root,-)
[8527]81%{_libdir}/librtmp.so.*
[3126]82%doc librtmp/COPYING
83
84%files -n librtmp-devel
85%defattr(-,root,root,-)
86%{_includedir}/librtmp
87%{_libdir}/librtmp.so
88%{_libdir}/pkgconfig/librtmp.pc
89%{_mandir}/man3/librtmp.3*
90%doc ChangeLog
91
92
93%changelog
[9032]94* Mon Oct 27 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.4.git20140606-3
95- added Japanese summary
96- moved librtmp to System Environment/Libraries Group
97- moved librtmp-devel to Development/Libraries Group
98
[8607]99* Tue Jun 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.git20140606-2
100- add Requires: gmp-devel to librtmp-devel
101
[8527]102* Thu Jun 5 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.git20140606-1
103- updated sources to git master.
104
[3126]105* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.3-1
106- initial build for VineSeed based on RPM Fusion development
107
108* Sun Jul 04 2010 Dominik Mierzejewski <rpm@greysector.net> 2.3-2
109- call ldconfig in post(un) scripts for the shared library
110- add strict dependency on the library to -devel
111
112* Sun Jul 04 2010 David Woodhouse <dwmw2@infradead.org> 2.3-1
113- Update to 2.3; build shared library
114
115* Mon Jun 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.2e-1
116- new upstream release
117
118* Mon Jun 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.2d-1
119- built based on RPM Fusion
120
121* Fri Apr 30 2010 David Woodhouse <dwmw2@infradead.org> 2.2d-1
122- Update to 2.2d
123
124* Tue Apr 20 2010 David Woodhouse <dwmw2@infradead.org> 2.2c-2
125- Link with libgcrypt explicitly since we call it directly
126
127* Mon Apr 19 2010 David Woodhouse <dwmw2@infradead.org> 2.2c-1
128- Initial package
Note: See TracBrowser for help on using the repository browser.