Browse Source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2061 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh 14 years ago
parent
commit
487d23aefe
1 changed files with 44 additions and 10 deletions
  1. 44 10
      l/lxappearance/lxappearance-vl.spec

+ 44 - 10
l/lxappearance/lxappearance-vl.spec

@@ -1,5 +1,5 @@
 Name:           lxappearance
-Version:        0.4.0
+Version:        0.5.0
 Release:        1%{?_dist_release}
 Summary:        Feature-rich GTK+ theme switcher for LXDE
 Summary(ja):    LXDE の機能豊かな GTK+ テーマスイッチャ
@@ -13,7 +13,15 @@ Vendor:         Project Vine
 Distribution:   Vine Linux
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires:  gtk2-devel > 2.6, gettext, desktop-file-utils
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  gettext
+BuildRequires:  glib2-devel >= 2.18.0
+BuildRequires:  gtk2-devel >= 2.12.0
+BuildRequires:  intltool >= 0.40
+BuildRequires:  menu-cache-devel >= 0.3.2
+BuildRequires:  perl-XML-Parser
+Requires:       lxsession >= 0.4.0
 
 %description
 LXAppearance is a new GTK+ theme switcher developed for LXDE, the Lightweight 
@@ -29,14 +37,25 @@ LXAppearance は LXDE -the Lightweight X11 Desktop Environment- のために開
 アプリケーションによって変えることができます。
 ユーザーにより行われたすべての変更はプレビューエリアで迅速に見ることができます。
 "適用"ボタンを押した後、設定は gtkrc に書き込まれ、すべての起動中のプログラムが
-それらのテーマを再読み込みするようます。
+それらのテーマを再読み込みするように求められます。
+
+%package devel
+Release: 1%{?_dist_release}
+Summary: Development files of %{name}
+Summary(ja): %{name} の開発ファイル
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains headers and pkg-config file for development
+with %{name}.
+
+%description -l ja devel
+このパッケージは %{name} の開発に必要なヘッダと pkg-config ファイルを含みます。
 
 %prep
 %setup -q
 
-sed -i 's|X-LXDE-Settings;Gtk;|X-Settings;|g' \
-       %{name}.desktop
-
 %build
 %configure
 make %{?_smp_mflags}
@@ -63,14 +82,29 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS COPYING
 %{_bindir}/%{name}
 %dir %{_datadir}/%{name}
-%attr(755,root,root) %{_datadir}/%{name}/install-icon-theme.sh
 %{_datadir}/applications/*.desktop
-%{_datadir}/%{name}/demo.ui
-%{_datadir}/%{name}/%{name}.ui
-%{_mandir}/man1/%{name}*.1*
+%{_datadir}/%{name}/ui/
+#%{_mandir}/man1/%{name}*.1*
 
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/
+%{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Thu Oct 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1
+- new upstream release
+- added and arranged BuildRequires
+  - BuildRequires:  desktop-file-utils
+  - BuildRequires:  gettext
+  - BuildRequires:  glib2-devel >= 2.18.0
+  - BuildRequires:  gtk2-devel >= 2.12.0
+  - BuildRequires:  intltool >= 0.40
+  - BuildRequires:  menu-cache-devel >= 0.3.2
+  - BuildRequires:  perl-XML-Parser
+- added Requires: lxsession >= 0.4.0
+- splitted -devel pacakage
+
 * Wed Jan 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.0-1
 - new upstream release