swfmill/swfmill.spec

85 lines
2.4 KiB
RPMSpec
Raw Normal View History

%define libname lib%{name}
Name: swfmill
Version: 0.3.3
Release: 1mamba
Summary: An xml2swf and swf2xml processor with import functionalities
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://swfmill.org
Source: http://swfmill.org/releases/swfmill-%{version}.tar.gz
License: GPL
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
swfmill is an xml2swf and swf2xml processor with import functionalities.
It's most common use is the generation of asset libraries containing images (PNG and JPEG), fonts (TTF) or other SWF movies for use with MTASC- or haXe-compiled ActionScript, although swfmill can be used to produce both simple and complex SWF structures.
%package -n %{libname}
Summary: Library for xml2swf and swf2xml processor
Group: System/Libraries
%description -n %{libname}
Library for xml2swf and swf2xml processor.
%package -n %{libname}-devel
Summary: Static libraries and headers for %{libname}
Group: Development/Libraries
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname}-devel
Library for xml2swf and swf2xml processor.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure --enable-shared
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/swfmill
%doc AUTHORS COPYING
#%files -n %{libname}
#%defattr(-, root, root)
#%{_libdir}/*.so.*
#%files -n %{libname}-devel
#%defattr(-, root, root)
#%{_libdir}/*.a
#%{_libdir}/*.la
#%{_libdir}/*.so
#%doc NEWS README
%changelog
* Sat Nov 02 2013 Automatic Build System <autodist@mambasoft.it> 0.3.3-1mamba
- automatic update by autodist
* Wed Jun 20 2012 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
- automatic version update by autodist
* Fri Jan 15 2010 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic update by autodist
* Thu Jun 14 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.2.12-1mamba
- package created by autospec