121 lines
3.2 KiB
RPMSpec
121 lines
3.2 KiB
RPMSpec
|
Name: freetuxtv
|
||
|
Version: 0.6.5
|
||
|
Release: 2mamba
|
||
|
Summary: A WebTV and WebRadio player
|
||
|
Group: Graphical Desktop/Applications/Multimedia
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://code.google.com/p/freetuxtv/
|
||
|
Source: http://freetuxtv.googlecode.com/files/freetuxtv-%{version}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libatk-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libcurl-devel
|
||
|
BuildRequires: libdbus-devel
|
||
|
BuildRequires: libdbus-glib-devel
|
||
|
BuildRequires: libgdk-pixbuf-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgtk-devel
|
||
|
BuildRequires: libnotify-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libsqlite-devel
|
||
|
BuildRequires: vlc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
A WebTV and WebRadio player.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure --enable-shared
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%find_lang %{name}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post
|
||
|
/sbin/ldconfig
|
||
|
if [ $1 -gt 0 ] ; then
|
||
|
touch --no-create %{_datadir}/hicolor &>/dev/null
|
||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
|
||
|
fi
|
||
|
exit 0
|
||
|
|
||
|
%postun
|
||
|
/sbin/ldconfig
|
||
|
if [ $1 -eq 0 ] ; then
|
||
|
touch --no-create %{_datadir}/hicolor &>/dev/null
|
||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
|
||
|
fi
|
||
|
exit 0
|
||
|
|
||
|
%files -f %{name}.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/freetuxtv
|
||
|
%{_libdir}/libdbevolution.so.*
|
||
|
%{_libdir}/libvlc-gtk.so.*
|
||
|
%dir %{_datadir}/freetuxtv
|
||
|
%dir %{_datadir}/freetuxtv/images
|
||
|
%dir %{_datadir}/freetuxtv/images/channels
|
||
|
%{_datadir}/freetuxtv/images/channels/*
|
||
|
%{_datadir}/freetuxtv/channels_groups.xml
|
||
|
%dir %{_datadir}/freetuxtv/doc
|
||
|
%{_datadir}/freetuxtv/doc/AUTHORS
|
||
|
%{_datadir}/freetuxtv/doc/COPYING
|
||
|
%{_datadir}/freetuxtv/doc/ChangeLog
|
||
|
%{_datadir}/freetuxtv/doc/INSTALL
|
||
|
%{_datadir}/freetuxtv/doc/NEWS
|
||
|
%{_datadir}/freetuxtv/doc/README
|
||
|
%{_datadir}/freetuxtv/splashscreen.png
|
||
|
%{_datadir}/freetuxtv/sqlite3-create-tables.sql
|
||
|
%{_datadir}/freetuxtv/tv_channels.xml
|
||
|
%dir %{_datadir}/freetuxtv/ui
|
||
|
%{_datadir}/freetuxtv/ui/*.glade
|
||
|
%{_datadir}/applications/freetuxtv.desktop
|
||
|
%{_datadir}/icons/hicolor/*/apps/freetuxtv.png
|
||
|
%{_datadir}/icons/hicolor/scalable/apps/freetuxtv.svg
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/libdbevolution
|
||
|
%{_includedir}/libdbevolution/db-evolution-instance.h
|
||
|
%dir %{_includedir}/libvlc-gtk
|
||
|
%{_includedir}/libvlc-gtk/*.h
|
||
|
%{_libdir}/libdbevolution.a
|
||
|
%{_libdir}/libdbevolution.la
|
||
|
%{_libdir}/libdbevolution.so
|
||
|
%{_libdir}/libvlc-gtk.a
|
||
|
%{_libdir}/libvlc-gtk.la
|
||
|
%{_libdir}/libvlc-gtk.so
|
||
|
%doc ChangeLog README
|
||
|
|
||
|
%changelog
|
||
|
* Mon Feb 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.5-2mamba
|
||
|
- fix icons dir in post scripts
|
||
|
|
||
|
* Tue Feb 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.5-1mamba
|
||
|
- package created by silvan using the webbuild interface
|