Browse Source

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

kudoh 14 years ago
parent
commit
2df04a2c4b
2 changed files with 91 additions and 3 deletions
  1. 11 3
      m/medit/medit-vl.spec
  2. 80 0
      s/sagasu/sagasu-vl.spec

+ 11 - 3
m/medit/medit-vl.spec

@@ -3,7 +3,7 @@
 
 Name:        %{name}
 Version:     %{version}
-Release:     1%{?_dist_release}
+Release:     2%{?_dist_release}
 Summary:     Multiplatform GTK+2 text editor
 Summary(ja): マルチプラットフォームな GTK+2 テキストエディタ
 Group:       Applications/Editors
@@ -15,12 +15,15 @@ Source1:     medit_ja.po
 #Patch1:      medit-0.9.2-do-not-update-system-files.patch
 BuildRoot:   %{_tmppath}/%{name}-%{version}-root
 
-BuildRequires:   cmake
+Buildrequires:   cairo-devel
+BuildRequires:   cmake >= 2.6
 BuildRequires:   desktop-file-utils
+BuildRequires:   gettext
 BuildRequires:   gtk2-devel glib2-devel
 BuildRequires:   intltool
 BuildRequires:   libxml2-devel
-BuildRequires:   libXext-devel libICE-devel
+BuildRequires:   libX11-devel libXext-devel libICE-devel
+Buildrequires:   perl-XML-Parser pango-devel
 BuildRequires:   pcre-devel
 BuildRequires:   python-devel
 BuildRequires:   pygtk2-devel
@@ -100,6 +103,11 @@ rm -rf %buildroot
 %{_mandir}/man?/
 
 %changelog
+* Sat Jul 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10.4-2
+- updated Source1
+- added BuildRequires: cairo-devel, gettext, libX11-devel, perl-XML-Parser, pango-devel
+- changed BuildRequires: cmake >= 2.6
+
 * Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10.4-1
 - new upstream release
 - added Japanese language file

+ 80 - 0
s/sagasu/sagasu-vl.spec

@@ -0,0 +1,80 @@
+Name: sagasu
+Summary: GNOME tool to find strings in a set of files
+Summary(ja): ファイル内の語句を検索するための GNOME ツール
+Version: 2.0.10
+Release: 1%{?_dist_release}
+License: GPLv2+
+Group: Applications/Text
+Source: %{name}-%{version}.tar.gz
+Patch0: fix_misc.patch
+
+URL: http://perso.b2b2c.ca/sarrazip/dev/sagasu.html
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires: bison
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: gtk2-devel >= 2.6.0
+BuildRequires: libgnomeui-devel >= 2.8.0
+BuildRequires: perl
+Requires: libgnomeui >= 2.8.0
+
+%description
+GNOME tool to find words in a set of files.
+The user specifies the search directory and the set of files
+to be searched.  Double-clicking on a search result launches a
+user command that can for example load the file in an editor
+at the appropriate line.  The search can optionally ignore
+CVS directories.
+
+%description -l ja
+ファイル内の語句を検索するための GNOME ツールです。
+ユーザーは検索するディレクトリとファイルの集合を指定します。
+検索結果をダブルクリックするとユーザコマンドを起動し、
+例えば、エディタを起動してエディタの適切な行にファイルを読み込むことが可能です。
+検索はオプションで CVS ディレクトリを除外することができます。
+
+%prep
+%setup -q
+%patch0 -p1
+./autogen.sh
+
+%build
+%configure --disable-dependency-tracking --prefix=/usr
+make %{?_smp_mflags}
+
+%install
+rm -fR $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+desktop-file-install --vendor=""                          \
+        --dir=${RPM_BUILD_ROOT}%{_datadir}/applications   \
+        --add-category="Utility"                         \
+	--delete-original                                \
+        $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
+
+%find_lang %{name}
+
+%post
+update-desktop-database > /dev/null 2>&1 || :
+
+%postun
+update-desktop-database > /dev/null 2>&1 || :
+
+%clean
+rm -fR $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-, root, root)
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%{_bindir}/*
+%{_datadir}/applications/*
+%{_datadir}/pixmaps/*
+%{_datadir}/%{name}
+%{_datadir}/sounds/%{name}
+%{_datadir}/gnome/help/*/*/*
+%{_mandir}/man?/*
+
+%changelog
+* Sat Jul 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1
+- initial build for VineSeed