]> git.pld-linux.org Git - packages/cdcollect.git/commitdiff
- cleanup
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 6 Jul 2007 18:33:29 +0000 (18:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cdcollect.spec -> 1.2

cdcollect.spec

index 0fe60f434998cc49626c98fe3d32b68d7080bf50..e31c95f1c1c404502884cb0f1de8d9b90b54a2ce 100644 (file)
-#
-# 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}/*
This page took 0.096077 seconds and 4 git commands to generate.