Logoj0ke.net Open Build Service > Projects > internetx:php5:EL5 > libmcrypt > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added libmcrypt.spec
x
 
1
@@ -0,0 +1,65 @@
2
+Name:      libmcrypt
3
+Version:   2.5.8
4
+Release:   1
5
+License:   LGPL
6
+Group:     System Environment/Libraries
7
+Summary:   Encryption algorithms library
8
+URL:       http://mcrypt.sourceforge.net/
9
+Source0:   http://download.sourceforge.net/mcrypt/libmcrypt-%{version}.tar.gz
10
+#Patch0:       libmcrypt-2.5.7-nolibltdl.patch
11
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
+BuildRequires: gcc-c++
13
+#BuildRequires:    libtool-ltdl-devel
14
+
15
+%description
16
+Libmcrypt is a thread-safe library providing a uniform interface
17
+to access several block and stream encryption algorithms.
18
+
19
+%package devel
20
+Group:     Development/Libraries
21
+Summary:   Development libraries and headers for libmcrypt
22
+Requires:  %{name} = %{version}-%{release}
23
+
24
+%description devel
25
+Development libraries and headers for use in building applications that
26
+use libmcrypt.
27
+
28
+%prep
29
+%setup -q
30
+##%patch0 -p1
31
+
32
+%build
33
+%configure --enable-static=yes
34
+make %{?_smp_mflags}
35
+
36
+%install
37
+rm -rf $RPM_BUILD_ROOT
38
+make DESTDIR=$RPM_BUILD_ROOT install
39
+find $RPM_BUILD_ROOT -type f -name '*.la' -exec rm -f {} \;
40
+
41
+%clean
42
+rm -rf $RPM_BUILD_ROOT
43
+
44
+%post -p /sbin/ldconfig
45
+%postun -p /sbin/ldconfig
46
+
47
+%files
48
+%defattr(-,root,root,-)
49
+%doc AUTHORS COPYING.LIB ChangeLog KNOWN-BUGS README NEWS THANKS TODO
50
+%{_libdir}/*.so.*
51
+%{_datadir}/aclocal/libmcrypt.m4
52
+%{_mandir}/man3/*
53
+
54
+%files devel
55
+%defattr(-,root,root,-)
56
+%doc doc/README.key doc/README.xtea doc/example.c
57
+%{_bindir}/libmcrypt-config
58
+%{_includedir}/mcrypt.h
59
+%{_includedir}/mutils/mcrypt.h
60
+%{_libdir}/*.a
61
+%{_libdir}/*.so
62
+
63
+%changelog
64
+* Sun Apr 02 2006 Carsten Schoene <vhcs@j0ke.net> 2.5.7-1
65
+- initial build for CentOS4.x
66
+
67
[+] Added libmcrypt-2.5.7-nolibltdl.patch ^
[+] Deleted _aggregate ^
Added libmcrypt-2.5.8.tar.gz ^