Group :: System/Libraries
RPM: qt4-settings
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# Versions
%define rname qt
%define major 4
%define minor 0
%define bugfix 0
%define rlz alt3
Name: %rname%major-settings
Version: %major.%minor
Release: %rlz
Group: System/Libraries
Summary: Qt%major settings
Url: http://www.trolltech.com/products/qt.html
License: GPL & QPL
Requires: %rname%major-common
BuildArch: noarch
Source0: Trolltech.conf
Source10: qt4-set-QTDIR-environment-sh
Source11: qt4-set-QTDIR-environment-csh
%description
Qt%major settings files
%prep
%setup -q -T -c
%build
%install
install -d -m 0755 %buildroot/%_sysconfdir/%rname%major
install -m 644 %SOURCE0 %buildroot/%_sysconfdir/%rname%major
install -d -m 0755 %buildroot/%_sysconfdir/profile.d/
install -m 0755 %SOURCE10 %buildroot/%_sysconfdir/profile.d/qt%{major}dir.sh
install -m 0755 %SOURCE11 %buildroot/%_sysconfdir/profile.d/qt%{major}dir.csh
%files
#%config(noreplace) %_sysconfdir/profile.d/qt%{major}dir.sh
#%config(noreplace) %_sysconfdir/profile.d/qt%{major}dir.csh
%_sysconfdir/%rname%major
%changelog
…
Full changelog you can see here
%define rname qt
%define major 4
%define minor 0
%define bugfix 0
%define rlz alt3
Name: %rname%major-settings
Version: %major.%minor
Release: %rlz
Group: System/Libraries
Summary: Qt%major settings
Url: http://www.trolltech.com/products/qt.html
License: GPL & QPL
Requires: %rname%major-common
BuildArch: noarch
Source0: Trolltech.conf
Source10: qt4-set-QTDIR-environment-sh
Source11: qt4-set-QTDIR-environment-csh
%description
Qt%major settings files
%prep
%setup -q -T -c
%build
%install
install -d -m 0755 %buildroot/%_sysconfdir/%rname%major
install -m 644 %SOURCE0 %buildroot/%_sysconfdir/%rname%major
install -d -m 0755 %buildroot/%_sysconfdir/profile.d/
install -m 0755 %SOURCE10 %buildroot/%_sysconfdir/profile.d/qt%{major}dir.sh
install -m 0755 %SOURCE11 %buildroot/%_sysconfdir/profile.d/qt%{major}dir.csh
%files
#%config(noreplace) %_sysconfdir/profile.d/qt%{major}dir.sh
#%config(noreplace) %_sysconfdir/profile.d/qt%{major}dir.csh
%_sysconfdir/%rname%major
%changelog
…
Full changelog you can see here