rpms/gcfilms/devel gcfilms.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Sat May 21 00:50:18 UTC 2005


Author: ivazquez

Update of /cvs/extras/rpms/gcfilms/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17014/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gcfilms.spec 
Log Message:
auto-import gcfilms-5.0-5 on branch devel from gcfilms-5.0-5.src.rpm


--- NEW FILE gcfilms.spec ---
Name:           gcfilms
Version:        5.0
Release:        5
Summary:        Movies collection management

Group:          Applications/Databases
License:        GPL
URL:            https://gna.org/projects/gcfilms/
Source0:        http://download.gna.org/gcfilms/gcfilms-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:    desktop-file-utils
Requires:         perl-Gtk2
Requires(post):   desktop-file-utils, shared-mime-info
Requires(postun): desktop-file-utils, shared-mime-info

%define desktop_vendor gna

%description
GCfilms is an application that can be used to manage a movie collection. 
A user can stock all the movies he has with some associated informations. 
Then one can retrieve some movies matching filtering criteria (specific 
values for movies information).

This application has a plugin system to be able to find movies specific
information from Internet websites. It can also import collection from
other softwares and export list to various formats.

%prep
%setup -n gcfilms


%build

%install
rm -rf %{buildroot}
%{__mkdir_p} %{buildroot}%{_prefix}
%{__install} -d %{buildroot}%{_bindir}
%{__install} bin/gcfilms %{buildroot}%{_bindir}
%{__install} -d %{buildroot}%{_libdir}
%{__cp} -a lib/gcfilms %{buildroot}%{_libdir}
%{__install} -d %{buildroot}%{_datadir}
%{__cp} -a share/gcfilms %{buildroot}%{_datadir}

# Install menu entry
%{__cat} > %{name}.desktop << EOF
[Desktop Entry]
Name=GCfilms
Comment=Manage your movies collection
GenericName=Movies collection management
Exec=gcfilms
Icon=%{_datadir}/gcfilms/icons/gcfilms_logo32.png
Terminal=false
Type=Application
MimeType=application/x-gcfilms
Categories=Application;Office;
Encoding=UTF-8
EOF

%{__mkdir_p} %{buildroot}%{_datadir}/applications
desktop-file-install \
    --vendor %{desktop_vendor} \
    --dir %{buildroot}%{_datadir}/applications  \
    %{name}.desktop

#Mime Type
%{__cat} > %{name}.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
        <mime-type type="application/x-gcfilms">
                <comment>GCfilms movie collection</comment>
                <glob pattern="*.gcf"/>
        </mime-type>
</mime-info>
EOF

%{__mkdir_p} %{buildroot}%{_datadir}/mime/packages
cp %{name}.xml %{buildroot}%{_datadir}/mime/packages


%clean
rm -rf %{buildroot}

%post
update-desktop-database &> /dev/null ||:
update-mime-database %{_datadir}/mime &> /dev/null || :

%postun
update-desktop-database &> /dev/null ||:
update-mime-database %{_datadir}/mime &> /dev/null || :

%files
%defattr(-,root,root)
%doc CHANGELOG README
%{_libdir}/gcfilms
%{_datadir}/gcfilms
%attr(0755,root,root) %{_bindir}/gcfilms
%{_datadir}/applications/%{desktop_vendor}-%{name}.desktop
%{_datadir}/mime/packages/%{name}.xml

%changelog
* Mon May 21 2005 Tian <tian at c-sait.net> - 5.0-5
  - Removed useless lines about doc into install section.
* Mon May 20 2005 Tian <tian at c-sait.net> - 5.0-4
  - Changed prep section to specify gcfilms directory
  - Reduced other lines thanks to previous modification
* Mon May 16 2005 Tian <tian at c-sait.net> - 5.0-3
  - Replaced multiple __install with a few __cp -a
* Mon May 09 2005 Tian <tian at c-sait.net> - 5.0-2
  - Use install binary for install section
  - Removed _without_freedesktop use.
  - Full URL for Source0.
  - Small changes in files.
  - Requires(post) and Requires(postun) added.
* Mon Apr 25 2005 Tian <tian at c-sait.net> - 5.0-1
  - First Fedora version.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gcfilms/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 May 2005 00:49:39 -0000	1.1
+++ .cvsignore	21 May 2005 00:50:16 -0000	1.2
@@ -0,0 +1 @@
+gcfilms-5.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gcfilms/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 May 2005 00:49:39 -0000	1.1
+++ sources	21 May 2005 00:50:16 -0000	1.2
@@ -0,0 +1 @@
+9335af4571836561ffe56c868fa0fefd  gcfilms-5.0.tar.gz




More information about the fedora-extras-commits mailing list