zenxml/zenxml.spec

57 lines
1.5 KiB
RPMSpec

Name: zenxml
Version: 2.3
Release: 1mamba
Summary: Simple C++ XML processing
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/zenxml/
Source: http://downloads.sourceforge.net/project/zenxml/zenXml_%{version}.zip
License: GPL
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 zenxml' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Simple C++ XML processing.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -c %{name}-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_includedir}/zen
cp zen/*.h %{buildroot}%{_includedir}/zen/
install -d -m0755 %{buildroot}%{_includedir}/zenxml
cp zenxml/*.h %{buildroot}%{_includedir}/zenxml/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/zen
%{_includedir}/zen/*.h
%dir %{_includedir}/zenxml
%{_includedir}/zenxml/*.h
%doc License.txt
%changelog
* Sat Oct 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1mamba
- package created using the webbuild interface