diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-07 13:48:18 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-11-07 13:48:18 -0800 |
commit | c795690864d6867f76b52860c781553ba122947d (patch) | |
tree | bd3823dbe791ba5016a5376f64bfe8403fa8031f | |
parent | be20788575a8634c18b3d4f079e0e39c83d40d4b (diff) | |
download | libtasn1-c795690864d6867f76b52860c781553ba122947d.tar.gz libtasn1-c795690864d6867f76b52860c781553ba122947d.tar.bz2 libtasn1-c795690864d6867f76b52860c781553ba122947d.zip |
add packaging
-rw-r--r-- | packaging/baselibs.conf | 1 | ||||
-rw-r--r-- | packaging/libtasn1.spec | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..7f5b6a6 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1 @@ +libtasn1-3 diff --git a/packaging/libtasn1.spec b/packaging/libtasn1.spec new file mode 100644 index 0000000..6ad7fe8 --- /dev/null +++ b/packaging/libtasn1.spec @@ -0,0 +1,58 @@ +Name: libtasn1 +Version: 2.12 +Release: 0 +License: LGPL-2.1+ and GPL-3.0 +Summary: ASN +Url: http://ftp.gnu.org/gnu/libtasn1/ +Group: Productivity/Networking/Security +Source: %{name}-%{version}.tar.bz2 +Source99: baselibs.conf +BuildRequires: info +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This is the ASN.1 library used in GNUTLS. More up to date information +can be found at http://www.gnu.org/software/gnutls and +http://www.gnutls.org + +%package devel +Summary: ASN +Group: Productivity/Networking/Security +Requires: %{name} = %{version} + +%description devel +This is the ASN.1 library used in GNUTLS. More up to date information +can be found at http://www.gnu.org/software/gnutls and +http://www.gnutls.org + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +%make_install + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%docs_package + +%files +%defattr(-, root, root) +%{_bindir}/* +%{_libdir}/*.so.* + +%files devel +%defattr(-, root, root) +%{_includedir}/*.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/libtasn1.pc + +%changelog |