소스 검색

updated: libmal, libmcrypt, libsigc++

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@900 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 14 년 전
부모
커밋
5acfd0562a
3개의 변경된 파일46개의 추가작업 그리고 35개의 파일을 삭제
  1. 11 7
      lib/libm/libmal/libmal-vl.spec
  2. 27 24
      lib/libm/libmcrypt/libmcrypt-vl.spec
  3. 8 4
      lib/libs/libsigc++/libsigc++-vl.spec

+ 11 - 7
lib/libm/libmal/libmal-vl.spec

@@ -1,4 +1,4 @@
-%define version 0.42
+%define version 0.44.1
 
 Summary: MAL (Mobil Application Link) library
 Name: libmal
@@ -6,10 +6,11 @@ Version: %{version}
 Release: 1%{?_dist_release}
 License: MPL
 Group: System Environment/Libraries
-Source: http://jasonday.home.att.net/code/libmal/libmal-%{version}.tar.gz
-URL: http://jasonday.home.att.net/code/libmal/libmal.html
-Requires: pilot-link
+Source: http://http://www.jlogday.com/code/libmal/libmal-%{version}.tar.gz
+URL: http://www.jlogday.com/code/libmal/
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Requires: pilot-link
 
 %description
 libmal is really just a convenience library of the functions in Tom Whittaker's
@@ -27,7 +28,7 @@ Development files for libmal
 %setup -q
 
 %build
-%configure FORCE_PILOT_LIBS=%{_libdir}
+%configure --disable-static FORCE_PILOT_LIBS=%{_libdir}
 make
 
 %install
@@ -53,11 +54,14 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(-,root,root)
 %{_includedir}/libmal/*
-%{_libdir}/*.a
-#%{_libdir}/*.la
 %{_libdir}/*.so
 
 %changelog
+* Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-1
+- new upstream release
+- built with new toolchain
+- added --disable-static to %%configure
+
 * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.42-1vl5
 - applied new versioning policy
 - added FORCE_PILOT_LIBS to %%configure

+ 27 - 24
lib/libm/libmcrypt/libmcrypt-vl.spec

@@ -1,10 +1,13 @@
 Summary: libmcrypt is a data encryption library.
 Name: libmcrypt
-Version: 2.5.7
-Release: 2%{?_dist_release}
+Version: 2.5.8
+Release: 1%{?_dist_release}
 License: LGPL
-Source: ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/%{name}-%{version}.tar.gz
 Group: System Environment/Libraries
+URL: http://mcrypt.sourceforge.net/
+
+Source: %{name}-%{version}.tar.bz2
+
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 %description
@@ -18,55 +21,55 @@ TWOFISH, BLOWFISH, ARCFOUR, WAKE and more.
 %package devel
 Summary: Development files of the libmcrypt data encryption library.
 Group: Development/Libraries
-Requires: libmcrypt = %{version}
+Requires: libmcrypt = %{version}-%{release}
 
 %description devel
 Header file and static libraries of libmcrypt data encryption library.
 
 %prep
-%setup
+%setup -q
 
 %build
-%configure --disable-posix-threads
+%configure --disable-posix-threads --disable-static
 
-make
+make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
-%makeinstall
-
-# for Vine Linux 2.6
-#mv %{buildroot}%{_bindir}/i386-vine-linux-libmcrypt-config %{buildroot}%{_bindir}/libmcrypt-config
-#mv %{buildroot}%{_mandir}/man3/i386-vine-linux-mcrypt.3 %{buildroot}%{_mandir}/man3/mcrypt.3
+make install DESTDIR=$RPM_BUILD_ROOT
 
 ## remove unused file
 rm -f %{buildroot}/%{_libdir}/libmcrypt.la
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
-%post
-ldconfig
+%post -p /sbin/ldconfig
 
-%postun
-ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
-%{_libdir}/libmcrypt.so*
+%doc AUTHORS ChangeLog COPYING.LIB KNOWN-BUGS NEWS README THANKS TODO
+%{_libdir}/libmcrypt.so.*
 
 %files devel
-#%defattr(-, root, root)
-%doc doc/README* doc/example.c AUTHORS ChangeLog KNOWN-BUGS NEWS
-%doc THANKS README TODO
-#%{_libdir}/libmcrypt.la
+%defattr(-, root, root)
+%doc doc/README* doc/example.c  
+%{_bindir}/libmcrypt-config
 %{_includedir}/mcrypt.h
+%{_includedir}/mutils
+%{_libdir}/libmcrypt.so
 %{_mandir}/man3/mcrypt.*
-%{_bindir}/libmcrypt-config
 %{_datadir}/aclocal/libmcrypt.m4
 
 %changelog
+* Tue Apr 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.8-1
+- new upstream release
+- added URL tag
+- built with new toolchain
+
 * Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.7-2vl5
 - applied new versioning policy
 - removed libmcrypt.la

+ 8 - 4
lib/libs/libsigc++/libsigc++-vl.spec

@@ -1,5 +1,5 @@
 %define name libsigc++
-%define version 2.2.4.2
+%define version 2.2.6
 %define release 1%{?_dist_release}
 
 %define lib_name sigc++-2.0
@@ -15,7 +15,8 @@ Group: System Environment/Libraries
 URL: http://libsigc.sourceforge.net/
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: gcc-c++ m4
+BuildRequires: gcc-c++
+BuildRequires: m4
 
 %description
 This library implements a full callback system for use in widget libraries,
@@ -52,7 +53,7 @@ programs for %{name}.
 %setup -q
 
 %build
-%configure --disable-static
+%configure --disable-static --enable-silent-rules
 make %{_smp_mflags}
 
 %install
@@ -71,7 +72,6 @@ find $RPM_BUILD_ROOT%{_libdir}/%{lib_name} -type f |xargs file |
 
 for i in $RPM_BUILD_ROOT%{_libdir}/%{lib_name}/{examples,tests}/Makefile; do
 	rm -f $i.*
-#	cp -p scripts/examples.Makefile $i
 done
 
 rm -rf docs-toinstall
@@ -112,6 +112,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/%{lib_name}/tests
 
 %changelog
+* Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-1
+- new upstream release
+- built with new toolchain
+
 * Sun Sep 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.4.2-1
 - new upstream release
 - remove static libraries from devel package