Author: qboosh Date: Fri Jul 6 18:33:34 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - cleanup
---- Files affected: SPECS: cdcollect.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: SPECS/cdcollect.spec diff -u SPECS/cdcollect.spec:1.1 SPECS/cdcollect.spec:1.2 --- SPECS/cdcollect.spec:1.1 Sun Jul 1 11:36:40 2007 +++ SPECS/cdcollect.spec Fri Jul 6 20:33:29 2007 @@ -1,120 +1,66 @@ # $Revision$, $Date$ -# -# Conditional build: -%bcond_with tests # build with tests -%bcond_without tests # build without tests -# -Summary: CDCollect is a simple CD catalog for GNOME -Summary(pl.UTF-8): CDCollect jest prostym programem do katalogowania płyt CD napisanym dla GNOME +Summary: CDCollect - a simple CD catalog for GNOME +Summary(pl.UTF-8): CDCollect - prosty programem do katalogowania płyt CD napisany dla GNOME Name: cdcollect Version: 0.6.0 Release: 0.1 License: GPL -Group: Applications -Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +Group: X11/Applications +Source0: http://dl.sourceforge.net/cdcollect/%{name}-%{version}.tar.bz2 # Source0-md5: 33f71604b9dfb84497b4bc2fce69e89b URL: http://cdcollect.sourceforge.net/ - -#BuildRequires: - -#BuildRequires: autoconf -#BuildRequires: automake -#BuildRequires: intltool -#BuildRequires: libtool -#Requires(postun): - -#Requires(pre,post): - -#Requires(preun): - -#Requires: - -#Provides: - -#Provides: group(foo) -#Provides: user(foo) -#Obsoletes: - -#Conflicts: - -#BuildArch: noarch -#ExclusiveArch: %{ix86} +BuildRequires: rpmbuild(macros) >= 1.198 +Requires(post,preun): GConf2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -CDCollect is a CD/DVD catalog application for gnome 2.16. Its functionality is -similar to the old gtktalog application for gnome 1.4. +CDCollect is a CD/DVD catalog application for GNOME 2. Its +functionality is similar to the old gtktalog application for GNOME +1.4. -It's goal is to be able to catalog your entire CD collection allowing for -searches of your CD/DVD files with a clean and simple interface. +Its goal is to be able to catalog your entire CD collection allowing +for searches of your CD/DVD files with a clean and simple interface. %description -l pl.UTF-8 -CDCollect jest programem do katalogowania płyt CD/DVD dla GNOME. Jego -funkcjonalność jest podobna do starego gtkatalog - -Możesz w prosty sposób katalogować zawartość swoich płyt CD oraz przeszukiwać -bazę za pomocą łatwego w użyciu interfejsu użytkownika +CDCollect jest programem do katalogowania płyt CD/DVD dla GNOME 2. +Jego funkcjonalność jest podobna do starego programu gtkatalog dla +GNOME 1.4. +Program pozwala w prosty sposób katalogować zawartość płyt CD oraz +przeszukiwać bazę za pomocą łatwego w użyciu interfejsu użytkownika. %prep %setup -q -#%setup -q -c -T -#%setup -q -n %{name} -#%setup -q -n %{name}-%{version}.orig -a 1 -#%patch0 -p1 - -# undos the source -#find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,' - -# remove CVS control files -#find -name CVS -print0 | xargs -0 rm -rf - -# you'll need this if you cp -a complete dir in source -# cleanup backups after patching -find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f %build -# if ac/am/* rebuilding is necessary, do it in this order and add -# appropriate BuildRequires -#%%{__intltoolize} -#%%{__gettextize} -#%%{__libtoolize} -#%%{__aclocal} -#%%{__autoconf} -#%%{__autoheader} -#%%{__automake} -#cp -f /usr/share/automake/config.sub . %configure %{__make} -#%{__make} \ -# CFLAGS="%{rpmcflags}" \ -# LDFLAGS="%{rpmldflags}" - %install rm -rf $RPM_BUILD_ROOT -# create directories if necessary -#install -d $RPM_BUILD_ROOT -#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -%clean -#rm -rf $RPM_BUILD_ROOT +%find_lang %{name} -%pre +%clean +rm -rf $RPM_BUILD_ROOT %post %gconf_schema_install %{name}.schemas %preun -%gconf_schema_install %{name}.schemas - -%postun - +%gconf_schema_uninstall %{name}.schemas -%files +%files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README TODO +%attr(755,root,root) %{_bindir}/%{name} %dir %{_libdir}/%{name} %attr(755,root,root) %{_libdir}/%{name}/* -%attr(755,root,root) %{_bindir}/%{name} -%{_desktopdir}/* -%{_datadir}/locale/*/LC_MESSAGES/* %{_sysconfdir}/gconf/schemas/%{name}.schemas +%{_desktopdir}/* %{_pixmapsdir}/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -123,15 +69,8 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2007/07/06 18:33:29 qboosh +- cleanup + Revision 1.1 2007/07/01 09:36:40 radzio - TODO: BR - -Revision 1.66 2007/02/12 22:09:17 glen -- tabs in preamble - -Revision 1.65 2007/02/12 01:06:34 baggins -- converted to UTF-8 - -Revision 1.64 2007/02/07 14:47:31 glen -- Epoch adding should be simple enough, not to have it here - ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/cdcollect.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
