summaryrefslogtreecommitdiffstats
path: root/redhat/trinity-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/trinity-desktop')
-rw-r--r--redhat/trinity-desktop/trinity-3.5.13-fedora.repo36
-rw-r--r--redhat/trinity-desktop/trinity-3.5.13-rhel.repo36
-rw-r--r--redhat/trinity-desktop/trinity-desktop.spec32
3 files changed, 103 insertions, 1 deletions
diff --git a/redhat/trinity-desktop/trinity-3.5.13-fedora.repo b/redhat/trinity-desktop/trinity-3.5.13-fedora.repo
new file mode 100644
index 000000000..e6ac33dad
--- /dev/null
+++ b/redhat/trinity-desktop/trinity-3.5.13-fedora.repo
@@ -0,0 +1,36 @@
+[trinity-3.5.13-fedora]
+name=trinity-3.5.13-fedora
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/$basearch
+enabled=1
+gpgcheck=0
+
+[trinity-3.5.13-fedora-noarch]
+name=trinity-3.5.13-fedora-noarch
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/noarch
+enabled=1
+gpgcheck=0
+
+[trinity-3.5.13-fedora-source]
+name=trinity-3.5.13-fedora-source
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/f$releasever/trinity-3.5.13/SRPMS
+enabled=1
+gpgcheck=0
+
+[trinity-extras-fedora]
+name=trinity-extras-fedora
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/f$releasever/trinity-extras/RPMS/$basearch
+enabled=1
+gpgcheck=0
+
+[trinity-extras-fedora-noarch]
+name=trinity-extras-fedora-noarch
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/f$releasever/trinity-extras/RPMS/noarch
+enabled=1
+gpgcheck=0
+
+[trinity-extras-fedora-source]
+name=trinity-extras-fedora-source
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/f$releasever/trinity-extras/SRPMS
+enabled=1
+gpgcheck=0
+
diff --git a/redhat/trinity-desktop/trinity-3.5.13-rhel.repo b/redhat/trinity-desktop/trinity-3.5.13-rhel.repo
new file mode 100644
index 000000000..e54847b54
--- /dev/null
+++ b/redhat/trinity-desktop/trinity-3.5.13-rhel.repo
@@ -0,0 +1,36 @@
+[trinity-3.5.13-rhel]
+name=trinity-3.5.13-rhel
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/$basearch
+enabled=1
+gpgcheck=0
+
+[trinity-3.5.13-rhel-noarch]
+name=trinity-3.5.13-rhel-noarch
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/noarch
+enabled=1
+gpgcheck=0
+
+[trinity-3.5.13-rhel-source]
+name=trinity-3.5.13-f16-source
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el$releasever/trinity-3.5.13/SRPMS
+enabled=1
+gpgcheck=0
+
+[trinity-extras-rhel]
+name=trinity-extras-rhel
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el$releasever/trinity-extras/RPMS/$basearch
+enabled=1
+gpgcheck=0
+
+[trinity-extras-rhel-noarch]
+name=trinity-extras-rhel-noarch
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el$releasever/trinity-extras/RPMS/noarch
+enabled=1
+gpgcheck=0
+
+[trinity-extras-rhel-source]
+name=trinity-extras-rhel-source
+baseurl=http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el$releasever/trinity-extras/SRPMS
+enabled=1
+gpgcheck=0
+
diff --git a/redhat/trinity-desktop/trinity-desktop.spec b/redhat/trinity-desktop/trinity-desktop.spec
index cf9a96d22..c109fd82b 100644
--- a/redhat/trinity-desktop/trinity-desktop.spec
+++ b/redhat/trinity-desktop/trinity-desktop.spec
@@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
-%define release 1
+%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@@ -25,6 +25,9 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+Source0: trinity-3.5.13-fedora.repo
+Source1: trinity-3.5.13-rhel.repo
+
Requires: trinity-kdeaccessibility >= %{version}
Requires: trinity-kdeaddons >= %{version}
Requires: trinity-kdeadmin >= %{version}
@@ -40,6 +43,7 @@ Requires: trinity-kdenetwork >= %{version}
Requires: trinity-kdepim >= %{version}
Requires: trinity-kdeutils >= %{version}
Requires: trinity-kdetoys >= %{version}
+Requires: trinity-repo >= %{version}
%description
The TDE project aims to keep the KDE3.5 computing style alive, as well as
@@ -86,6 +90,25 @@ Requires: %{name}-extras == %{version}
%description all
%{summary}
+%package -n trinity-repo
+Group: User Interface/Desktops
+Summary: Yum configuration files for Trinity
+
+%description -n trinity-repo
+%{summary}
+
+%prep
+
+%build
+
+%install
+%__rm -rf %{?buildroot}
+%__mkdir_p %{?buildroot}%{_sysconfdir}/yum.repos.d
+%if 0%{?fedora}
+%__install -m 644 %{SOURCE0} %{?buildroot}%{_sysconfdir}/yum.repos.d
+%else
+%__install -m 644 %{SOURCE1} %{?buildroot}%{_sysconfdir}/yum.repos.d
+%endif
%files
@@ -94,3 +117,10 @@ Requires: %{name}-extras == %{version}
%files extras
%files all
+
+%files -n trinity-repo
+%{_sysconfdir}/yum.repos.d/*.repo
+
+%changelog
+* Sat Nov 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
+- Add 'repo' package