rpms/mhgui/F-7 mhgui-0.1-pkgconfig.patch, NONE, 1.1 mhgui.spec, NONE, 1.1 sources, 1.1, 1.2

Chauvet (kwizart) fedora-extras-commits at redhat.com
Thu Sep 27 21:00:38 UTC 2007


Author: kwizart

Update of /cvs/extras/rpms/mhgui/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4643

Modified Files:
	sources 
Added Files:
	mhgui-0.1-pkgconfig.patch mhgui.spec 
Log Message:
Import for F-7


mhgui-0.1-pkgconfig.patch:

--- NEW FILE mhgui-0.1-pkgconfig.patch ---
--- mhgui-0.1/mhgui.pc.in.pkgconfig	2007-07-20 20:18:20.000000000 +0200
+++ mhgui-0.1/mhgui.pc.in	2007-07-20 20:20:29.000000000 +0200
@@ -1,7 +1,7 @@
 prefix=@prefix@
 exec_prefix=@prefix@
-libdir=@exec_prefix@/lib
-includedir=@prefix@/include
+libdir=@libdir@
+includedir=@includedir@/mhgui
 
 Name: @PACKAGE@
 Description: A simple GUI library for MakeHuman


--- NEW FILE mhgui.spec ---
Name:           mhgui
Version:        0.1
Release:        2%{?dist}
Summary:        A simple GUI library for MakeHuman

Group:          System Environment/Libraries
License:        LGPLv2+
URL:            http://www.dedalo-3d.com
Source0:        http://downloads.sourceforge.net/makehuman/mhgui-%{version}.tar.gz
Patch0:         mhgui-0.1-pkgconfig.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  animorph-devel >= 0.2
BuildRequires:  freeglut-devel
BuildRequires:  libpng-devel
      

%description
A simple GUI library for MakeHuman


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       animorph-devel >= 0.2
Requires:       freeglut-devel
Requires:       libpng-devel

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q
%patch0 -p1 -b .pkgconfig


%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'

# Removes doc
rm -rf $RPM_BUILD_ROOT%{_prefix}/doc


%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING TODO
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}/
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc


%changelog
* Thu Sep 13 2007 kwizart < kwizart at gmail.com > - 0.1-2
- Fix URL
- Change summary

* Fri Jul 20 2007 kwizart < kwizart at gmail.com > - 0.1-1
- Initial spec file for Fedora 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mhgui/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Sep 2007 16:55:35 -0000	1.1
+++ sources	27 Sep 2007 21:00:04 -0000	1.2
@@ -0,0 +1 @@
+d9c335c032bb41feb99bba7f20db0c00  mhgui-0.1.tar.gz




More information about the fedora-extras-commits mailing list