LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File amine.spec of Package release-amine (Project home:Kenzy:packages)

Name:           amine-release
Version:        1
Release:        1
Summary:        Amine software repo

Group:          System Environment/Base
License:        GPL
Source0:        amine.repo
Source1:        RPM-GPG-KEY-amine
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
%description
Amine repo having some Islamic Programe for kde.

%prep
echo "Nothing to prep"

%build
echo "Nothing to build"

%install
rm -rf $RPM_BUILD_ROOT

# Create dirs
install -d -m755 \
  $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d \
  $RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg

# Yum .repo path
%{__install} -p -m644 %{SOURCE0} \
    $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d

# Yum .repo key
%{__install} -p -m644 %{SOURCE1} \
    $RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg

%post
rpm --import /etc/pki/rpm-gpg/*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_sysconfdir}/yum.repos.d/*
%{_sysconfdir}/pki/rpm-gpg/*

%changelog
* Thu Aug 04 2011 Mohammad Shaban<Mr.Muhammad@linuxac.org> - 1-1
- Initial build 1