You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
154 lines
5.6 KiB
154 lines
5.6 KiB
9 years ago
|
# TDE specific building variables
|
||
11 years ago
|
%define tde_bindir %{tde_prefix}/bin
|
||
|
%define tde_datadir %{tde_prefix}/share
|
||
|
%define tde_docdir %{tde_datadir}/doc
|
||
|
%define tde_includedir %{tde_prefix}/include
|
||
|
%define tde_libdir %{tde_prefix}/%{_lib}
|
||
|
%define tde_mandir %{tde_datadir}/man
|
||
|
|
||
9 years ago
|
%define tde_tdeappdir %{tde_datadir}/applications/tde
|
||
11 years ago
|
%define tde_tdedocdir %{tde_docdir}/tde
|
||
|
%define tde_tdeincludedir %{tde_includedir}/tde
|
||
|
%define tde_tdelibdir %{tde_libdir}/trinity
|
||
|
|
||
|
%define _docdir %{tde_docdir}
|
||
|
|
||
|
Name: trinity-theme-baghira
|
||
|
Version: 0.8
|
||
9 years ago
|
Release: 1%{?dist}
|
||
11 years ago
|
Summary: Baghira theme for Trinity
|
||
|
License: GPL
|
||
9 years ago
|
Group: Graphical desktop/TDE
|
||
|
Source0: theme-baghira-%{tde_version}.tar.gz
|
||
11 years ago
|
Url: http://baghira.sourceforge.net/
|
||
9 years ago
|
BuildRoot: %{_tmppath}/baghira-%{version}-buildroot
|
||
|
|
||
|
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||
|
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||
|
|
||
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
|
||
|
BuildRequires: libjpeg-devel
|
||
|
%else
|
||
11 years ago
|
BuildRequires: X11-devel
|
||
|
BuildRequires: jpeg-devel
|
||
9 years ago
|
%endif
|
||
11 years ago
|
|
||
|
%description
|
||
|
Baghira is a very nice native Trinity style and windec
|
||
|
originally based on Mosfet's Liquid style.
|
||
|
|
||
9 years ago
|
This package contains non-free icons.
|
||
11 years ago
|
|
||
|
%package devel
|
||
|
Summary: Header files and static libraries from %name
|
||
|
Group: Development/C
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
Libraries and includes files for
|
||
|
developing programs based on %name
|
||
|
|
||
9 years ago
|
This package contains non-free icons.
|
||
11 years ago
|
|
||
|
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||
|
%debug_package
|
||
|
%endif
|
||
|
|
||
|
%prep
|
||
9 years ago
|
%setup -q -n baghira-%{version}
|
||
11 years ago
|
|
||
|
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||
9 years ago
|
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||
11 years ago
|
%__make -f "admin/Makefile.common"
|
||
|
|
||
9 years ago
|
|
||
11 years ago
|
%build
|
||
9 years ago
|
unset QTDIR QTINC QTLIB
|
||
11 years ago
|
export PATH="%{tde_bindir}:${PATH}"
|
||
|
export KDEDIR=%{tde_prefix}
|
||
|
|
||
|
%configure \
|
||
|
--prefix=%{tde_prefix} \
|
||
|
--exec-prefix=%{tde_prefix} \
|
||
|
--bindir=%{tde_bindir} \
|
||
|
--libdir=%{tde_libdir} \
|
||
|
--includedir=%{tde_tdeincludedir} \
|
||
|
--datadir=%{tde_datadir} \
|
||
|
--disable-static \
|
||
9 years ago
|
--enable-rpath \
|
||
|
--disable-debug \
|
||
|
--disable-warnings \
|
||
|
--disable-dependency-tracking \
|
||
|
--enable-final \
|
||
11 years ago
|
--with-extra-includes=%{tde_includedir}/tqt
|
||
|
|
||
|
%__make %{?_smp_mflags}
|
||
|
|
||
9 years ago
|
|
||
11 years ago
|
%install
|
||
|
%__rm -rf $RPM_BUILD_ROOT
|
||
|
%__make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
|
||
|
install -d %{buildroot}/%{tde_libdir}/baghira-%{version}
|
||
|
install -d %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}
|
||
|
|
||
|
mv %{buildroot}/%{tde_libdir}/libbaghirastarter.la %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.la
|
||
|
mv %{buildroot}/%{tde_libdir}/libbaghirastarter.so %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so.%{major}
|
||
|
mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.la %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la
|
||
|
mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.so %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so.%{major}
|
||
|
mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebar.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h
|
||
|
mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebariface.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h
|
||
|
mv %{buildroot}/%{tde_tdeincludedir}/dndlistbox.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h
|
||
|
mv %{buildroot}/%{tde_tdeincludedir}/linkview.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/linkview.h
|
||
|
mv %{buildroot}/%{tde_tdeincludedir}/listboxlink.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h
|
||
|
|
||
|
ln -s libbaghirastarter.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so
|
||
|
ln -s usermanager_panelapplet.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so
|
||
|
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc README AUTHORS ChangeLog COPYING NEWS TODO
|
||
|
%{tde_bindir}/bab
|
||
|
%{tde_tdelibdir}/b_menu_panelapplet.*
|
||
|
%{tde_tdelibdir}/kstyle_baghira_config.*
|
||
|
%{tde_tdelibdir}/kwin3_baghira.*
|
||
|
%{tde_tdelibdir}/kwin_baghira_config.*
|
||
|
%{tde_tdelibdir}/plugins/styles/baghira.*
|
||
|
%{tde_datadir}/apps/kdisplay/color-schemes/Aqua*
|
||
|
#%{tde_datadir}/apps/kicker/applets/b_menuapplet.desktop
|
||
|
%{tde_datadir}/apps/kicker/applets/usermanager.desktop
|
||
|
%{tde_datadir}/apps/konqsidebartng/add/baghirasidebar_add.desktop
|
||
|
%{tde_datadir}/apps/konqsidebartng/entries/baghirasidebar.desktop
|
||
|
%{tde_datadir}/apps/kicker/applets/starter.desktop
|
||
|
%{tde_datadir}/apps/kstyle/themes/baghira.themerc
|
||
|
%{tde_datadir}/apps/kwin/baghira.desktop
|
||
|
%{tde_datadir}/icons/crystalsvg/*/*/baghira*
|
||
|
%{tde_datadir}/icons/crystalsvg/*/*/bab_*
|
||
|
%{tde_datadir}/apps/baghira/poof.png
|
||
|
%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png
|
||
|
%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png
|
||
|
%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png
|
||
|
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{tde_libdir}/baghira-%{version}/libbaghirastarter.la
|
||
|
%{tde_libdir}/baghira-%{version}/libbaghirastarter.so*
|
||
|
%{tde_tdelibdir}/konqsidebar_baghirasidebar.la
|
||
|
%{tde_tdelibdir}/konqsidebar_baghirasidebar.so
|
||
|
%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la
|
||
|
%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so*
|
||
|
%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h
|
||
|
%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h
|
||
|
%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h
|
||
|
%{tde_tdeincludedir}/baghira-%{version}/linkview.h
|
||
|
%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h
|
||
|
|
||
|
|
||
|
%changelog
|