diff options
author | Jacek Pielaszkiewicz <j.pielaszkie@samsung.com> | 2013-10-11 13:08:55 +0200 |
---|---|---|
committer | Jacek Pielaszkiewicz <j.pielaszkie@samsung.com> | 2013-11-18 09:37:32 +0100 |
commit | 475038768f5f2e8ef3e305aa71ad48794474ca32 (patch) | |
tree | 16b1c323134d5cd41f4aab022415b601a900486a | |
parent | cdf272315e44f7d811e9cee48d912f9e0c963219 (diff) | |
download | cryptsetup-475038768f5f2e8ef3e305aa71ad48794474ca32.tar.gz cryptsetup-475038768f5f2e8ef3e305aa71ad48794474ca32.tar.bz2 cryptsetup-475038768f5f2e8ef3e305aa71ad48794474ca32.zip |
Initial packaging directory.
Change-Id: I8b9ff3fc9406350756c4eb4c4df7e1aafffc965a
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
-rw-r--r-- | packaging/cryptsetup.manifest | 6 | ||||
-rw-r--r-- | packaging/cryptsetup.spec | 103 |
2 files changed, 109 insertions, 0 deletions
diff --git a/packaging/cryptsetup.manifest b/packaging/cryptsetup.manifest new file mode 100644 index 0000000..808c7a9 --- /dev/null +++ b/packaging/cryptsetup.manifest @@ -0,0 +1,6 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> + diff --git a/packaging/cryptsetup.spec b/packaging/cryptsetup.spec new file mode 100644 index 0000000..85d8180 --- /dev/null +++ b/packaging/cryptsetup.spec @@ -0,0 +1,103 @@ +Name: cryptsetup +Summary: The cryptsetup +Version: 1.6 +Release: 1 +License: GPL-2.0 +Group: Base/Device Management +URL: http://code.google.com/p/cryptsetup/ +Source0: %{name}-%{version}.tar.gz +Source1: cryptsetup.manifest + +BuildRequires: linux-kernel-headers +BuildRequires: device-mapper-devel +BuildRequires: libgpg-error-devel +BuildRequires: libgcrypt-devel +BuildRequires: libuuid-devel +BuildRequires: util-linux +BuildRequires: popt-devel +BuildRequires: automake +BuildRequires: gettext + +Requires: libgpg-error +Requires: libdevmapper +Requires: libgcrypt + +%description +setup cryptographic volumes for dm-crypt (including LUKS extension) + +%package devel +Summary: The cryptsetup development package +Group: Development/Libraries +License: LGPL-2.1 +Requires: %{name} = %{version}-%{release} + +%description devel +cryptsetup development package + +%package locale +License: GPL-2.0 +Summary: The cryptsetup locale package +Group: Base/Device Management +Requires: %{name} = %{version}-%{release} + +%description locale +locale package for cryptsetup + +%package doc +License: GPL-2.0 +Summary: The cryptsetup doc package +Group: Base/Device Management +Requires: %{name} = %{version}-%{release} + +%description doc +doc package for cryptsetup + +%prep +%setup -q + +%build +./autogen.sh --prefix=%{_prefix} -localedir=%{_prefix}/share/locale + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install +cp -a %{SOURCE1} %{buildroot}%{_datadir}/binary_package_name.manifest + +%clean + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%manifest %{_datadir}/binary_package_name.manifest +%{_prefix}/lib/libcryptsetup.so +%{_prefix}/lib/libcryptsetup.so.4 +%{_prefix}/lib/libcryptsetup.so.4.5.0 +%{_prefix}/sbin/cryptsetup +%{_prefix}/sbin/veritysetup + +%files devel +%{_prefix}/include/libcryptsetup.h +%{_prefix}/lib/libcryptsetup.so +%{_prefix}/lib/pkgconfig/libcryptsetup.pc + +%files locale +%{_prefix}/share/locale/cs/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/de/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/fi/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/fr/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/id/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/it/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/nl/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/pl/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/sv/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/uk/LC_MESSAGES/cryptsetup.mo +%{_prefix}/share/locale/vi/LC_MESSAGES/cryptsetup.mo + +%files doc +%{_prefix}/share/man/man8/cryptsetup.8.gz +%{_prefix}/share/man/man8/veritysetup.8.gz |