Home | History | Annotate | Download | only in mix_common
      1 Summary: MIX Common
      2 Name: mixcommon
      3 Version: 0.1.7
      4 Release: 1
      5 Source0: %{name}-%{version}.tar.gz
      6 NoSource: 0
      7 License: Proprietary
      8 Group: System Environment/Libraries
      9 BuildRoot: %{_tmppath}/%{name}-root
     10 ExclusiveArch: i586
     11 
     12 %description
     13 MIX Common contains common classes, datatype, header files used by other MIX components
     14 
     15 %package devel
     16 Summary: Libraries include files
     17 Group: Development/Libraries
     18 Requires: %{name} = %{version}
     19 
     20 %description devel
     21 The %{name}-devel package contains the header files and static libraries for building applications which use %{name}.
     22 
     23 %prep
     24 %setup -q
     25 %build
     26 ./autogen.sh
     27 ./configure --prefix=%{_prefix}
     28 make
     29 %install
     30 rm -rf $RPM_BUILD_ROOT
     31 make DESTDIR=$RPM_BUILD_ROOT install
     32 %clean
     33 rm -rf $RPM_BUILD_ROOT
     34 %files
     35 %defattr(-,root,root)
     36 %{_prefix}/lib/*.so*
     37 
     38 %files devel
     39 %defattr(-,root,root)
     40 %{_prefix}/include
     41 %{_prefix}/lib/*.la
     42 %{_prefix}/lib/pkgconfig/mixcommon.pc
     43 %doc COPYING
     44