rpms/catfish/FC-6 .cvsignore, 1.2, 1.3 catfish.spec, 1.2, 1.3 sources, 1.2, 1.3
Mamoru Tasaka (mtasaka)
fedora-extras-commits at redhat.com
Mon Jan 22 18:31:40 UTC 2007
- Previous message: rpms/catfish/devel .cvsignore, 1.2, 1.3 catfish.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message: rpms/catfish/FC-5 .cvsignore, 1.2, 1.3 catfish.spec, 1.2, 1.3 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/catfish/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5723
Modified Files:
.cvsignore catfish.spec sources
Log Message:
* Mon Jan 22 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 0.2c-1
- 0.2c
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/catfish/FC-6/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 14 Jan 2007 14:59:51 -0000 1.2
+++ .cvsignore 22 Jan 2007 18:31:10 -0000 1.3
@@ -1 +1 @@
-catfish0.2b.tar.gz
+catfish-0.2c.tar.gz
Index: catfish.spec
===================================================================
RCS file: /cvs/extras/rpms/catfish/FC-6/catfish.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- catfish.spec 14 Jan 2007 15:09:23 -0000 1.2
+++ catfish.spec 22 Jan 2007 18:31:10 -0000 1.3
@@ -1,16 +1,17 @@
Name: catfish
-Version: 0.2b
+Version: 0.2c
Release: 1%{?dist}
Summary: A handy file search tool
Group: Applications/File
License: GPL
-URL: http://software.twotoasts.de/?page=catfish
-Source0: http://software.twotoasts.de/media/%{name}/%{name}%{version}.tar.gz
+URL: http://software.twotoasts.de/?page=search4files
+Source0: http://software.twotoasts.de/media/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: desktop-file-utils
+BuildRequires: gettext
# python related
Requires: pygtk2-libglade
Requires: pyxdg
@@ -33,15 +34,22 @@
configuration options from the command line.
%prep
-%setup -q -n %{name}%{version}
+%setup -q
%build
-# some configulation change
+# Some configulation change
+# Important note: Upstream removed DESTDIR option, however
+# this Makefile.in won't work without DESTDIR!!
%{__sed} -i.misc \
-e 's|666|644|' \
+ -e '/svg/s|install|install -m 644|' \
-e 's|install |%{__install} -c -p |' \
-e 's|\([^ \t][^ \t]*\).glade|-m 644 \1.glade|' \
-e 's|pyc|py|' \
+ -e 's|^\([ \t]*\)ln |\1: ln |' \
+ -e '/install/s|\$(PREFIX)|$(DESTDIR)$(PREFIX)|' \
+ -e '/cp/s|\$(PREFIX)|$(DESTDIR)$(PREFIX)|' \
+ -e 's|cp -rf|cp -prc|' \
Makefile.in
%{__sed} -i.byte \
@@ -56,13 +64,18 @@
# and does not accept --libdir= option
./configure --prefix=%{_prefix}
+# Create gettext .mo files manually for now as
+# Makefile.in does not work
+for pofile in i18n/*.po ; do
+ lang=`basename $pofile | sed -e 's|\.po$||'`
+ dir=locale/${lang}/LC_MESSAGES
+ %{__mkdir_p} $dir
+ msgfmt -v --statistics $pofile -o $dir/%{name}.mo
+done
+
%install
%{__rm} -rf $RPM_BUILD_ROOT
-# "make install" calls "make all", so
-# executing "make" in %%build stage makes no sense
-# at all.
-# %%{__smp_mflags} does nothing for this makefile
%{__make} install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install \
@@ -72,18 +85,29 @@
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
+# and.. manually link..
+%{__ln_s} -f ../pixmaps/%{name}.svg \
+ $RPM_BUILD_ROOT%{_datadir}/%{name}/
+
+%{__mv} -f $RPM_BUILD_ROOT%{_prefix}/locale $RPM_BUILD_ROOT%{_datadir}
+%{find_lang} %{name}
+
%clean
%{__rm} -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(-,root,root,-)
%doc ChangeLog COPYING README
%{_bindir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/%{name}/
+%{_datadir}/pixmaps/%{name}.svg
%changelog
+* Mon Jan 22 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 0.2c-1
+- 0.2c
+
* Sun Jan 14 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 0.2b-1
- Upstream rename: search4files -> catfish
- Remove the dependencies for beagle, nautilus,
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/catfish/FC-6/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 14 Jan 2007 14:59:51 -0000 1.2
+++ sources 22 Jan 2007 18:31:10 -0000 1.3
@@ -1 +1 @@
-be15b58868d227b16e81c5046e6bfdcb catfish0.2b.tar.gz
+27a1893570f5501f938c26105a2d3266 catfish-0.2c.tar.gz
- Previous message: rpms/catfish/devel .cvsignore, 1.2, 1.3 catfish.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message: rpms/catfish/FC-5 .cvsignore, 1.2, 1.3 catfish.spec, 1.2, 1.3 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list