diff --git a/README.md b/README.md index 76dc5b1..ba65fd5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmhgui +A graphical user interface library for makehuman. + diff --git a/libmhgui.spec b/libmhgui.spec new file mode 100644 index 0000000..1b94ce4 --- /dev/null +++ b/libmhgui.spec @@ -0,0 +1,68 @@ +### AUTOUPDATE-OFF: 1 +Name: libmhgui +Version: 0.2 +Release: 1mamba +Summary: A graphical user interface library for makehuman +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.makehuman.org +Source: http://downloads.sourceforge.net/sourceforge/makehuman/mhgui-%{version}.tar.gz +License: LGPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: libX11-devel +BuildRequires: libGL-devel +BuildRequires: libpng-devel +BuildRequires: libICE-devel + +%description +A graphical user interface library for makehuman. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +A graphical user interface library for makehuman. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n mhgui-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +rm -rf %{buildroot}%{_prefix}/doc + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libmhgui.so.* +%doc AUTHORS COPYING TODO + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/mhgui +%{_includedir}/mhgui/*.h +%{_libdir}/libmhgui.a +%{_libdir}/libmhgui.la +%{_libdir}/libmhgui.so +%{_exec_prefix}/lib/pkgconfig/*.pc + +%changelog +* Sun Jun 07 2009 Silvan Calarco 0.2-1mamba +- update to 0.2 + +* Wed Oct 10 2007 Silvan Calarco 0.1-1mamba +- package created by autospec