SPECS: gnome-applet-timer.spec

blues blues at pld-linux.org
Sun Jul 17 21:51:16 CEST 2005


Author: blues                        Date: Sun Jul 17 19:51:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:


---- Files affected:
SPECS:
   gnome-applet-timer.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/gnome-applet-timer.spec
diff -u SPECS/gnome-applet-timer.spec:1.3 SPECS/gnome-applet-timer.spec:1.4
--- SPECS/gnome-applet-timer.spec:1.3	Thu May 12 19:10:13 2005
+++ SPECS/gnome-applet-timer.spec	Sun Jul 17 21:51:10 2005
@@ -1,20 +1,25 @@
 # $Revision$, $Date$
+%define		_realname	timer-applet
 Summary:	Timer Applet - a countdown timer applet for the GNOME panel
 Summary(pl):	Timer Applet - aplet zegarka odliczajacego zadany czas dla panelu GNOME
 Name:		gnome-applet-timer
 Version:	1.0
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		X11/Applications
-Source0:	http://dl.sourceforge.net/timerapplet/timer-applet-%{version}.tar.gz
+Source0:	http://dl.sourceforge.net/timerapplet/%{_realname}-%{version}.tar.gz
 # Source0-md5:	63b40b8ae59e12d2f7068ebf64fffd86
 URL:		http://timerapplet.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	gnome-panel-devel >= 2.6
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.197
 Requires:	gnome-panel >= 2.6
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_sysconfdir	/etc/gconf
+
 %description
 Highlights:
  - Add multiple Timer Applets to the panel to have different timers
@@ -40,10 +45,14 @@
 - interfejs użytkownika zgodny z GNOME HIG
 
 %prep
-%setup -q -n timer-applet-%{version}
+%setup -q -n %{_realname}-%{version}
 
 %build
-%configure
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+	--with-gconf-schema-file-dir=%{_sysconfdir}/schemas
 %{__make}
 
 %install
@@ -52,25 +61,25 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang timer-applet --with-gnome
+%find_lang %{_realname} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install timer-applet.schemas
+%gconf_schema_install %{_realname}.schemas
 
 %preun
-%gconf_schema_uninstall timer-applet.schemas
+%gconf_schema_uninstall %{_realname}.schemas
 
-%files -f timer-applet.lang
+%files -f %{_realname}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/gconf/schemas/timer-applet.schemas
+%{_sysconfdir}/gconf/schemas/%{_realname}.schemas
 %{_libdir}/bonobo/servers/GNOME_TimerApplet.server
 %{_datadir}/gnome-2.0/ui/GNOME_TimerApplet.xml
-%{_pixmapsdir}/timer-applet
+%{_pixmapsdir}/%{_realname}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -78,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/07/17 19:51:10  blues
+*** empty log message ***
+
 Revision 1.3  2005/05/12 17:10:13  qboosh
 - some ghost has renamed timer-applet.spec to gnome-timer-applet.spec - follow it
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnome-applet-timer.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list