LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File celtx.spec of Package celtx (Project home:joha_ma)

Name:           celtx
Version:        1.0
Release:        1
License:        CePL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  bzip2
Requires:       compat-libstdc++
Group:          Applications
Source0:        %{name}-%{version}.tar.gz
Patch0:		celtx.desktop.patch
Packager:       "Cesar Izurieta" <cesar@caih.org>
Summary:        Celtx preproduction media application

%description
Celtx is the first, cross-platform media application that provides support for the entire pre-production process.

%prep
%setup -q -n celtx
%patch -p1

%build

%install
INST_DIR=$RPM_BUILD_ROOT/usr/lib/celtx
BIN_DIR=$RPM_BUILD_ROOT/usr/bin
APP_DIR=$RPM_BUILD_ROOT/usr/share/applications
mkdir -p $INST_DIR
mkdir -p $BIN_DIR
mkdir -p $APP_DIR
cp -R * $INST_DIR
ln -s /usr/lib/celtx/celtx $BIN_DIR/celtx
ln -s /usr/lib/celtx/celtx.desktop $APP_DIR/

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
/usr/bin/celtx
/usr/lib/celtx
/usr/share/applications/celtx.desktop